[issue23389] pkgutil.find_loader raises an ImportError on PEP 420 implicit namespace packages

2015-02-03 Thread Alistair Lynn
New submission from Alistair Lynn: The documentation states that __spec__ is None in–and only in–__main__. That this happens also for PEP 420 implicit namespace packages appears to be the cause of the error. -- components: Interpreter Core messages: 235357 nosy: alynn priority: normal

[issue23578] struct.pack error messages do not indicate which argument was invalid

2015-03-03 Thread Alistair Lynn
New submission from Alistair Lynn: In this example: struct.pack('!', 0x5FFF, 0x6FFF, 0x7FFF, 0x8FFF) Python errors that the 'h' format requires -32768 <= number <= 32767, but it does not indicate which of the arguments is at fault. In this contrived example i

[issue23600] tizinfo.fromutc changed for tzinfo wih StdOffset=0, DstOffset=1

2015-03-07 Thread Alistair Lynn
Changes by Alistair Lynn : -- nosy: +alynn ___ Python tracker <http://bugs.python.org/issue23600> ___ ___ Python-bugs-list mailing list Unsubscribe: