[issue19630] marshal.dump cannot write to temporary file

2013-11-17 Thread Lukasz Mielicki
New submission from Lukasz Mielicki: marshal.dump yields error when temporary file is given as a second argument. import tempfile import marshal tmpfile = tempfile.TemporaryFile(mode='w+b') # TypeError: marshal.dump() 2nd arg must be file marshal.dump({}, tmpfile) -- components:

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

2013-11-17 Thread Claudiu.Popa
Claudiu.Popa added the comment: Attached new patch, which addresses Ezio's comments on Rietveld. -- Added file: http://bugs.python.org/file32664/unittest-17457-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17457

[issue18747] Re-seed OpenSSL's PRNG after fork

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e6aa98bb11c by Christian Heimes in branch '3.3': Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove OpenSSL re-seeding http://hg.python.org/cpython/rev/4e6aa98bb11c -- ___ Python

[issue19227] test_multiprocessing_xxx hangs under Gentoo buildbots

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e6aa98bb11c by Christian Heimes in branch '3.3': Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove OpenSSL re-seeding http://hg.python.org/cpython/rev/4e6aa98bb11c -- ___ Python

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset f9927dcc85cf by Ned Deily in branch '3.3': Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.3.3. http://hg.python.org/cpython/rev/f9927dcc85cf -- ___ Python tracker

[issue19610] TypeError in distutils.command.upload

2013-11-17 Thread Berker Peksag
Berker Peksag added the comment: [...] but the first bug (accept tuple for classifiers) should be fixed before or you will get an unexpected behaviour (only send 1 classifier?). Here is a new patch that accepts tuple for classifiers. Thanks for the review, Victor. --

[issue19610] TypeError in distutils.command.upload

2013-11-17 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: Added file: http://bugs.python.org/file32665/issue19610.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19610 ___

[issue19618] test_sysconfig_module fails on Ubuntu 12.04

2013-11-17 Thread Avichal Dayal
Avichal Dayal added the comment: On my system Ubuntu 12.04 -64bit ./python -m test -v test_sysconfig ./python -m distutils/tests/test_sysconfig both run fine -- nosy: +Avichal.Dayal ___ Python tracker rep...@bugs.python.org

[issue19630] marshal.dump cannot write to temporary file

2013-11-17 Thread Gregory Salvan
Gregory Salvan added the comment: I can't reproduce this issue (on linux). Are you sure you've necessary rights to write to tempdir ? -- nosy: +Gregory.Salvan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19630

[issue19630] marshal.dump cannot write to temporary file

2013-11-17 Thread Lukasz Mielicki
Lukasz Mielicki added the comment: I'm seeing this on Windows with Python 2.7.6 (amd64). I can write to the same file with other methods. On 17 November 2013 18:36, Gregory Salvan rep...@bugs.python.org wrote: Gregory Salvan added the comment: I can't reproduce this issue (on linux). Are

[issue19630] marshal.dump cannot write to temporary file

2013-11-17 Thread Gregory Salvan
Gregory Salvan added the comment: Sorry I don't have windows to test. Try to set the temporary directory to a path you're sure you've rights, either by setting tempfile.tempdir (http://docs.python.org/2/library/tempfile.html#tempfile.tempdir) or by adding the argument dir=C:\\user\path in

[issue19601] Use specific asserts in sqlite3 tests

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 981d161a52be by Serhiy Storchaka in branch '3.3': Issue #19601: Use specific asserts in sqlite3 tests. http://hg.python.org/cpython/rev/981d161a52be New changeset d004ccdd6a57 by Serhiy Storchaka in branch '2.7': Issue #19601: Use specific asserts

[issue19602] Use specific asserts in tkinter tests

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9d1309e31491 by Serhiy Storchaka in branch '3.3': Issue #19602: Use specific asserts in tkinter tests. http://hg.python.org/cpython/rev/9d1309e31491 New changeset a3ed49cf7c70 by Serhiy Storchaka in branch 'default': Issue #19602: Use specific

[issue19604] Use specific asserts in array tests

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset f7d8c7a176fb by Serhiy Storchaka in branch '2.7': Issue #19604: Use specific asserts in array tests. http://hg.python.org/cpython/rev/f7d8c7a176fb New changeset 3650790ca33a by Serhiy Storchaka in branch '3.3': Issue #19604: Use specific asserts in

[issue19630] marshal.dump cannot write to temporary file

2013-11-17 Thread Tim Golden
Tim Golden added the comment: marshal.c does a check that the 2nd arg is a subclass of the builtin file class. On non-Posix platforms, TemporaryFile is a wrapper class providing context manager support for delete-on-close. This fails the subclass test. The docs for TemporaryFile:

[issue19607] Use specific asserts in weakref tests

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset d187eae08b8a by Serhiy Storchaka in branch '3.3': Issue #19607: Use specific asserts in weakref tests. http://hg.python.org/cpython/rev/d187eae08b8a New changeset 8deab371850b by Serhiy Storchaka in branch 'default': Issue #19607: Use specific

[issue19605] Use specific asserts in datetime tests

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset bc67e8d39164 by Serhiy Storchaka in branch '3.3': Issue #19605: Use specific asserts in datetime tests http://hg.python.org/cpython/rev/bc67e8d39164 New changeset 0b7a519cb58f by Serhiy Storchaka in branch 'default': Issue #19605: Use specific

[issue19606] Use specific asserts in http.cookiejar tests

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9444ee6864b3 by Serhiy Storchaka in branch '3.3': Issue #19606: Use specific asserts in http.cookiejar tests. http://hg.python.org/cpython/rev/9444ee6864b3 New changeset c1f2b3fc965d by Serhiy Storchaka in branch 'default': Issue #19606: Use

[issue9731] Add ABCMeta.has_methods and tests that use it

2013-11-17 Thread Claudiu.Popa
Claudiu.Popa added the comment: Hello! Here's a preliminary implementation, with tests for collections ABC. It doesn't have any docs yet, though. I chose the name verify_full_api, but I'm ok with check_methods as well. -- keywords: +patch nosy: +Claudiu.Popa versions: +Python 3.4

[issue19606] Use specific asserts in http.cookiejar tests

2013-11-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19606

[issue19605] Use specific asserts in datetime tests

2013-11-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19605

[issue19607] Use specific asserts in weakref tests

2013-11-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19607

[issue19604] Use specific asserts in array tests

2013-11-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19604

[issue19601] Use specific asserts in sqlite3 tests

2013-11-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19601

[issue19602] Use specific asserts in tkinter tests

2013-11-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19602

[issue19603] Use specific asserts in test_decr

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Try to regenerate the patch for Rietveld. -- Added file: http://bugs.python.org/file32667/test_descr_asserts_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19603

[issue19630] marshal.dump cannot write to temporary file

2013-11-17 Thread Lukasz Mielicki
Lukasz Mielicki added the comment: Thank you for detailed explanation. Too bad tempfile is inherently non-portable, but I'm fine with marshal.dumps as a w/a in this case. I marshal to a temporary file to serialize input for Perforce command line client which is capable of accepting marshaled

[issue19565] test_multiprocessing_spawn: RuntimeError and assertion error on windows xp buildbot

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset da10196b94f4 by Richard Oudkerk in branch 'default': Issue #19565: Prevent warnings at shutdown about pending overlapped ops. http://hg.python.org/cpython/rev/da10196b94f4 -- nosy: +python-dev ___ Python

[issue19631] exec BNF in simple statements

2013-11-17 Thread engelbert gruber
New submission from engelbert gruber: the doc says:: exec_stmt ::= exec or_expr [in expression [, expression]] imho it should read :: exec_stmt ::= exec expression [in expression [, expression]] | exec( expression [ , expression [ , expression ]] ) -- assignee:

[issue17618] base85 encoding

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I added more comments on Rietveld. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17618 ___ ___

[issue19520] Win32 compiler warning in _sha3

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: Go ahead! Although I'd rather follow upstream as close as possible, this one is harmless. -- assignee: christian.heimes - zach.ware stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org

[issue19507] ssl.wrap_socket() with server_hostname should imply match_hostname()

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: I'll work on a PEP for 3.5 that will handle this issue. -- assignee: - christian.heimes resolution: - later status: open - closed versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue17618] base85 encoding

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: I added more comments on Rietveld. Did you forget to publish them? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17618 ___

[issue19448] SSL: add OID / NID lookup

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: Does anybody want to do a review of the patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19448 ___ ___

[issue17405] Add _Py_memset_s() to securely clear memory

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: I don't have enough time to work in this issue before 3.4 beta1. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17405

[issue19438] Where is NoneType in Python 3?

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: -christian.heimes priority: normal - low versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19438 ___

[issue17134] Use Windows' certificate store for CA certs

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: The feature is not yet production-ready but part of the feature is already in 3.4. It depends on #19448 and #16487, too. What shall I do about it? -- ___ Python tracker rep...@bugs.python.org

[issue19448] SSL: add OID / NID lookup

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: If it's for #17134, couldn't it remain a private API? I'm rather uncomfortable about exposing such things unless we make the ssl module a full-fledged toolbox to handle X509 certificates (and perhaps think a bit more about the APIs). Are there any common use

[issue17618] base85 encoding

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Grr. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17618 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19377] Backport SVG mime type to Python 2

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: -christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19377 ___ ___

[issue19420] Leak in _hashopenssl.c

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: ping -- versions: -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19420 ___ ___ Python-bugs-list

[issue19508] Add warning that Python doesn't verify SSL certs by default

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: I suggest that we add a red warning box at the top of the SSL module, too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19508 ___

[issue19343] Expose FreeBSD-specific APIs in resource module

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: LGTM I'll submit the patch later. -- assignee: - christian.heimes stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19343

[issue17997] ssl.match_hostname(): sub string wildcard should not match IDNA prefix

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: Python 3.2 hasn't been fixed yet. Should acquire a CVE for the issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17997 ___

[issue16353] add function to os module for getting path to default shell

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: 3.4 beta1 will be released next weekend. I'll try to submit a patch in the next couple of days. -- assignee: - christian.heimes stage: - patch review ___ Python tracker rep...@bugs.python.org

[issue17006] Warn users about hashing secrets?

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: ping :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17006 ___ ___ Python-bugs-list mailing list

[issue17791] PC/pyconfig.h defines PREFIX macro

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: I'll remove the offending lines later. -- assignee: - christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17791 ___

[issue19508] Add warning that Python doesn't verify SSL certs by default

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Something like the following? -- keywords: +patch Added file: http://bugs.python.org/file32668/sslsec.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19508

[issue18742] Abstract base class for hashlib

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: Raymond: Good idea! to all: Do we need more discussion about the ABC, e.g. on the pycrypto mailing list? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18742

[issue17276] HMAC: deprecate default hash

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: I'll commit the patch later. -- assignee: - christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17276 ___

[issue18369] X509 cert class for ssl module

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: The feature won't be ready for 3.4. I'll work on a PEP for 3.5 -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18369

[issue18775] name attribute for HMAC

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- assignee: - christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18775 ___ ___

[issue18550] internal_setblocking() doesn't check return value of fcntl()

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- assignee: - christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18550 ___ ___

[issue18709] SSL module fails to handle NULL bytes inside subjectAltNames general names (CVE-2013-4238)

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: The patch hasn't been committed to 3.2 yet. -- assignee: - georg.brandl versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18709 ___

[issue16296] Patch to fix building on Win32/64 under VS 2010

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- status: open - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16296 ___ ___

[issue18528] Possible fd leak in socketmodule

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: The patch has been languishing for some time. Commit or close? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18528 ___

[issue8813] SSLContext doesn't support loading a CRL

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: Yes, you are right. OpenSSL uses the same API to load certs and CRLs. CRL checks must be enabled, though. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8813

[issue18742] Abstract base class for hashlib

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Some comments: - AbstractCryptoHashFunction should be called CryptoHashBase or something (but does it warrant being public? I don't think so) - having Function in a class name is a bit confusing to me. Why not simply CryptoHash? - you don't need to add a

[issue18528] Possible fd leak in socketmodule

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: If none of use really understands the problem Coverity is trying to warn us about, I'd say let languish or close. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18528

[issue14518] Add bcrypt $2a$ to crypt.py

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: I think it would be better to provide a dedicated implementation of bcrypt. Most operating systems do not provide bcrypt (Linux, Windows). -- status: open - pending ___ Python tracker rep...@bugs.python.org

[issue15464] ssl: add set_msg_callback function

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: The patch won't be ready for 3.4 beta1 next weekend. Deferring to 3.5 -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15464

[issue18617] TLS and Intermediate Certificates

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: Donald, could you please provide a doc update that explains the problem? -- assignee: - docs@python nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18617

[issue18617] TLS and Intermediate Certificates

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm afraid downloading certs on the fly would open a whole new can of worms, so I'd rather have it documented indeed :) -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18617

[issue19508] Add warning that Python doesn't verify SSL certs by default

2013-11-17 Thread Georg Brandl
Georg Brandl added the comment: Sounds good. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19508 ___ ___ Python-bugs-list

[issue13968] Support recursive globs

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In updated patch fixed warning/errors when ran with -b or -bb options. -- Added file: http://bugs.python.org/file32669/glob_recursive_4.patch ___ Python tracker rep...@bugs.python.org

[issue19508] Add warning that Python doesn't verify SSL certs by default

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset f86fdaf529ea by Antoine Pitrou in branch '3.3': Issue #19508: direct the user to read the security considerations for the ssl module http://hg.python.org/cpython/rev/f86fdaf529ea New changeset 18d95780100e by Antoine Pitrou in branch 'default':

[issue8402] Add a function to escape metacharacters in glob/fnmatch

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could anyone please review the patch before feature freeze? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8402 ___

[issue19632] doc build warning

2013-11-17 Thread Antoine Pitrou
New submission from Antoine Pitrou: This is on 2.7: reading sources... [100%] whatsnew/index /home/antoine/cpython/27/Doc/library/functions.rst:1186: WARNING: duplicate object

[issue18293] ssl.wrap_socket (cert_reqs=...), getpeercert, and unvalidated certificates

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: I may address the issue in my PEP for Python 3.5. Python 3.4 beta 1 will be released next week and no new features are allowed in beta and RC phase. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue19508] Add warning that Python doesn't verify SSL certs by default

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset a197b3c3b2c9 by Antoine Pitrou in branch '2.7': Issue #19508: warn that ssl doesn't validate certificates by default http://hg.python.org/cpython/rev/a197b3c3b2c9 -- ___ Python tracker

[issue18391] socket.fromfd()'s API is difficult or impossible to use correctly in general

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: Do you want to work on a patch for 3.4? You have about five days until 3.4 is going into feature freeze. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18391

[issue16632] Enable DEP and ASLR

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: I no longer see the crashs. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16632 ___ ___ Python-bugs-list

[issue19508] Add warning that Python doesn't verify SSL certs by default

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've added a different warning to 2.7, as the ssl docs there don't have the security considerations section. -- resolution: - fixed stage: needs patch - committed/rejected versions: -Python 2.7, Python 3.2 ___

[issue1763] Get path to shell/known folders on Windows

2013-11-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: -serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1763 ___ ___

[issue19336] No API to get events from epoll without allocating a list

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: @Alex: ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19336 ___ ___ Python-bugs-list mailing list

[issue18233] SSLSocket.getpeercertchain()

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: I'd rather return a list or tuple of X509 objects but #18369 won't be ready for 3.4. Ideas? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18233 ___

[issue18379] SSLSocket.getpeercert(): OCSP and CRL DP URIs

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: Are you satisfied with my patch? I'd like to commit it before beta 1 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18379 ___

[issue18233] SSLSocket.getpeercertchain()

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: @Dustin My two-cents is to leave it a tuple (why not?). Because tuples are more used for struct-like data. Here we are returning an unknown number of homogenous objects, which generally calls for a list. @Christian I'd rather return a list or tuple of

[issue18233] SSLSocket.getpeercertchain()

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: It's just nice to have for debugging and extended verification. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18233

[issue2292] Missing *-unpacking generalizations

2013-11-17 Thread fhahn
fhahn added the comment: I've updated the patch to apply to the current tip. But this patch breaks *-unpacking, I'll try to take a closer look during the next week. -- nosy: +fhahn Added file: http://bugs.python.org/file32670/starunpack2.diff ___

[issue1684] CGIHTTPServer does not chdir prior to executing the CGI script

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1684 ___ ___

[issue979658] Improve HTML documentation of a directory

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: -christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue979658 ___ ___

[issue1299] distutils.sysconfig is not cross-platform compatible

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- assignee: tarek - status: open - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1299 ___

[issue1744456] Patch for feat. 1713877 Expose callbackAPI in readline module

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: Closing as duplicate -- stage: patch review - committed/rejected status: open - closed versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1744456

[issue2213] build_tkinter.py does not handle paths with spaces

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: -christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2213 ___ ___

[issue1625576] add ability to specify name to os.fdopen

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- status: open - languishing versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1625576 ___

[issue19630] marshal.dump cannot write to temporary file

2013-11-17 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- resolution: - wont fix stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19630 ___

[issue15809] IDLE console uses incorrect encoding.

2013-11-17 Thread irdb
irdb added the comment: Well, if there is no other way around this, I think it's better to apply Martin's patch. At least then we will be able to enter any valid utf-8 character in IDLE (although print statement won't print correctly unless the string is decoded first). (As a Windows user,

[issue15809] IDLE console uses incorrect encoding.

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch with a hack which corrects a line number in displayed traceback. It doesn't solve a problem totally, but perhaps it is a good enough approximation. -- Added file: http://bugs.python.org/file32671/idle_compile_coding_3.patch

[issue8402] Add a function to escape metacharacters in glob/fnmatch

2013-11-17 Thread Michele OrrĂ¹
Changes by Michele OrrĂ¹ maker...@gmail.com: -- nosy: -maker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8402 ___ ___ Python-bugs-list mailing

[issue18528] Possible fd leak in socketmodule

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: OK, I'm rejecting it. -- resolution: - rejected stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18528

[issue15809] IDLE console uses incorrect encoding.

2013-11-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15809 ___ ___

[issue11344] Add os.path.splitpath(path) function

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The pathlib module is not in the stdlib yet, while a patch for splitpath() waits for review almost a year. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11344

[issue18742] Abstract base class for hashlib

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: * Cryptographic Hash Function is the correct technical term for algorithms like SHA-1. http://en.wikipedia.org/wiki/Cryptographic_hash_function * PEP 452 is going to suggest that 3rd party libraries register their hash function as subclasses of the ABC. *

[issue18742] Abstract base class for hashlib

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: * Cryptographic Hash Function is the correct technical term for algorithms like SHA-1. Sure, but in a programming context, it's confusing when the function is implemented by a class with additional properties and methods. Why not simply CryptoHash? It sounds

[issue19448] SSL: add OID / NID lookup

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: OK, let's keep it as private API for now and maybe make it public in 3.5. I'm going to rename ASN1Object to _ASN1Object, remove the docs and adjust the tests. Agreed? -- ___ Python tracker rep...@bugs.python.org

[issue19448] SSL: add OID / NID lookup

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: OK, let's keep it as private API for now and maybe make it public in 3.5. I'm going to rename ASN1Object to _ASN1Object, remove the docs and adjust the tests. Agreed? Yup. -- ___ Python tracker

[issue19448] SSL: add OID / NID lookup

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- assignee: - christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19448 ___ ___

[issue18742] Abstract base class for hashlib

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: It seems the name of the ABC needs more discussion. I'll address it in PEP 452 for Python 3.5. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18742

[issue16998] Lost updates with multiprocessing.Value

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7aabbe919f55 by Richard Oudkerk in branch '2.7': Issue 16998: Clarify that += on a shared value is not atomic. http://hg.python.org/cpython/rev/7aabbe919f55 New changeset 11cafbe6519f by Richard Oudkerk in branch '3.3': Issue 16998: Clarify that +=

  1   2   >