Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Error why handling unicode chars #12

Description

@rohdef

What steps will reproduce the problem?

  1. Create python class using utf-8
  2. From another file create object of recently created class
  3. Try to complete its methods

What is the expected output? What do you see instead?
Expected: method's list
Instead we got a nice traceback, something like attached.

What version of the product are you using? On what operating system?
PySmell 0.7.1 on Gentoo
Python 2.5

Please provide any additional information below.
Solution to this problem was replacing str() with unicode() in
codefinder.py at lines: 301, 314, 316
(I don't know why, but I had to change[remove '.value'] also lines 337 and
340 in codefinder.py, because of "object has no attribute 'value'". Is
this another issue?)

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions