[issue5137] SystemError when __len__ returns a non-number

2009-02-09 Thread Hagen Fürstenau
Hagen Fürstenau added the comment: This also solves issue 3729. -- nosy: +hagen ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue5198] Strange DeprecationWarning behaviour in module struct

2009-02-09 Thread Hagen Fürstenau
New submission from Hagen Fürstenau : struct.pack seems to raise a DeprecationWarning for some structure formats, but not for others: Python 2.6.1 (r261:67515, Dec 5 2008, 07:40:41) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import struct >

[issue5197] vars() assignment fails silently when assignments made later

2009-02-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: According to http://docs.python.org/library/functions.html#vars >The returned dictionary should not be modified: the effects on the >corresponding symbol table are undefined. Same can be said for locals() as well. -- nosy: +ocean-city resolution:

[issue5199] warns vars() assignment as well as locals()

2009-02-09 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : This comes from issue5197. Maybe we can emphasize a behavior of assignment to vars() is undefined if decorated with red block of *warning* as well as locals(). This patch is for release26-maint. -- assignee: georg.brandl components: Documentation f

<    1   2