[issue14187] add "annotation" entry to Glossary

2012-05-10 Thread Chris Rebert
Chris Rebert added the comment: Any reactions to the strawman wording for the entry? -- ___ Python tracker ___ ___ Python-bugs-list m

[issue14245] float rounding examples in FAQ are outdated

2012-05-10 Thread Mark Dickinson
Mark Dickinson added the comment: Zbyszek, have you signed a contributor agreement form? [1] If not, please could you do so? Then I can apply this doc contribution. Thanks! [1] http://www.python.org/psf/contrib/ -- ___ Python tracker

[issue14769] Add test to automatically detect missing format units in skipitem()

2012-05-10 Thread Larry Hastings
New submission from Larry Hastings : I recently fixed an old bug: some time ago someone added support for a new "format unit", 'Z', to PyArg_Parse(), but neglected to add matching support for it to skipitem(). Benjamin asked for a regression test. Initially I said, okay, how the hell do I te

[issue14767] urllib.request.HTTPRedirectHandler raises HTTPError when Location header is relative

2012-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: See issue12275. Seems like a common request. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bug

[issue13815] tarfile.ExFileObject can't be wrapped using io.TextIOWrapper

2012-05-10 Thread Lars Gustäbel
Lars Gustäbel added the comment: Okay, I attached a patch that I hope we can all agree upon. It restores the ExFileObject class as a small subclass of BufferedReader as Amaury suggested. Does the documentation have to be changed, too? It states that an io.BufferedReader object is returned by

[issue14245] float rounding examples in FAQ are outdated

2012-05-10 Thread Zbyszek Szmek
Zbyszek Szmek added the comment: Done now. Thanks, Zbyszek -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14770] Minor documentation fixes

2012-05-10 Thread Michael Foord
New submission from Michael Foord : A bunch of minor fixes for the documentation suggested by Kurt Robinson to the webmaster email address: Below, you will find 15 snippets from the Python 2.7.2 Library and Extension FAQ (http://docs.python.org/faq/library.html), categorized by problem type, a

[issue14457] Unattended Install doesn't populate registry

2012-05-10 Thread Joe Eaves
Joe Eaves added the comment: There is an old bug report against 2.5 which dealt with a very similar problem, maybe the answers are the same? http://bugs.python.org/issue4567 Basically the location in the registry has changed from HKLM to HKCU. Here is the last message in the thread directly:

[issue14766] Non-naive time comparison throws naive time error

2012-05-10 Thread Greg Weller
Greg Weller added the comment: I think this is a documentation bug. The criteria for datetime and time objects being aware are slightly different. A datetime object d is aware if d.tzinfo.utcoffset(d) does not return None, while a time object t is aware if t.tzinfo.utcoffset(None) does not

[issue14457] Unattended Install doesn't populate registry

2012-05-10 Thread Martin v . Löwis
Martin v. Löwis added the comment: Joe: this is indeed likely the explanation. Paul: can you confirm? Also: try adding "ALLUSERS=1" to the msiexec command line. -- ___ Python tracker _

[issue14763] string.split maxsplit documented incorrectly

2012-05-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0415ecd7b0e3 by Ezio Melotti in branch '2.7': #14763: document default maxsplit value for str.split. http://hg.python.org/cpython/rev/0415ecd7b0e3 New changeset 62659067f5b6 by Ezio Melotti in branch '3.2': #14763: document default maxsplit value f

[issue14763] string.split maxsplit documented incorrectly

2012-05-10 Thread Ezio Melotti
Ezio Melotti added the comment: I now documented it in the documentation of str.split too. I left the docstrings alone since they don't need to be as exhaustive as the official documentation, and there's normally no reason to use -1 directly. -- _

[issue14759] BSDDB license missing from liscense page in 2.7.

2012-05-10 Thread R. David Murray
R. David Murray added the comment: Given the way Oracle is currently behaving, I personally think he is wise to delete it. It's optional at build-time anyway. -- ___ Python tracker __

[issue13815] tarfile.ExFileObject can't be wrapped using io.TextIOWrapper

2012-05-10 Thread R. David Murray
R. David Murray added the comment: I don't think a doc change is needed. An isinstance check based on the docs will succeed, and the rest is an implementation detail, I think. -- ___ Python tracker _

[issue14366] Supporting lzma compression in zip files

2012-05-10 Thread Martin v . Löwis
Martin v. Löwis added the comment: Serhiy, just to be sure we communicated well: I'm not asking that all the missing features for a 6.3 level zip library must be implemented. Instead, we need to detect whether an unsupported feature is used, and raise an exception reporting what the feature i

[issue14766] Non-naive time comparison throws naive time error

2012-05-10 Thread R. David Murray
R. David Murray added the comment: My, that's embarrassing. I somehow entirely missed the fact that we were dealing with times and not dates here. What you say makes sense to me, and the doc patch looks good. -- ___ Python tracker

[issue14770] Minor documentation fixes

2012-05-10 Thread Ezio Melotti
Ezio Melotti added the comment: Attached a patch that addresses these problems: 1) done; 2) done; 3) I think "naive" is correct here (i.e. a naive program won't take care of flushing); 4) I remove the list of modules and left the link to the wiki page; 5) In the rst source there's a note that

[issue10765] Build regression from automation changes on windows

2012-05-10 Thread Ezio Melotti
Ezio Melotti added the comment: Avoiding spaces in the dir names might not be so easy, if e.g. you are trying to install it in "Program Files", "Users/Name Surname", or some other system directory that has spaces in there (sure, you could install it elsewhere, but in 2012 this shouldn't be an

[issue14770] Minor documentation fixes

2012-05-10 Thread Georg Brandl
Georg Brandl added the comment: Re 5: the sentence needs to be rephrased in any case, because it's ungrammatical Re 8: it's not text, it's code, so it needs to go in code markup -- nosy: +georg.brandl ___ Python tracker

[issue14738] Amazingly faster UTF-8 decoding

2012-05-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset e08c3791f035 by Antoine Pitrou in branch 'default': Issue #14738: Speed-up UTF-8 decoding on non-ASCII data. Patch by Serhiy Storchaka. http://hg.python.org/cpython/rev/e08c3791f035 -- nosy: +python-dev __

[issue14738] Amazingly faster UTF-8 decoding

2012-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch is now committed. Well done and thanks for your contribution. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue11352] Update cgi module doc

2012-05-10 Thread Pierre Quentel
Pierre Quentel added the comment: I attach a new version after sharing thought with Glenn CGI scripts are still unable to define which encoding to use to print the strings received from the user agent. A patch was proposed #11066 but the issue is still pending. The new version documents this

[issue14770] Minor documentation fixes

2012-05-10 Thread Ezio Melotti
Ezio Melotti added the comment: Addressed 5) and 8). -- Added file: http://bugs.python.org/file25520/issue14770-2.diff ___ Python tracker ___ ___

[issue14753] multiprocessing treats negative timeouts differently from before

2012-05-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 99ef4501205b by Richard Oudkerk in branch 'default': Issue #14753: Make multiprocessing treat negative timeouts as it did in 3.2 http://hg.python.org/cpython/rev/99ef4501205b -- nosy: +python-dev ___ Pyt

[issue14766] Non-naive time comparison throws naive time error

2012-05-10 Thread Chris Bergstresser
Chris Bergstresser added the comment: That patch fixes the documentation there, but the description at the top of the distinction between naive and aware time objects at the top datetime module is still wrong. Here it is: - There are two kinds of date and time objects: “naiv

[issue14187] add "annotation" entry to Glossary

2012-05-10 Thread Éric Araujo
Éric Araujo added the comment: Looks good to me, with the proviso that it should be “function annotation”. -- versions: +Python 3.2 ___ Python tracker ___ __

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2012-05-10 Thread Tom Pinckney
Tom Pinckney added the comment: FWIW, clang from Xcode 4.3.2 build 4E2002 w/ command line tools built everything fine for me too (i.e., ./configure CC=clang). LM-SJN-00377886:cpython tom$ uname -a Darwin LM-SJN-00377886 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:x

[issue9260] A finer grained import lock

2012-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: I had forgotten to tackle threadless builds, this patch fixes it. -- Added file: http://bugs.python.org/file25521/module_locks9.patch ___ Python tracker ___

[issue1508475] transparent gzip compression in urllib

2012-05-10 Thread Tom Pinckney
Tom Pinckney added the comment: What if this gzip decompression was optional and controlled via a flag or handler instead of making it automagic? It's not entirely trivial to implement so it is nice to have the option of this happening automatically if one wishes. Then, the caller would be a

[issue6696] Profile objects should be documented

2012-05-10 Thread Tom Pinckney
Tom Pinckney added the comment: Looking at the current docs for 3.3, it looks like there are a bunch of other ways that the docs could be clarified: 1) Proper documentation of the complete profile.Profile() and cProfile.Profile() interfaces. 2) Adding other examples to the quick start secti

[issue14771] Occasional failure in test_ioctl

2012-05-10 Thread Antoine Pitrou
New submission from Antoine Pitrou : This happens from time to time on my desktop computer: [151/354/1] test_ioctl test test_ioctl failed -- Traceback (most recent call last): File "/home/antoine/cpython/32/Lib/test/test_ioctl.py", line 36, in test_ioctl self.assertIn(rpgrp, ids) Assertion

[issue14157] time.strptime without a year fails on Feb 29

2012-05-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset f2ea7505c0d7 by Antoine Pitrou in branch '3.2': Issue #14157: Fix time.strptime failing without a year on February 29th. http://hg.python.org/cpython/rev/f2ea7505c0d7 New changeset a5a254e8a291 by Antoine Pitrou in branch 'default': Issue #14157: F

[issue14157] time.strptime without a year fails on Feb 29

2012-05-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 69d407b016c1 by Antoine Pitrou in branch '2.7': Issue #14157: Fix time.strptime failing without a year on February 29th. http://hg.python.org/cpython/rev/69d407b016c1 -- ___ Python tracker

[issue14157] time.strptime without a year fails on Feb 29

2012-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch committed and pushed, thank you! -- assignee: belopolsky -> resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker _

[issue14082] shutil doesn't copy extended attributes

2012-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch looks ok, but it would be nice if someone with non-broken xattr support could test it. Although I suppose you did run the test suite, Hynek? -- ___ Python tracker _

[issue14082] shutil doesn't copy extended attributes

2012-05-10 Thread Hynek Schlawack
Hynek Schlawack added the comment: I did. The only error I got was ERROR: test_idna (test.test_socket.GeneralModuleTests) -- Traceback (most recent call last): File "/home/vagrant/p2/Lib/test/test_socket.py", line 1182, in te

[issue14772] Return destination values in some shutil functions

2012-05-10 Thread Brian Curtin
New submission from Brian Curtin : Attached is a patch to return the final destination of files or directories sent through shutil's copy, copy2, and move functions. This removes the need to construct the destination path on your own. This is especially useful for copy/copy2 where you copy a f

[issue14773] fwalk breaks on dangling symlinks

2012-05-10 Thread Hynek Schlawack
New submission from Hynek Schlawack : I'm implementing a safe rmtree using fwalk. Everything works perfectly except for one thing: if the directory contains dangling symlinks, fwalk goes belly-up: $ ls -l test/ total 0 lrwxrwxrwx 1 vagrant vagrant 4 May 10 16:36 doesntwork -> this $ ./python P

[issue14772] Return destination values in some shutil functions

2012-05-10 Thread Hynek Schlawack
Changes by Hynek Schlawack : -- nosy: +hynek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2012-05-10 Thread Hynek Schlawack
Changes by Hynek Schlawack : -- assignee: tarek -> dependencies: +fwalk breaks on dangling symlinks keywords: -patch stage: patch review -> needs patch ___ Python tracker ___ __

[issue14753] multiprocessing treats negative timeouts differently from before

2012-05-10 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue14769] Add test to automatically detect missing format units in skipitem()

2012-05-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Can you see if you can write that test in Python? Perhaps simply providing a wrapper to cal PyArg_Parse with the arguments you want. -- ___ Python tracker

[issue14774] _sysconfigdata.py doesn't support multiple build configurations

2012-05-10 Thread Dave Malcolm
New submission from Dave Malcolm : When building from source, if I create multiple configuration directories and build from there e.g.: mkdir configs cd configs mkdir config-A cd config-A ../../configure make cd .. mkdir config-B cd config-B ../../configure --enable-shared make cd ../config-A .

[issue14774] _sysconfigdata.py doesn't support multiple build configurations

2012-05-10 Thread Dave Malcolm
Dave Malcolm added the comment: Note to self: workaround is to rm ../../Lib/_sysconfigdata.py || make ../../Lib/_sysconfigdata.py before running my tests in either configuration, to force the file to be regenerated using what "make" thinks the settings are -- ___

[issue14775] Slow unpickling of certain dictionaries in python 2.7 vs python 2.6

2012-05-10 Thread stw
New submission from stw : I've found that unpickling a certain kind of dictionary is substantially slower in python 2.7 compared to python 2.6. The dictionary has keys that are tuples of strings - a 1-tuple is enough to see the effect. The problem seems to be caused by garbage collection, as t

[issue14775] Slow unpickling of certain dictionaries in python 2.7 vs python 2.6

2012-05-10 Thread stw
Changes by stw : Added file: http://bugs.python.org/file25525/load_file.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue14775] Slow unpickling of certain dictionaries in python 2.7 vs python 2.6

2012-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: > When pickle is used to pickle the data, there is a significant slowdown > Both pickle and cPickle show a slowdown when data pickled in python 2.6 is > unpickled in python 2.7: This sounds rather weird. Presumably the structure of the pickle streams shouldn

[issue14772] Return destination values in some shutil functions

2012-05-10 Thread Brian Curtin
Brian Curtin added the comment: Here's a patch that fixes the trailing whitespace Hynek noticed as well as adds an additional test case for copy/copy2. -- Added file: http://bugs.python.org/file25526/issue14772.diff ___ Python tracker

[issue14772] Return destination values in some shutil functions

2012-05-10 Thread Brian Curtin
Brian Curtin added the comment: Added another test using move as renaming the destination file. -- Added file: http://bugs.python.org/file25527/issue14772_v2.diff ___ Python tracker ___

[issue14772] Return destination values in some shutil functions

2012-05-10 Thread Hynek Schlawack
Hynek Schlawack added the comment: Code LGTM, a deeper discussion happened on IRC. :) I'd still suggest for the sake of consistency to return the destination from copytree() too, but that can be done separately. -- stage: patch review -> commit review

[issue14366] Supporting lzma compression in zip files

2012-05-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I understand you, Martin. The time it took me to read the specification and understand where should be the checks in the module. The patch updated. The list of compression methods extended (in the future it can be used for detailed output in the printdir()), f

[issue14776] Add SystemTap static markers

2012-05-10 Thread Dave Malcolm
New submission from Dave Malcolm : I'm attaching a patch which adds static markers for SystemTap for two probeable events within CPython's bytecode interpreter, along with test cases and documentation. I'm hoping to get this merged for 3.3; is this PEP-worthy, or can this be done through patc

[issue13405] Add DTrace probes

2012-05-10 Thread Dave Malcolm
Dave Malcolm added the comment: I've refreshed my SystemTap patch, and opened a new issue, issue #14776 to cover SystemTap. Issue #4111 was originally opened on 2008-10-12 as "Add DTrace probes", and was generalized on 2009-12-08 to "Add Systemtap/DTrace probes". That issue was closed on 20

[issue13734] Add a generic directory walker method to avoid symlink attacks

2012-05-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: It would be nice if the documentation of fwalk() explained why you would want to use it over walk(). -- nosy: +benjamin.peterson ___ Python tracker ___

[issue10376] ZipFile unzip is unbuffered

2012-05-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is not because zipfile module is unbuffered. This is the difference between expensive function call and cheap bytes slicing. Replace `zf.open(namelist [0])` to `io.BufferedReader(zf.open(namelist [0]))` to see the effect of a good buffering. In 3.2 zip

[issue10376] ZipFile unzip is unbuffered

2012-05-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14777] Tkinter clipboard_get() decodes characters incorrectly

2012-05-10 Thread Thomas Kluyver
New submission from Thomas Kluyver : With the text 'abc€' copied to the clipboard, on Linux, where UTF-8 is the default encoding: Python 3.2.3 (default, Apr 12 2012, 21:55:50) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import tkinter >>> ro

[issue14766] Non-naive time comparison throws naive time error

2012-05-10 Thread Greg Weller
Greg Weller added the comment: I agree that the language in the quoted paragraph makes it sound as if any object with a non-None tzinfo is aware, which isn't the case. I've changed the first couple sentences to, I think, better reflect what characterizes an object as being aware. --

[issue14777] Tkinter clipboard_get() decodes characters incorrectly

2012-05-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Still worse. I get 'abc?'. Linux, Python 3.1, 3.2, and 3.3, UTF-8 locale. -- nosy: +storchaka versions: +Python 3.3 ___ Python tracker ___ __

[issue14778] IrrationalVersionError should include the project name

2012-05-10 Thread Nick Wilson
New submission from Nick Wilson : IrrationalVersionError in packaging/distutils2 should include the name of the project responsible for the error. It currently only includes the version: >>> import packaging.pypi.xmlrpc >>> client = packaging.pypi.xmlrpc.Client() >>> client.search_project

[issue14779] test_buffer fails on OS X universal 64-/32-bit builds

2012-05-10 Thread Ned Deily
New submission from Ned Deily : test_buffer can fail when run on an OS X 64-/32-bit universal build of Python is run in 32-bit mode. $ /usr/local/bin/python3.3 -m test test_buffer [1/1] test_buffer 1 test OK. $ /usr/local/bin/python3.3-32 -m test -v test_buffer == CPython 3.3.0a3 (v3.3.0a3:0b53

[issue14778] IrrationalVersionError should include the project name

2012-05-10 Thread Éric Araujo
Éric Araujo added the comment: Setting to easy for the next sprints. To do: add an argument to the IrrationalVersion constructor, add a test to make sure the result of __str__ includes it, and adapt the rest of the codebase to pass the project name when the exception is raised. -- k

[issue6696] Profile objects should be documented

2012-05-10 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue1508475] transparent gzip compression in urllib

2012-05-10 Thread Éric Araujo
Éric Araujo added the comment: Enabled by default with a knob to turn it off sounds good. Maybe the original headers could be preserved in some object. -- keywords: -easy, patch ___ Python tracker ___

[issue14774] _sysconfigdata.py doesn't support multiple build configurations

2012-05-10 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14774] _sysconfigdata.py doesn't support multiple build configurations

2012-05-10 Thread Éric Araujo
Éric Araujo added the comment: Would always recreating _sysconfigdata.py solve the problem? -- ___ Python tracker ___ ___ Python-bugs

[issue14772] Return destination values in some shutil functions

2012-05-10 Thread Éric Araujo
Éric Araujo added the comment: packaging/distutils2 definitely needs that; the similar functions in distutils.file_util used to return the file paths, this was lost in the conversion to shutil, and there is at least one open bug that needs it back. -- nosy: +eric.araujo _

[issue14772] Return destination values in some shutil functions

2012-05-10 Thread Brian Curtin
Brian Curtin added the comment: When you say "needs that", do you mean the patch as-is, or Hynek's suggestion to return consistently? -- ___ Python tracker ___

[issue14776] Add SystemTap static markers

2012-05-10 Thread Éric Araujo
Éric Araujo added the comment: I think the doc may be more at home in the Developer’s Guide (like the doc about GDB) rather that the new-user-oriented “Setup and Usage” doc. -- nosy: +eric.araujo ___ Python tracker

[issue14776] Add SystemTap static markers

2012-05-10 Thread Éric Araujo
Éric Araujo added the comment: BTW if you don’t get feedback in a week or two you could go to python-dev; if there is no controversy nor implications on third-party code this will likely not require a PEP, only agreement between the core devs. Good luck! -- _

[issue14772] Return destination values in some shutil functions

2012-05-10 Thread Éric Araujo
Éric Araujo added the comment: I meant that packaging needs some shutil functions to return the destination, but haven’t checked to see if that includes copytree. -- ___ Python tracker ___

[issue14770] Minor documentation fixes

2012-05-10 Thread Éric Araujo
Éric Araujo added the comment: A lot of good editions! +``$PATH``:: Would it be worth using :envvar:`PATH` here? Python-specific envvars (e.g. PYTHONPATH) are documented and can be linked to, maybe a small entry to explain common envvars like HOME and PATH would be a useful addition for n

[issue14780] SSL should use OpenSSL-defined default certificate store if ca_certs parameter is omitted

2012-05-10 Thread James Oakley
New submission from James Oakley : OpenSSL provides a method, SSL_CTX_set_default_verify_paths(), for loading a default certificate store, which is used by many distributions. In openSUSE, the default store is not a bundle, but a directory-based store, which is not supported at all by the SSL

[issue14780] SSL should use OpenSSL-defined default certificate store if ca_certs parameter is omitted

2012-05-10 Thread James Oakley
James Oakley added the comment: Here's the patch for Python 3. -- Added file: http://bugs.python.org/file25534/python-3.2.3-ssl_default_certs.patch ___ Python tracker ___ _

[issue14588] PEP 3115 compliant dynamic class creation

2012-05-10 Thread Nick Coghlan
Nick Coghlan added the comment: Based on the python-dev thread [1], the proposed name for this API is now "types.new_class()". This parallels the existing imp.new_module() naming scheme and avoids various problems with the idea of using a static method on type itself (descriptors on type beh

[issue14662] shutil.move doesn't handle ENOTSUP raised by chflags on OS X

2012-05-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset e12efebc3ba6 by Ned Deily in branch '2.7': Issue #14662: Prevent shutil failures on OS X when destination does not http://hg.python.org/cpython/rev/e12efebc3ba6 New changeset ae141eebcf96 by Ned Deily in branch '3.2': Issue #14662: Prevent shutil f

[issue14662] shutil.move doesn't handle ENOTSUP raised by chflags on OS X

2012-05-10 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch! Tested with an NFS-mounted file system on OS X. Applied for 2.7.4, 3.2.4, and 3.3.0. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <

[issue14780] SSL should use OpenSSL-defined default certificate store if ca_certs parameter is omitted

2012-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, this is basically a change in behaviour, so it could only go in the default branch (3.3). But 3.3 already has SSLContext.set_default_verify_paths(), so it's not obvious why the patch is needed. (furthermore, automatically selecting the system-wide cert

[issue14780] SSL should use OpenSSL-defined default certificate store if ca_certs parameter is omitted

2012-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, I see that the original bug is against the python-requests library? Perhaps it would be better to advocate the use of load_verify_locations() there, since it's a more adequate place for a policy decision. (that said, Python's own urllib.request co

[issue12029] ABC registration of Exceptions

2012-05-10 Thread James Henstridge
James Henstridge added the comment: The documentation for ABCMeta.register() says that it makes the other class a "virtual subclass". That would make the ABC a "virtual base class". So whether the current behaviour is correct depends on whether you consider a "virtual base" to count as a bas

[issue14776] Add SystemTap static markers

2012-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, at least it looks much cleaner that the dtrace patch. Two comments still: - is pysystemtap.h meant to be a public header? otherwise it should perhaps not end up in Include (I'm not sure what our policy is here) - perhaps get_frame_marker_info() and frien

[issue14774] _sysconfigdata.py doesn't support multiple build configurations

2012-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Is there a way of fixing this whilst keeping it a python file? Or do > we need to build from a C file, perhaps? Well I hope we don't make it a C file just for that reason. It would complicate the generation code quite a bit (right now it's just 3 lines long

[issue4841] io's close() not handling errors correctly

2012-05-10 Thread Hynek Schlawack
Changes by Hynek Schlawack : -- nosy: +hynek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.