[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: ... for protocols < 2. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Default __reduce_ex__ and __reduce__ implementations call copy_reg._reduce_ex. cPickle.dumps({}) works because __reduce_ex__ is not called, dict is supported by pickle directly. -- ___ Python tracker

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I set a breakpoint where the error occurs. I'm in test_cpickle.py dumps(). Doing cPickle.dumps(arg) in the bp, I get the error. arg is: (Pdb) arg {<__main__.H object at 0x7ff8e2a870d0>: None} (Pdb) type(arg) Look again at the AttributeError: (Pdb) cPick

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please add debugging output to check that the copy_reg module is empty if tests failed? -- ___ Python tracker ___ _

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: But if I just run test_cpickle.py, it succeeds! -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: First failure in test run afaict: == ERROR: test_recursive_dict_subclass_and_inst (test.test_cpickle.cStringIOCPicklerFastTests) ---

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: This seems entirely reproducible in a local Xenial sbuild using the source packages in https://launchpad.net/~doko/+archive/ubuntu/toolchain/+packages Interestingly, inspection of the built artifacts in the schroot after all is done yields: # find . -name co

[issue25698] test regressions introduced with the fix for #22995

2015-11-25 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue25698] test regressions introduced with the fix for #22995

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This can be related to issue25083. Can you look at the size of copy_reg.pyc and copy_reg.pyo files? -- ___ Python tracker ___ ___

[issue25698] test regressions introduced with the fix for #22995

2015-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In your report test_cpickle has number 93. What other 92 tests were ran before? Could you run tests few times and find minimal list of tests that precede failing test_cpickle? This failure is not related to issue22995 because the same failure was reported i

[issue25698] test regressions introduced with the fix for #22995

2015-11-22 Thread Matthias Klose
Matthias Klose added the comment: looks like re-running the tests in verbose mode using -w is affected by this issue. the first cpickle subtest failing is: == ERROR: test_recursive_dict_subclass_and_inst (test.test_cpickle.cS

[issue25698] test regressions introduced with the fix for #22995

2015-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, it is a duplicate of issue25601. And I can't reproduce it locally. Matthias, can you reproduce test failure every time when run tests? If yes, could you please run tests in verbose mode and found what tests in test_cpickle were failed first? --

[issue25698] test regressions introduced with the fix for #22995

2015-11-22 Thread Martin Panter
Martin Panter added the comment: Duplicate or related to Issue 25601? -- nosy: +martin.panter ___ Python tracker ___ ___ Python-bugs-l

[issue25698] test regressions introduced with the fix for #22995

2015-11-22 Thread Matthias Klose
New submission from Matthias Klose: seen with the 2.7.11 release candidate; I'm not yet 100% if this is the fix for #22995 causing these test regressions. [ 93/395] test_cpickle test test_cpickle failed -- multiple errors occurred; run in verbose mode for details [101/395/2] test_decimal test