This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年07月10日 16:55 by ctheune, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| fix_import.diff | nedds, 2008年07月18日 17:25 | Diff for fix_import correction | ||
| Messages (3) | |||
|---|---|---|---|
| msg69510 - (view) | Author: Christian Theune (ctheune) * | Date: 2008年07月10日 16:55 | |
I got this output from 2to3: (This is from setuptools egg_info.py) - import bdist_egg; bdist_egg.write_safety_flag(cmd.egg_info, safe) +from . import bdist_egg; bdist_egg.write_safety_flag(cmd.egg_info, safe) |
|||
| msg69959 - (view) | Author: Nick Edds (nedds) | Date: 2008年07月18日 17:25 | |
I believe the problem was that in the case of this fix, rather than using set_prefix to give the new node the same prefix as before, new.prefix = was used. Here is the one line fix which preserves the prefix in the example given. |
|||
| msg70024 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2008年07月19日 13:33 | |
Your patch works, so I applied it and added a test in sandbox r65137. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:36 | admin | set | github: 47584 |
| 2008年07月19日 13:33:25 | georg.brandl | set | status: open -> closed nosy: + georg.brandl resolution: fixed messages: + msg70024 |
| 2008年07月18日 17:25:11 | nedds | set | files:
+ fix_import.diff nosy: + nedds messages: + msg69959 keywords: + patch |
| 2008年07月10日 16:55:12 | ctheune | create | |