flagos / python-progressbar

Automatically exported from code.google.com/p/python-progressbar
Other
0 stars 0 forks source link

Explicitly import __builtin__ instead of __builtins__ #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Patch included: 
http://code.google.com/r/hongminhee-jython-compat/source/detail?r=143bbef65e9d5e
d38c1edb628ccbd5d6c66835a0

__builtins__ is an implementation detail of CPython and it would be eximplictly 
imported (as instead __builtin__). See the note of the below link:

http://docs.python.org/library/__builtin__.html

Note that this issue had been discussed in the Jython bug tracket once:

http://bugs.jython.org/issue1890

Original issue reported on code.google.com by hong.min...@gmail.com on 11 Jun 2012 at 12:09

GoogleCodeExporter commented 9 years ago
Fixed in 
http://code.google.com/p/python-progressbar/source/detail?r=1690472df5859dd8493e
f5324984e9fd7934de25

I used an alternative implementation actually. I tested it locally, it would be 
nice if you could verify. Thanks!

Original comment by nilton.v...@gmail.com on 5 Sep 2012 at 12:43