[issue4048] parsermodule won't validate relative imports

2008-10-05 Thread David Hess
David Hess <[EMAIL PROTECTED]> added the comment: Confirmed the presence of this same problem in the source code of parsermodule.c in branches release25-maint and release26-maint. -- nosy: +david_k_hess versions: +Python 2.5, Python 2.6 ___

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2017-05-08 Thread David Hess
David Hess added the comment: Concur with @sivert – the result of guess_extension() is non-deterministic between mimetypes module initialization. $ python Python 3.4.3 (default, Nov 17 2016, 01:08:31) [GCC 4.8.4] on linux Type "help", "copyright", "credits" or

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2017-05-08 Thread David Hess
David Hess added the comment: And the underlying problem causing this: $ python -c 'import mimetypes;print(mimetypes.guess_all_extensions("image/jpeg"))' ['.jpeg', '.jpg', '.jpe'] $ python -c 'import mimetypes;print(mimetypes.guess