[issue23600] tizinfo.fromutc changed for tzinfo wih StdOffset=0, DstOffset=1
Changes by Alistair Lynn : -- nosy: +alynn ___ Python tracker <http://bugs.python.org/issue23600> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23578] struct.pack error messages do not indicate which argument was invalid
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 it's clearly the fourth one, but in dealing with large amounts of data it would be useful to indicate which argument was invalid. This would hopefully not be a functional change, just a slightly more helpful error message. -- components: Library (Lib) messages: 237153 nosy: alynn priority: normal severity: normal status: open title: struct.pack error messages do not indicate which argument was invalid type: enhancement versions: Python 2.7, Python 3.4 ___ Python tracker <http://bugs.python.org/issue23578> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23389] pkgutil.find_loader raises an ImportError on PEP 420 implicit namespace packages
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 severity: normal status: open title: pkgutil.find_loader raises an ImportError on PEP 420 implicit namespace packages type: crash versions: Python 3.4 ___ Python tracker <http://bugs.python.org/issue23389> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com