wushuyi / python-progressbar

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

__slots__ fail in python 3.3 #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install python 3.3
2. python setup.py build

What is the expected output? What do you see instead?

[root@archbuild progressbar-2.3]# python setup.py  build
Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    import progressbar
  File "/build/src/progressbar-2.3/progressbar/__init__.py", line 59, in <module>
    from progressbar.widgets import *
  File "/build/src/progressbar-2.3/progressbar/widgets.py", line 121, in <module>
    class FileTransferSpeed(Widget):
  File "/usr/lib/python3.3/abc.py", line 130, in __new__
    cls = super().__new__(mcls, name, bases, namespace)
ValueError: 'format' in __slots__ conflicts with class variable

What version of the product are you using? On what operating system?
Archlinux with python 3.3

Original issue reported on code.google.com by sebastien.luttringer on 29 Sep 2012 at 8:05

GoogleCodeExporter commented 9 years ago
Are you using HEAD or the latest release? I think this was fixed in 
http://code.google.com/p/python-progressbar/source/detail?spec=svn3c94a3a1ebe132
5c7c605cc8f11126dcc632b04d&r=3c94a3a1ebe1325c7c605cc8f11126dcc632b04d. Can you 
please verify?

Original comment by nilton.v...@gmail.com on 1 Oct 2012 at 3:23