[issue15467] Updating __sizeof__ tests

2012-07-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patches updated. Simplified struct __sizeof__ testing for 2.7 and 3.2 and fixed (using 'n' for Py_ssize_t) for 3.3. -- nosy: +meador.inge Added file: http://bugs.python.org/file26561/sizeof_tests-3.3_2.patch ___

[issue15467] Updating __sizeof__ tests

2012-07-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file26562/sizeof_tests-3.2_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15467 ___

[issue15467] Updating __sizeof__ tests

2012-07-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file26563/sizeof_tests-2.7_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15467 ___

[issue15467] Updating __sizeof__ tests

2012-07-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file26541/sizeof_tests-3.3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15467 ___

[issue15467] Updating __sizeof__ tests

2012-07-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file26542/sizeof_tests-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15467 ___

[issue15467] Updating __sizeof__ tests

2012-07-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file26543/sizeof_tests-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15467 ___

[issue15467] Updating __sizeof__ tests

2012-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset efade142ef01 by Martin v. Löwis in branch '3.2': Issue #15467: Move helpers for __sizeof__ tests into test_support. http://hg.python.org/cpython/rev/efade142ef01 New changeset d43ff8eb4cb3 by Martin v. Löwis in branch 'default': Issue #15467: Merge

[issue15467] Updating __sizeof__ tests

2012-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset fa95b04e67fd by Martin v. Löwis in branch '2.7': Issue #15467: Move helpers for __sizeof__ tests into test_support. http://hg.python.org/cpython/rev/fa95b04e67fd -- ___ Python tracker

[issue15467] Updating __sizeof__ tests

2012-07-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: I wasn't aware that test_support isn't public API. The patches are fine then; committed. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15467

[issue15467] Updating __sizeof__ tests

2012-07-29 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- stage: - committed/rejected type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15467 ___

[issue15467] Updating __sizeof__ tests

2012-07-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: I asked in Python-Dev, and if I understood the answers correctly, we can make changes to 2.7 and 3.2 without fear. For 3.3 risk is higher, so we need to be more attentive. However patch for 3.3 contains not only the potential

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka storch...@gmail.com: The proposed patches move to test.support some functions, which will be useful for testing __sizeof__. The next few patches will use it. Also in 3.3 some bugs have fixed, now n is used for Py_ssize_t and Py_hash_t (which is not long

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file26542/sizeof_tests-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15467 ___

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file26543/sizeof_tests-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15467 ___

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The problem is that this adds new features to test_support, which can only be done in 3.4. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15467

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Can we get around this by renaming check_sizeof into _check_sizeof? Or would we have to duplicate these auxiliary functions in every test file with __sizeof__ test? -- ___ Python tracker

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Not sure: that's for release managers to decide. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15467 ___