[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #7835 [Stem]: TypeError in __init__.py due to attempt to concatenate list with tuple (typo?)
#7835: TypeError in __init__.py due to attempt to concatenate list with tuple
(typo?)
--------------------+-------------------------------------------------------
Reporter: peer | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: | Parent:
Points: | Actualpoints:
--------------------+-------------------------------------------------------
Changes (by peer):
* status: needs_information => new
Comment:
The issue occurs on Ubuntu 12.10 with Python 2.7.3 and 3.2.3.
To reproduce, the statement "from stem.descriptor.reader import
DescriptorReader" is enough.
The library generated from calling python(3) setup.py install --home=~ on
Ubuntu 12.10 results code that is slightly different from the source.
The generated version has
{{{
StreamClosureReason =
stem.util.enum.UppercaseEnum(*(list(RelayEndReason.keys()) + ("END",
"PRIVATE_ADDR",)))
}}}
while the source has
{{{
StreamClosureReason = stem.util.enum.UppercaseEnum(*(RelayEndReason.keys()
+ ("END", "PRIVATE_ADDR",)))
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7835#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs