[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2014-03-04 Thread Andreas Pelme
Andreas Pelme added the comment: I agree with Danilo and Shai -- this behavior very surprising. I deal with datetimes a lot, and this bug has bitten me a number of times. I cannot really think of a single case where if timeobj: is useful with the current behavior. It results in a check

[issue5033] setup.py crashes if sqlite version contains 'beta'

2013-02-23 Thread Andreas Pelme
Andreas Pelme added the comment: This bug still exists in 2.7 and 3.4. If SQLITE_VERSION in sqlite3.h (/usr/include/sqlite3.h on Mac OS) ends with beta, such as #define SQLITE_VERSION3.7.12beta make will fail. The regex changed suggested above fixes this. The attached patch

[issue17176] Document imp.NullImporter is NOT used anymore by import

2013-02-23 Thread Andreas Pelme
Andreas Pelme added the comment: This seems like an oversight from http://bugs.python.org/issue15473 The release notes for 3.3 added a note about this: Because None is now inserted into sys.path_importer_cache, if you are clearing out entries in the dictionary of paths that do not have