Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

EncodingError is raised when checking code strings containing symbol literals with invalid UTF-8 chars for completeness #36

Open

Description

@egwspiti
> MethodSource.complete_expression?('x = :"\xC3"')
 => EncodingError: invalid encoding symbol

Although this code string has invalid utf-8 chars, it is complete, and thus true should be returned.

Activity

  1. kyrylo commented on Feb 6, 2016

    @kyrylo
    Collaborator

    I don't think it's possible to fix this easily given the mechanism this (and even my (fast_method_source)) library works.

  2. egwspiti commented on Feb 8, 2016

    @egwspiti
    Author

    Then I guess pry/pry#1516 should be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions