[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-11-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: ezio.melotti - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12892 ___

[issue17457] Unittest discover fails with namespace packages and builtin modules

2013-11-18 Thread Claudiu.Popa
Claudiu.Popa added the comment: Eric, thank you for your comment! I modified the patch to check for __path__ instead, is this a safe enough check for this use case? Since ModuleSpec isn't landed yet, I didn't use your __spec__ example. -- Added file:

[issue19647] unittest.TestSuite consumes tests

2013-11-18 Thread R. David Murray
R. David Murray added the comment: This is presumably a consequence of issue 11798. How did you run into it in actual code? -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19647

[issue17457] Unittest discover fails with namespace packages and builtin modules

2013-11-18 Thread Eric Snow
Eric Snow added the comment: Sorry for any confusion, Claudiu. the_module.__path__ only indicates that the module is a package. So until you can take advantage of PEP 451, you're stuck with the _path check (or several other unappealing hack) on line 224 of unittest-17457-3.patch. However,

[issue19626] test_email and Lib/email/_policybase.py failures with -OO

2013-11-18 Thread R. David Murray
R. David Murray added the comment: I can't get this to fail. The code handles None docstrings correctly (_append_doc is not called if the __doc__ attribute is None). The only way I can see this error arising would be if the _policybase.pyo file had docstrings stripped, but the policy.pyo

[issue2506] Add mechanism to disable optimizations

2013-11-18 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2506 ___ ___ Python-bugs-list mailing

[issue19626] test_email and Lib/email/_policybase.py failures with -OO

2013-11-18 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19626 ___ ___

[issue19626] test_email and Lib/email/_policybase.py failures with -OO

2013-11-18 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- status: pending - open superseder: - pyo's are not overwritten by different optimization levels ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19626

[issue19572] Report more silently skipped tests as skipped

2013-11-18 Thread Zachary Ware
Zachary Ware added the comment: I'll open new issues for test_posix and pickletester and commit the rest of the patch as soon as I can get it backported. Thanks for the reviews! -- ___ Python tracker rep...@bugs.python.org

[issue19596] Silently skipped tests in test_importlib

2013-11-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1ac4f0645519 by Zachary Ware in branch '3.3': Issue #19596: Set untestable tests in test_importlib to None http://hg.python.org/cpython/rev/1ac4f0645519 New changeset 34a65109d191 by Zachary Ware in branch 'default': Issue #19596: Null merge with

[issue19596] Silently skipped tests in test_importlib

2013-11-18 Thread Zachary Ware
Zachary Ware added the comment: Committed in 3.3 and as 5d38989191bb in features/pep-451. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue19597] Add decorator for tests not yet implemented

2013-11-18 Thread Zachary Ware
Zachary Ware added the comment: There are a couple in pickletester, one in test_io, a few in test_reprlib, and the ones in the patch from test_minidom; some 10 test methods in total that I've found and remembered. I suppose with that few, it would be best to just open issues for each test

[issue19648] Empty tests in pickletester need to be implemented or removed

2013-11-18 Thread Zachary Ware
New submission from Zachary Ware: There are a couple of tests in pickletester that should either be implemented or removed, namely test_reduce and test_getinitargs of AbstractPickleTests. I don't know enough about pickling to suggest which route should be taken or how, so I'll leave that up

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-18 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: I have been looking again at Stefan's previous proposal of making memoization implicit in the new pickle protocol. While I liked the smaller pickles it produced, I didn't the invasiveness of the implementation, which requires a change for almost every

[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

2013-11-18 Thread Eric Snow
Eric Snow added the comment: Brett: looks like something frozen-related broke due to 6d1656ab2c85a527c. test_frozen in test_frozen.py is failing now because frozen modules no longer have a __cached__ attribute (which was previously set to None). Previously it was set in

[issue2927] expose html.parser.unescape

2013-11-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I added comments on Rietveld. Yet one thing. For now the html module is very simple and has no dependencies. The patch adds an import of re and html.escapes and relative heavy re.compile operations. Due to the fact that the html module is implicitly

[issue19649] Clean up OS X framework and universal bin directories

2013-11-18 Thread Ned Deily
New submission from Ned Deily: There are currently various differences in the files installed by make altinstall and make install for OS X framework (./configure --enable-framework) and/or OS X universal (--with-universal-archs) configurations. Some of the differences are cosmetic; some are

[issue19649] Clean up OS X framework and universal bin directories

2013-11-18 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- keywords: +patch Added file: http://bugs.python.org/file32698/issue19649_bin_install_targets.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19649

<    1   2