[issue7897] Support parametrized tests in unittest
Changes by holger krekel holger.kre...@gmail.com: -- nosy: +hpk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7897 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
New submission from Yaşar Arabacı yasar11...@gmail.com: Even though same code works fine under Python 2.7(r27:82500, Aug 07 2010, 16:54:59) and Python 2.6.6 (r266:84292, Jun 12 2011, 20:37:17), I get following error using multiprocessing.reduction module no matter what I try. Complete code example that gives this error is also attached. Traceback (most recent call last): File /usr/lib/python2.7/multiprocessing/reduction.py, line 127, in _serve send_handle(conn, handle_wanted, destination_pid) File /usr/lib/python2.7/multiprocessing/reduction.py, line 80, in send_handle _multiprocessing.sendfd(conn.fileno(), handle) OSError: [Errno 9] Bad file descriptor -- components: IO files: multiprocesssockserv.py messages: 149739 nosy: Yaşar.Arabacı priority: normal severity: normal status: open title: multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2 type: behavior versions: Python 2.7 Added file: http://bugs.python.org/file24017/multiprocesssockserv.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Yaşar Arabacı yasar11...@gmail.com added the comment: I forgot to mention that I use Python 2.7.2 (default, Nov 21 2011, 17:24:32) [GCC 4.6.2] on linux2 Linux yasar-laptop 3.1.4-1-ARCH #1 SMP PREEMPT Tue Nov 29 09:08:04 UTC 2011 i686 Intel(R) Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8684] improvements to sched.py
Charles-François Natali neolo...@free.fr added the comment: This broken the Fedora without thread buildbot, since sched now requires the threading module: http://www.python.org/dev/buildbot/all/builders/AMD64 Fedora without threads 3.x/builds/1250/steps/test/logs/stdio -- nosy: +neologix status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8684 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13555] cPickle MemoryError when loading large file (while pickle works)
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13555 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13575] old style classes still alive
Florent Xicluna florent.xicl...@gmail.com added the comment: Is mro_internal's second call to type_mro_modified still needed? I was about to remove it, however I'm not enough confident on this. I have to understand how tp_mro and tp_bases interact in Python 3 (and the C extensions). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13575 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13522] Document error return values for PyFloat_* and PyComplex_*
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset edc981ce8748 by Victor Stinner in branch '3.2': Issue #13522: Fix _Py_co_pow() documentation http://hg.python.org/cpython/rev/edc981ce8748 New changeset 2863470caebb by Victor Stinner in branch '2.7': Issue #13522: Fix _Py_co_pow() documentation http://hg.python.org/cpython/rev/2863470caebb -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13522 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Charles-François Natali neolo...@free.fr added the comment: Two patches have recently modified this part of the code: http://hg.python.org/cpython/rev/d4d9a3e71897 http://hg.python.org/cpython/rev/cd15473a9de2 I'm unable to reproduce the problem on Linux 3.1.0 x86 with branch 2.7 (for those who would like to try, you just need to connect to port 9090/tcp, e.g. with netcat). Also, none of the buildbots complains, so this is rather surprising. Yaşar, could you test to find out which patch introduced the problem ? Also, could you provide the result of: $ strace -f -e network,dup,dup2,close ./python ~/multiprocesssockserv.py when you run your test? Do you get the error upon the first connection? -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11867] Make test_mailbox deterministic
Charles-François Natali neolo...@free.fr added the comment: There was a recent buildbot failure on test_lock_conflict() because of a race. Looking at your patch, I must be missing something, but why not simply use a multiprocessing condition to signal when the parent process has acquired the lock? Otherwise you could simply use a pipe or a socketpair, it would be much simpler. Also, there's a race: if the parent process calls connect() before the child calls listen(), he'll get ECONNREFUSED. -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11867 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Yaşar Arabacı yasar11...@gmail.com added the comment: I would love to test which patch introduced the problem, but I am not sure how should I do that. (Get the python source, change it and recompile?). I am also adding output of strace here. -- Added file: http://bugs.python.org/file24018/output2.7.2.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Changes by Yaşar Arabacı yasar11...@gmail.com: Added file: http://bugs.python.org/file24019/output-2.6.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Changes by Yaşar Arabacı yasar11...@gmail.com: Added file: http://bugs.python.org/file24020/output-3.2.2.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13624] UTF-8 encoder performance regression in python3.3
STINNER Victor victor.stin...@haypocalc.com added the comment: Updated patch to fix also the size of the small buffer on the stack, as suggested by Antoine. -- Added file: http://bugs.python.org/file24021/utf8_encoder-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13624 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13624] UTF-8 encoder performance regression in python3.3
STINNER Victor victor.stin...@haypocalc.com added the comment: utf8_encoder_prescan.patch: precompute the size of the output to avoid a PyBytes_Resize() at exit. It is much slower: ASCII: 10 loops, best of 3: 2.06 usec per loop UCS-1: 1 loops, best of 3: 123 usec per loop UCS-2: 1 loops, best of 3: 171 usec per loop UCS-4: 1000 loops, best of 3: 254 usec per loop -- Added file: http://bugs.python.org/file24022/utf8_encoder_prescan.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13624 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13624] UTF-8 encoder performance regression in python3.3
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file24005/utf8_encoder.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13624 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13626] Python SSL stack doesn't support DH ciphers
New submission from naif n...@globaleaks.org: Python SSL doesn't support DH ciphers in in all version tested. This is a serious security issue because it's not possible to use as a server or client Perfect Forward Secrecy [1] security provided by DHE and ECDH ciphers . In order to enable DH ciphers the SSL implementation the in the file Modules/_ssl.c, it must issue a DH_generate_parameters() if a cipher is DH. For example PHP handling of DH ciphers, look php-5.3.8/ext/openssl/openssl.c : #if !defined(NO_DH) case OPENSSL_KEYTYPE_DH: { DH *dhpar = DH_generate_parameters(req-priv_key_bits, 2, NULL, NULL); int codes = 0; if (dhpar) { DH_set_method(dhpar, DH_get_default_method()); if (DH_check(dhpar, codes) codes == 0 DH_generate_key(dhpar)) { if (EVP_PKEY_assign_DH(req-priv_key, dhpar)) { return_val = req-priv_key; } } else { DH_free(dhpar); } } } break; #endif default: An important security fix, to support and enable by default DH ciphers has to be done. [1] http://en.wikipedia.org/wiki/Perfect_forward_secrecy -- components: Library (Lib) messages: 149749 nosy: naif priority: normal severity: normal status: open title: Python SSL stack doesn't support DH ciphers versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13626 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8906] Document TestCase attributes in class docstring
Boris FELD lothiral...@gmail.com added the comment: Add a patch for this issue, move attributes comments in TestCase docstring. I think it should be a good idea too to add their in unittest doc. -- keywords: +patch nosy: +Boris.FELD Added file: http://bugs.python.org/file24024/unittest_docstring.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8906 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13624] UTF-8 encoder performance regression in python3.3
STINNER Victor victor.stin...@haypocalc.com added the comment: Patch version 3 to fix compiler warnings (avoid variables used for the error handler, unneeded for UCS-1). -- Added file: http://bugs.python.org/file24023/utf8_encoder-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13624 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13624] UTF-8 encoder performance regression in python3.3
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset fbd797fc3809 by Victor Stinner in branch 'default': Issue #13624: Write a specialized UTF-8 encoder to allow more optimization http://hg.python.org/cpython/rev/fbd797fc3809 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13624 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13624] UTF-8 encoder performance regression in python3.3
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13624 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Yaşar Arabacı yasar11...@gmail.com added the comment: Ok, I figured how to test for those patches. I just tested my code against those versions, and suprisingly I didn't get any errors. I am adding output of three different versions now. Each filename corresponds to regarded version. -- Added file: http://bugs.python.org/file24025/cd15473a9de2-output.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Changes by Yaşar Arabacı yasar11...@gmail.com: Added file: http://bugs.python.org/file24026/d4d9a3e71897-output.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Changes by Yaşar Arabacı yasar11...@gmail.com: Added file: http://bugs.python.org/file24027/9f4d72da69a8-output.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13627] Python SSL stack doesn't support Elliptic Curve ciphers
New submission from naif n...@globaleaks.org: Python SSL doesn't support Elliptic Curve ciphers in in all version tested. This is a serious performance issue because it's not possible to use as a server or as client the performance improvement provided by ECC based ciphers. Nowdays ECC are supported by all latests browsers. ECC provide a strong performance improvements (even x3) also when used with Perfect Forward Secrecy enabled ciphers like described on: http://vincent.bernat.im/en/blog/2011-ssl-perfect-forward-secrecy.html In order to enable ECC ciphers (and eventually ECC keys) the SSL implementation the in the file Modules/_ssl.c must be modified. For example apache had several modifications to support ECC on their SSL (openssl based) stack: https://issues.apache.org/bugzilla/show_bug.cgi?id=40132 https://build.opensuse.org/package/view_file?file=httpd-ssl-ecc-ecdh.patchpackage=apache2project=home%3Aelvigia%3Atls1.2rev=2 So Python SSL module should introduce similar modifications to fully support Elliptic Curve ciphers for SSL in order to: - Provide performance improvements - Provide cryptography security improvements - Allow writing of applications compliant with NSA Suite-B standard -- components: Library (Lib) messages: 149755 nosy: naif priority: normal severity: normal status: open title: Python SSL stack doesn't support Elliptic Curve ciphers versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13627 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Charles-François Natali neolo...@free.fr added the comment: Looking at the strace output: Successful test: sendmsg(11, {msg_name(0)=NULL, msg_iov(1)=[{\267, 1}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {7}}, msg_flags=0}, 0) = 1 The FD sent is 7 ({7} field), which makes sense. Unsuccessful test: sendmsg(11, {msg_name(0)=NULL, msg_iov(1)=[{\0, 1}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {263}}, msg_flags=0}, 0) = -1 EBADF (Bad file descriptor) See the FD sent is 263? 263 == 0x107, which means that the lower bit of the second byte corresponding the FD hasn't been set: this is exactly the bug fixed by http://hg.python.org/cpython/rev/d4d9a3e71897 (see http://bugs.python.org/msg142627). So this should definitely be fixed in current 2.7. If you confirm it is fixed, then we can close this bug report. Now, you might wonder why this worked with 2.6.6 and 2.7. I think it's mere luck: if we're lucky and CMSG_DATA(cmsg) refers to a memory location which happens to be zero-filled, it'll work. If not, it'll break. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13555] cPickle MemoryError when loading large file (while pickle works)
Antoine Pitrou pit...@free.fr added the comment: New version. Looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13555 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13627] Python SSL stack doesn't support Elliptic Curve ciphers
naif n...@globaleaks.org added the comment: Other example for DH and ECC from: https://github.com/bumptech/stud/blob/master/stud.c #ifndef OPENSSL_NO_DH static int init_dh(SSL_CTX *ctx, const char *cert) { DH *dh; BIO *bio; assert(cert); bio = BIO_new_file(cert, r); if (!bio) { ERR_print_errors_fp(stderr); return -1; } dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); BIO_free(bio); if (!dh) { ERR({core} Note: no DH parameters found in %s\n, cert); return -1; } LOG({core} Using DH parameters from %s\n, cert); SSL_CTX_set_tmp_dh(ctx, dh); LOG({core} DH initialized with %d bit key\n, 8*DH_size(dh)); DH_free(dh); #ifdef NID_X9_62_prime256v1 EC_KEY *ecdh = NULL; ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); SSL_CTX_set_tmp_ecdh(ctx,ecdh); EC_KEY_free(ecdh); LOG({core} ECDH Initialized with NIST P-256\n); #endif return 0; } #endif /* OPENSSL_NO_DH */ #ifndef OPENSSL_NO_DH init_dh(ctx, OPTIONS.CERT_FILE); #endif /* OPENSSL_NO_DH */ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13627 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13626] Python SSL stack doesn't support DH ciphers
naif n...@globaleaks.org added the comment: Other example for DH and ECC from: https://github.com/bumptech/stud/blob/master/stud.c #ifndef OPENSSL_NO_DH static int init_dh(SSL_CTX *ctx, const char *cert) { DH *dh; BIO *bio; assert(cert); bio = BIO_new_file(cert, r); if (!bio) { ERR_print_errors_fp(stderr); return -1; } dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); BIO_free(bio); if (!dh) { ERR({core} Note: no DH parameters found in %s\n, cert); return -1; } LOG({core} Using DH parameters from %s\n, cert); SSL_CTX_set_tmp_dh(ctx, dh); LOG({core} DH initialized with %d bit key\n, 8*DH_size(dh)); DH_free(dh); #ifdef NID_X9_62_prime256v1 EC_KEY *ecdh = NULL; ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); SSL_CTX_set_tmp_ecdh(ctx,ecdh); EC_KEY_free(ecdh); LOG({core} ECDH Initialized with NIST P-256\n); #endif return 0; } #endif /* OPENSSL_NO_DH */ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13626 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13627] Python SSL stack doesn't support Elliptic Curve ciphers
Antoine Pitrou pit...@free.fr added the comment: It's not obvious to me which APIs should be used to provide such support. Python mostly uses high-level OpenSSL APIs, and lets OpenSSL load certificates. Do you want to try writing a patch? General instructions on how to contribute can be found at http://docs.python.org/devguide/ -- nosy: +pitrou stage: - needs patch type: - enhancement versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13627 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13627] Python SSL stack doesn't support Elliptic Curve ciphers
naif n...@globaleaks.org added the comment: Have a look also at DH related ticket: http://bugs.python.org/issue13626 There is a code example on how PHP manage the DH parameter setup with high level OpenSSL. The code must check if the ciphers is EC or DH and in that case setup appropriate parameters by generating random data for DH operations. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13627 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Yaşar Arabacı yasar11...@gmail.com added the comment: Appereantly my distribution's build used this http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tar.xz, and that version was bugged. But I tried building this http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2 and that build worked successfully. I am just asking this to be sure: latter is supposed to be latest version of 2.7, right? If so, I can confirm this bug is fixed on the latest 2.7. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Cédric Krier cedric.kr...@b2ck.com added the comment: New patch with test -- Added file: http://bugs.python.org/file24028/issue7502.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Charles-François Natali neolo...@free.fr added the comment: But I tried building this http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2 and that build worked successfully. This is 2.7, which is more than a year old. The most recent 2.7 version is http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2 However, the two patches above have been committed after this release, so I'd like to make sure that this works with the current 2.7 branch. You can get it from there: http://hg.python.org/cpython/archive/2.7.tar.bz2 (or with mercurial). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8035] urllib.request.urlretrieve hangs waiting for connection close after a redirect
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 038616802b65 by Charles-François Natali in branch '2.7': Issue #8035: urllib: Fix a bug where the client could remain stuck after a http://hg.python.org/cpython/rev/038616802b65 New changeset a420b27a86d9 by Charles-François Natali in branch '3.2': Issue #8035: urllib: Fix a bug where the client could remain stuck after a http://hg.python.org/cpython/rev/a420b27a86d9 New changeset 764234983120 by Charles-François Natali in branch 'default': Issue #8035: urllib: Fix a bug where the client could remain stuck after a http://hg.python.org/cpython/rev/764234983120 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8035 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13626] Python SSL stack doesn't support DH ciphers
Antoine Pitrou pit...@free.fr added the comment: The ssl module doesn't directly handle keys, it just gives a PEM file to OpenSSL's ssl functions. So I don't understand what should be done precisely here, or even if something has to be done at all. -- nosy: +pitrou type: - enhancement versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13626 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Yaşar Arabacı yasar11...@gmail.com added the comment: Current 2.7 branch is ok. This bug report can be closed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13553] Tkinter doesn't set proper application name
zup hripo...@gmail.com added the comment: The link below suggests that the problem with method 'iconname' may be due to the method not working at the window manager level: http://www.pythonware.com/library/tkinter/introduction/x9905-icon-methods.htm summary: iconname iconname(newName=None), iconname(). Set (get) the icon name to use when this window is iconified. This method are ignored by some window managers (including Windows). -- nosy: +zup ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13553 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2
Charles-François Natali neolo...@free.fr added the comment: Alright, thanks! -- resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13625 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13626] Python SSL stack doesn't support DH ciphers
naif n...@globaleaks.org added the comment: Please look at how PHP implement the feature. It doesn't use any PEM or any Key File, but just initiatlize the DH parameters. Stud instead, ask the user to generate offline the DH parameters and save it into the PEM file. I think that the PHP approach it's better than the STUD one: It does not require any file or key to generate DH parameters. This is the way to have supported ciphers such as DHE-RSA-AES256-SHA ( http://www.openssl.org/docs/apps/ciphers.html ) that now cannot be used because the Python SSL binding doesn't initialize the DH parameters. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13626 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Cédric Krier cedric.kr...@b2ck.com added the comment: New patch to add __hash__ and __eq__ to DocTest -- Added file: http://bugs.python.org/file24029/issue7502.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13626] Python SSL stack doesn't support DH ciphers
Antoine Pitrou pit...@free.fr added the comment: Well the OpenSSL docs say “DH_generate_parameters() may run for several hours before finding a suitable prime”, which sounds like a good reason not to do it every time your program is run. Anyway, SSL_CTX_set_tmp_dh() should allow us to set DH parameters on a SSL context, PEM_read_DHparams() to read them from a PEM file, and OpenSSL's source tree has a couple of PEM files with strong DH parameters for various key sizes. -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13626 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11870] test_3_join_in_forked_from_thread() of test_threading hangs 1 hour on x86 Ubuntu Shared 3.x
Charles-François Natali neolo...@free.fr added the comment: Victor, could you try the patch attached? -- Added file: http://bugs.python.org/file24030/threading_reinit_lock.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11870 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8035] urllib.request.urlretrieve hangs waiting for connection close after a redirect
Charles-François Natali neolo...@free.fr added the comment: Alright, should be fixed now. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8035 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Antoine Pitrou pit...@free.fr added the comment: The definition of __eq__ is wrong: it shouldn't compare the hashes since the hash() function isn't injective. For example, 0 and have equal hashes, yet they are unequal. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Cédric Krier cedric.kr...@b2ck.com added the comment: Update patch to not use hash in __eq__ -- Added file: http://bugs.python.org/file24031/issue7502.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Antoine Pitrou pit...@free.fr added the comment: Something I forgot: you should also test the != operator in the tests. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13628] python-gdb.py: patch to improve support of optimized Python
New submission from STINNER Victor victor.stin...@haypocalc.com: If Python is compiled with gcc -O3, gdb is unable to get the f argument of PyEval_EvalFrameEx(). It is possible to retrieve f from the caller, PyEval_EvalCodeEx(). Attached patch tries to implement this idea and enable more test_gdb tests on optimized Python. The patch has a problem because some tests fails if Python is not optimized (Python compiled in debug mode). -- The patch fix other minor bugs in libpython.py related to optimized Python. -- files: gdb.patch keywords: patch messages: 149778 nosy: haypo priority: normal severity: normal status: open title: python-gdb.py: patch to improve support of optimized Python versions: Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file24032/gdb.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13628 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13627] Python SSL stack doesn't support Elliptic Curve ciphers
Antoine Pitrou pit...@free.fr added the comment: Ok, so you are talking specifically about ECDH? Or is there something to be done for generic EC support? OpenSSL has a SSL_CTX_set_tmp_dh() function (macro, actually), but it's undocumented. Best bet is probably to follow ssl/ssltest.c (OpenSSL source tree), lines 825 and following, under #ifndef OPENSSL_NO_ECDH. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13627 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Cédric Krier cedric.kr...@b2ck.com added the comment: Add test for != -- Added file: http://bugs.python.org/file24033/issue7502.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12231] regrtest: add -k and -K options to filter tests by function/file names
Antoine Pitrou pit...@free.fr added the comment: Already fixed in #12626. -- resolution: - duplicate stage: needs patch - committed/rejected status: open - closed superseder: - run test cases based on a glob filter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12231 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13627] Python SSL stack doesn't support Elliptic Curve ciphers
naif n...@globaleaks.org added the comment: This is how the Stud software enable also the use of ECC in OpenSSL TLS https://github.com/bumptech/stud/pull/61 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13627 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13617] Reject embedded null characters in wchar* strings
Arnaud Calmettes calmettes.arn...@gmail.com added the comment: Here is a patch for the documentation. I added warnings for, PyUnicode_AsWideChar*, PyUnicode_EncodeFSDefault and PyUnicode_AsUnicode*, since they're all concerned by this issue. -- nosy: +arnaudc Added file: http://bugs.python.org/file24034/doc_unicode.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13617 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11870] test_3_join_in_forked_from_thread() of test_threading hangs 1 hour on x86 Ubuntu Shared 3.x
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 775319cebaa3 by Charles-François Natali in branch '2.7': Issue #11870: threading: Properly reinitialize threads internal locks and http://hg.python.org/cpython/rev/775319cebaa3 New changeset de962ec0faaa by Charles-François Natali in branch '3.2': Issue #11870: threading: Properly reinitialize threads internal locks and http://hg.python.org/cpython/rev/de962ec0faaa New changeset cec0d77d01c4 by Charles-François Natali in branch 'default': Issue #11870: threading: Properly reinitialize threads internal locks and http://hg.python.org/cpython/rev/cec0d77d01c4 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11870 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13521] Make dict.setdefault() atomic
Filip Gruszczyński grusz...@gmail.com added the comment: Patch for 2.7. -- Added file: http://bugs.python.org/file24035/13521_27_1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13521 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Cédric Krier cedric.kr...@b2ck.com added the comment: Add also __eq__ to Example and add __ne__ method. -- Added file: http://bugs.python.org/file24036/issue7502.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13617] Reject embedded null characters in wchar* strings
Arnaud Calmettes calmettes.arn...@gmail.com added the comment: I removed the hints using wcslen on the result of PyUnicode_AsWideChar*, since the resulting wchar_t strings may not be null-terminated -- Added file: http://bugs.python.org/file24037/doc_unicode-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13617 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11870] test_3_join_in_forked_from_thread() of test_threading hangs 1 hour on x86 Ubuntu Shared 3.x
Charles-François Natali neolo...@free.fr added the comment: Should be fixed now. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11870 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13629] _PyParser_TokenNames does not match up with the token.h numbers
New submission from Meador Inge mead...@gmail.com: When making the changes to remove backticks in eb2f70fdbf32, the _PyParser_TokenNames table was incorrectly updated. Now the indexes into _PyParser_TokenNames don't match the token numbers. This can be seen in the output of 'python -d': $ echo '2 1' | ./python -d | grep Token ... Token NUMBER/'2' ... It's a token we know Token RIGHTSHIFT/'' ... It's a token we know Token NUMBER/'1' ... It's a token we know Token NEWLINE/'' ... It's a token we know Token NEWLINE/'' ... It's a token we know Token ENDMARKER/'' ... It's a token we know The fix is trivial. Patch attached. -- components: Interpreter Core files: parser-debug-output.patch keywords: easy, patch messages: 149789 nosy: meador.inge priority: low severity: normal stage: patch review status: open title: _PyParser_TokenNames does not match up with the token.h numbers type: behavior versions: Python 3.2, Python 3.3 Added file: http://bugs.python.org/file24038/parser-debug-output.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13629 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5492] Error on leaving IDLE with quit() or exit() under Linux
Roger Serwy roger.se...@gmail.com added the comment: You can trigger this error every time if you change .after(2*self.poll_interval, self.close2) to .after(1, self.close2) in PyShell.py -- nosy: +serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5492 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13617] Reject embedded null characters in wchar* strings
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset fa5c8cf29963 by Victor Stinner in branch '3.2': Issue #13617: Document that the result of the conversion of a Unicode object to http://hg.python.org/cpython/rev/fa5c8cf29963 New changeset f30ac7729f2b by Victor Stinner in branch 'default': Issue #13617: Document that the result of the conversion of a Unicode object to http://hg.python.org/cpython/rev/f30ac7729f2b -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13617 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c478734ded4b by Antoine Pitrou in branch '3.2': Issue #7502: Fix equality comparison for DocTestCase instances. http://hg.python.org/cpython/rev/c478734ded4b New changeset b8cb6f1e4981 by Antoine Pitrou in branch 'default': Issue #7502: Fix equality comparison for DocTestCase instances. http://hg.python.org/cpython/rev/b8cb6f1e4981 New changeset 64d670a8b183 by Antoine Pitrou in branch '2.7': Issue #7502: Fix equality comparison for DocTestCase instances. http://hg.python.org/cpython/rev/64d670a8b183 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Antoine Pitrou pit...@free.fr added the comment: Patch now committed to all 3 branches. Thanks for contributing! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13617] Reject embedded null characters in wchar* strings
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1c4d9534263e by Victor Stinner in branch '2.7': Issue #13617: Document that the result PyUnicode_AsUnicode() and http://hg.python.org/cpython/rev/1c4d9534263e -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13617 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Cédric Krier cedric.kr...@b2ck.com added the comment: Patch to add __hash__ to prevent warnings in 2.7 -- Added file: http://bugs.python.org/file24039/issue7502-hash.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13628] python-gdb.py: patch to improve support of optimized Python
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +dmalcolm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13628 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Cédric Krier cedric.kr...@b2ck.com added the comment: Add test for __hash__ -- Added file: http://bugs.python.org/file24040/issue7502-hash.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7502] All DocTestCase instances compare and hash equal to each other
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 6a95820b9607 by Antoine Pitrou in branch '2.7': Followup to #7502: add __hash__ method and tests. http://hg.python.org/cpython/rev/6a95820b9607 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13624] UTF-8 encoder performance regression in python3.3
Martin v. Löwis mar...@v.loewis.de added the comment: Oooh, it's just faster because encoding ASCII to UTF-8 is now O(1) It's actually still O(n): the UTF-8 data still need to be copied into a bytes object. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13624 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13624] UTF-8 encoder performance regression in python3.3
STINNER Victor victor.stin...@haypocalc.com added the comment: It's actually still O(n): the UTF-8 data still need to be copied into a bytes object. Hum, correct, but a memory copy is much faster than having to decode UTF-8. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13624 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13629] _PyParser_TokenNames does not match up with the token.h numbers
Martin v. Löwis mar...@v.loewis.de added the comment: Is there a reason not to renumber token.h? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13629 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13617] Reject embedded null characters in wchar* strings
STINNER Victor victor.stin...@haypocalc.com added the comment: embedded_nul-2.patch: a more complete patch check also null byte in functions calling PyUnicode_EncodeFSDefault(). -- Added file: http://bugs.python.org/file24041/embedded_nul-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13617 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11813] inspect.getattr_static doesn't get module attributes
Michael Foord mich...@voidspace.org.uk added the comment: I'd like to commit this patch. What's your real name Trundle, for the NEWS entry? -- assignee: - michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11813 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11813] inspect.getattr_static doesn't get module attributes
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 56731ccf2e86 by Michael Foord in branch '3.2': Fix inspect.getattr_static to work on modules (again). http://hg.python.org/cpython/rev/56731ccf2e86 -- nosy: +python-dev resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11813 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11807] Documentation of add_subparsers lacks information about parametres
Filip Gruszczyński grusz...@gmail.com added the comment: Fixed patch. -- Added file: http://bugs.python.org/file24042/11807_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11807 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13628] python-gdb.py: patch to improve support of optimized Python
Changes by Meador Inge mead...@gmail.com: -- components: +Demos and Tools stage: - patch review type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13628 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5689] Support xz compression in tarfile module
STINNER Victor victor.stin...@haypocalc.com added the comment: There is failure on a XP buildbot. I don't know if it is a sporadic issue or not. http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.x/builds/3921/steps/test/logs/stdio == ERROR: test_append_lzma (test.test_tarfile.AppendTest) -- Traceback (most recent call last): File D:\Buildslave\3.x.moore-windows\build\lib\test\test_tarfile.py, line 1539, in test_append_lzma self._create_testtar(w:xz) File D:\Buildslave\3.x.moore-windows\build\lib\test\test_tarfile.py, line 1486, in _create_testtar with tarfile.open(self.tarname, mode) as tar: File D:\Buildslave\3.x.moore-windows\build\lib\tarfile.py, line 1721, in open return func(name, filemode, fileobj, **kwargs) File D:\Buildslave\3.x.moore-windows\build\lib\tarfile.py, line 1826, in xzopen mode=mode, fileobj=fileobj, preset=preset) File D:\Buildslave\3.x.moore-windows\build\lib\lzma.py, line 117, in __init__ preset=preset, filters=filters) MemoryError -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5689 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13628] python-gdb.py: patch to improve support of optimized Python
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13628 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11178] Running tests inside a package by module name fails
Michael Foord mich...@voidspace.org.uk added the comment: No longer reproducable on CPython. Unfortunately still an issue with unittest2. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11178 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13629] _PyParser_TokenNames does not match up with the token.h numbers
Meador Inge mead...@gmail.com added the comment: Is there a reason not to renumber token.h? I thought about that, but at the time I wasn't sure whether or not that would break anything. I went with the current patch because it is lower risk. On the other hand, proper clients of token.h should only be using the macros and should have no knowledge of the numeric codes. If they do use the numeric codes directly somehow, then that is their issue. So, I guess it is OK to renumber token.h. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13629 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13628] python-gdb.py: patch to improve support of optimized Python
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13628 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11764] inspect.getattr_static code execution w/ class body as non dict
Changes by Michael Foord mich...@voidspace.org.uk: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11764 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11829] inspect.getattr_static code execution with meta-metaclasses
Michael Foord mich...@voidspace.org.uk added the comment: Andreas, is this still needed and valid? -- assignee: - michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11829 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13626] Python SSL stack doesn't support DH ciphers
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13626 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13627] Python SSL stack doesn't support Elliptic Curve ciphers
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13627 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13630] IDLE: Find(ed) text is not highlighted while dialog box is open
New submission from Marco Scataglini atlant...@gmx.com: Found text does not show at all highlighted on some text colors (like green and orange) when using the find button in the replace dialog box when box is open/visible. Then when dialog box is closed it will highlight the found text in black on gray like 'selected' and not in white on black 'found' highlighting color scheme. Using F3, to find text, highlights in black on gray like 'selected' and not in white on black 'found' highlighting color scheme Also using CTRL+f to find text seems to follow the same improper behavior, just less noticeable since as soon as find button is pressed, the dialog box is closed and the found text is shown, but if the dialog box would not close the text would not be shown with any highlighting at all ('found' nor 'selected' highlighting). To test the last behavior I used the find_keep_open.patch to prevent CTRL+f Find Dialog box to close after pressing find button.(issue13586) Note: Color scheme highlighting setting can be seen in IDLE Preferences pane under the Highlighting tab by going to Options/Configure IDLE... -- components: IDLE messages: 149811 nosy: marco priority: normal severity: normal status: open title: IDLE: Find(ed) text is not highlighted while dialog box is open type: behavior versions: Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13630 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13586] IDLE: Replace selected not working/consistent with find
Marco Scataglini atlant...@gmx.com added the comment: Thank you Roger find_keep_open.patch works, but now that brings me to issue13630 that I thought was existing, and now this confirms it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13586 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13631] readline fails to parse some forms of .editrc under editline (libedit) emulation on Mac OS X
New submission from Zvezdan Petkovic zvez...@zope.com: Problem === The changes in r87356 for py3k and r87358 for python-2.7 described in issue 9907 have broken parsing of the initialization file .editrc under editline emulation of readline on Mac OS X. Background == Both readline and editline allow settings customized per program. For example, .inputrc file for readline:: $if Python set editing-mode vi $endif will be applied only to Python processes. Similarly, .editrc file for editline:: python:bind -v python:bind ^I rl_complete will be applied only to Python processes on Mac OS X. This works fine on python-2.6. It's broken on 2.7 and 3.2 and later because the change in issue 9907 moved the rl_initialize() call towards the beginning of the setup function. Solution The rl_readline_name variable must be set to python **before** the call to rl_initialize(). Attached are patches for 2.7 and 3.2. -- assignee: ronaldoussoren components: Macintosh files: readline-2.7.patch keywords: patch messages: 149813 nosy: ronaldoussoren, zvezdan priority: normal severity: normal status: open title: readline fails to parse some forms of .editrc under editline (libedit) emulation on Mac OS X type: behavior versions: Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file24043/readline-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13631 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13631] readline fails to parse some forms of .editrc under editline (libedit) emulation on Mac OS X
Changes by Zvezdan Petkovic zvez...@zope.com: Added file: http://bugs.python.org/file24044/readline-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13631 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11867] Make test_mailbox deterministic
R. David Murray rdmur...@bitdance.com added the comment: Probably because I'm a threading/multiprocessing neophyte :) (Though I just learned a bunch about programming with threads recently...) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11867 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2134] Add new attribute to TokenInfo to report specific token IDs
Meador Inge mead...@gmail.com added the comment: The proposed documentation text seems too complicated and language expert speaky to me. We should try to link to standard definitions when possible to reduce the text here. For example, I believe the Operators and Delimiters tokens in the Lexical Analysis section of the docs (http://docs.python.org/dev/reference/lexical_analysis.html#operators) are exactly what we are trying to describe when referencing literal tokens and affected tokens. I like Nick's idea to introduce a new attribute for the exact type, while keeping the tuple structure itself backwards compatible. Attached is a patch for 3.3 that updates the docs, adds exact_type, adds new unit tests, and adds a new CLI option for displaying token names using the exact type. An example of the new CLI option is: $ echo '1+2**4' | ./python -m tokenize 1,0-1,1:NUMBER '1' 1,1-1,2:OP '+' 1,2-1,3:NUMBER '2' 1,3-1,5:OP '**' 1,5-1,6:NUMBER '4' 1,6-1,7:NEWLINE'\n' 2,0-2,0:ENDMARKER '' $ echo '1+2**4' | ./python -m tokenize -e 1,0-1,1:NUMBER '1' 1,1-1,2:PLUS '+' 1,2-1,3:NUMBER '2' 1,3-1,5:DOUBLESTAR '**' 1,5-1,6:NUMBER '4' 1,6-1,7:NEWLINE'\n' 2,0-2,0:ENDMARKER '' -- Added file: http://bugs.python.org/file24045/tokenize-exact-type-v0.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2134 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13387] suggest assertIs(type(obj), cls) for exact type checking
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed type: behavior - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13387 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13387] suggest assertIs(type(obj), cls) for exact type checking
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 88aacd3541ae by Ezio Melotti in branch '2.7': #13387: rephrase unclear sentence. http://hg.python.org/cpython/rev/88aacd3541ae New changeset eccb4795767b by Ezio Melotti in branch '3.2': #13387: rephrase unclear sentence. http://hg.python.org/cpython/rev/eccb4795767b New changeset 064854cef999 by Ezio Melotti in branch 'default': #13387: merge with 3.2. http://hg.python.org/cpython/rev/064854cef999 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13387 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3932] HTMLParser cannot handle '' and non-ascii characters in attribute names
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 978f45013c34 by Ezio Melotti in branch '2.7': #3932: suggest passing unicode to HTMLParser.feed(). http://hg.python.org/cpython/rev/978f45013c34 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3932 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3932] HTMLParser cannot handle '' and non-ascii characters in attribute names
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed type: behavior - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3932 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13607] Move generator specific sections out of ceval.
Changes by Ron Adam ron3...@gmail.com: Removed file: http://bugs.python.org/file23969/f_why.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13607 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13632] Update token documentation to reflect actual token types
New submission from Meador Inge mead...@gmail.com: The current token documentation is out of date with respect to the currently available token types: Python 3.3.0a0 (default:766136049b44+, Dec 18 2011, 21:54:42) [GCC 4.6.2 20111027 (Red Hat 4.6.2-1)] on linux Type help, copyright, credits or license for more information. import token token.BACKQUOTE Traceback (most recent call last): File stdin, line 1, in module AttributeError: 'module' object has no attribute 'BACKQUOTE' token.RARROW 51 token.ELLIPSIS 52 The attached patch fixes this. OK? -- assignee: docs@python components: Documentation, Library (Lib) files: token-docs-v0.patch keywords: easy, patch messages: 149818 nosy: docs@python, georg.brandl, meador.inge priority: low severity: normal stage: patch review status: open title: Update token documentation to reflect actual token types type: behavior versions: Python 3.2, Python 3.3 Added file: http://bugs.python.org/file24046/token-docs-v0.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13632 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13576] Handling of broken condcoms in HTMLParser
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9c60fd12664f by Ezio Melotti in branch '2.7': #13576: add tests about the handling of (possibly broken) condcoms. http://hg.python.org/cpython/rev/9c60fd12664f New changeset 4ddbb756b602 by Ezio Melotti in branch '3.2': #13576: add tests about the handling of (possibly broken) condcoms. http://hg.python.org/cpython/rev/4ddbb756b602 New changeset 6452edbc5f12 by Ezio Melotti in branch 'default': #13576: merge with 3.2. http://hg.python.org/cpython/rev/6452edbc5f12 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13576 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13576] Handling of broken condcoms in HTMLParser
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed type: behavior - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13576 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2134] Add new attribute to TokenInfo to report specific token IDs
Nick Coghlan ncogh...@gmail.com added the comment: Meador's patch looks good to me. The docs change for 2.7 and 3.2 would be similar, just with text like Specific tokens can be distinguished by checking the ``string`` attribute of OP tokens for a match with the expected character sequence. replacing the reference to the new exact_type attribute. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2134 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13607] Move generator specific sections out of ceval.
Ron Adam ron3...@gmail.com added the comment: New diff file. The main difference is I moved the saved why value to the tstate object instead of the frame object as why_exit. I'm not seeing the time savings now for some reason. Maybe the previous increase was a case of coincidental noise. (?) Still looking for other reasons though. ;-) Moving the generator code from the eval loop to the generator object may still be a good thing to do. -- Added file: http://bugs.python.org/file24047/f_why1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13607 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com