[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: > the interfaces of the v4 and v6 variants are deliberately very similar I am hoping that means 'identical, once the obvious translations are made': v4 to v6, xxx.xxx.xxx.xxx to , and anything else? > documenting everything twice seems like a rather user host

[issue12014] str.format parses replacement field incorrectly

2012-06-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15071] TLS get keys and randoms

2012-06-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, so it seems the functionality is described in http://tools.ietf.org/html/rfc5705. If I understand correctly, it takes an ASCII label string, an optional context bytestring, and the length of the desired derived key. It then returns a bytestring of the giv

[issue15071] TLS get keys and randoms

2012-06-17 Thread Daniel C.
Daniel C. added the comment: This function solve the problem "SSL_tls1_key_exporter" http://comments.gmane.org/gmane.comp.encryption.openssl.user/42015 included in the development version of OpenSSL 1.0.1 in the CVS how is the correct way to implement in the python bind? --

[issue14657] Avoid two importlib copies

2012-06-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I've committed the patch. I'm closing this issue, but of course potential improvements can be posted under a new issue. -- dependencies: -test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state resolution: -> fixed stag

[issue14657] Avoid two importlib copies

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset e3a984076837 by Antoine Pitrou in branch 'default': Issue #14657: The frozen instance of importlib used for bootstrap is now also the module imported as importlib._bootstrap. http://hg.python.org/cpython/rev/e3a984076837 -- __

[issue14215] http://www.python.org/dev/peps/ title is python.org

2012-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: As near as I can tell, pep will hold the string value "0" for the PEP index, thus the title should still be getting set. That's why I suspect a templating difference. -- ___ Python tracker

[issue14991] Option for regex groupdict() to show only matching names

2012-06-17 Thread Larry Hastings
Larry Hastings added the comment: @mrabarnett: That's right--except your tense is wrong. mo.groupdict() has supported the "default" parameter since the function was first added, way back in 1.5.2. -- ___ Python tracker

[issue12014] str.format parses replacement field incorrectly

2012-06-17 Thread Ben Wolfson
Ben Wolfson added the comment: I can certainly address those issues---I'll hold off on doing so, though, until it's clearer whether more substantive things come up, so I can just do it in a swoop. -- ___ Python tracker

[issue15087] Add gzip function to read gzip'd strings

2012-06-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks. I didn't know that this had already been added to 3.2 -- ___ Python tracker ___ ___ Pyt

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I've created a patch that disabled ur'' syntax, updates the docs and adds > some tests for u'' syntax. Don't forget tokenize module (see issue15054). -- ___ Python tracker

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14991] Option for regex groupdict() to show only matching names

2012-06-17 Thread Matthew Barnett
Matthew Barnett added the comment: @rhettinger: The problem with "nodefault" is that it's negative, so that "nodefault=False" means that you don't not want the default, if you see what I mean. I think that "suppress" would be better: mo.groupdict(suppress=True) @larry: If the parameter w

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +aronacher, flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14928] Fix importlib bootstrapping issues

2012-06-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: New patch incorporating Martin's and Nick's suggestions. -- Added file: http://bugs.python.org/file26039/cfreeze2.patch ___ Python tracker ___

[issue15082] [httplib] httplib.BadStatusLine on any HTTPS connection in certain unknown cases.

2012-06-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-17 Thread Éric Araujo
Éric Araujo added the comment: Forgot the reference: http://sphinx.pocoo.org/domains.html#directive-py:exception -- ___ Python tracker ___ _

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-17 Thread Éric Araujo
Éric Araujo added the comment: A small markup error in the doc: in “.. exception:: Custom(ValueError)” (as in “.. class:: SomeThing(BaseThing)”), the parens are supposed to contain the signature for the constructor, not the base classes. (Sorry I’m not replying to the python-checkins email; m

[issue15098] "TypeError" can give a misleading message

2012-06-17 Thread R. David Murray
R. David Murray added the comment: This is fixed in Python3: >>> def foo(a, b=None): ... pass ... >>> foo(b=1) Traceback (most recent call last): File "", line 1, in TypeError: foo() missing 1 required positional argument: 'a' -- nosy: +r.david.murray resolution: -> out of date

[issue15098] "TypeError" can give a misleading message

2012-06-17 Thread Marco Buccini
New submission from Marco Buccini : Suppose that you have an instance method that takes 2 arguments: one is required, while the other is a keyword argument. If you call that method without passing the required argument, but instead you only set the keyword argument, then you will get a TypeEr

[issue15097] Improving wording on the thread-safeness of import

2012-06-17 Thread Merlijn van Deen
Merlijn van Deen added the comment: First off, thank you for your response. > The existence of an import lock is deliberately omitted from the text, > and the reader is supposed to abide by the restriction as written > regardless of the motivation behind it. > The entire notion of an import lo

[issue14840] Tutorial: Add a bit on the difference between tuples and lists

2012-06-17 Thread Éric Araujo
Éric Araujo added the comment: Great addition, thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue15097] Improving wording on the thread-safeness of import

2012-06-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: > which, I think, fails to make the main point: I disagree. It currently makes it main point, but stops doing so under your rephrasing. The main point of that section is "While the import machinery is thread-safe, there are two key restrictions on threaded im

[issue15090] Add etag support to urllib.request.urlretrieve()

2012-06-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1508475] transparent gzip compression in urllib

2012-06-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue15089] Add gzip support to urllib.request.retrieve()

2012-06-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15097] Improving wording on the thread-safeness of import

2012-06-17 Thread Merlijn van Deen
Changes by Merlijn van Deen : Added file: http://bugs.python.org/file26038/deadlock.py ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue15097] Improving wording on the thread-safeness of import

2012-06-17 Thread Merlijn van Deen
Changes by Merlijn van Deen : Removed file: http://bugs.python.org/file26037/deadlock.py ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue15097] Improving wording on the thread-safeness of import

2012-06-17 Thread Merlijn van Deen
New submission from Merlijn van Deen : http://docs.python.org/library/threading.html#importing-in-threaded-code Currently, the documentation states "Firstly, other than in the main module, an import should not have the side effect of spawning a new thread and then waiting for that thread in any

[issue15095] test_imaplib problem - intermittent skips and LOGINDISABLED not reported

2012-06-17 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Christian Heimes
Christian Heimes added the comment: +1 Raw unicode strings are rarely used and it's easy to overcome the limitation. I've created a patch that disabled ur'' syntax, updates the docs and adds some tests for u'' syntax. I couldn't find any tests for the syntax ... shame on you! :) --

[issue15038] Optimize python Locks on Windows

2012-06-17 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Ok, I take the lack of negative reviews as a general approvement. I'll improve comments a bit, write the appropriate NEWS item and make a commit soon. -- ___ Python tracker

[issue3665] Support \u and \U escapes in regexes

2012-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is updated (in conforming with PEP 393) patch. In additional octal and hexadecimal escaping cleared, illegal error message for hexadecimal escaping fixed. Added new tests for octal and hexadecimal escaping. -- Added file: http://bugs.python.org

[issue14215] http://www.python.org/dev/peps/ title is python.org

2012-06-17 Thread Ezio Melotti
Ezio Melotti added the comment: The title for the PEPs seem to be set in the fixfile function, at the line 206. Maybe something like: if pep: title = "PEP " + pep + " -- " + title else: title = "PEP index" works, assuming that only title-less page is the index.

[issue14215] http://www.python.org/dev/peps/ title is python.org

2012-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: I'm expecting the "pep2pyramid.py" part to change at the very least. However, back on topic, I actually hit the limits of my knowledge of the PEP build process reading that script. As near as I can tell, PEP 0 should have the same "title" information as is av

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Nick Coghlan
Changes by Nick Coghlan : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15096] Drop support for the "ur" string prefix

2012-06-17 Thread Nick Coghlan
New submission from Nick Coghlan : When PEP 414 restored support for explicit Unicode literals in Python 3, the "ur" string prefix was deemed to be a synonym for the "r" prefix. However, "ur" in 2.x was only kinda-sorta-raw, since it still supported Unicode escapes: $ python Python 2.7.3 (def

[issue14215] http://www.python.org/dev/peps/ title is python.org

2012-06-17 Thread Michael Foord
Michael Foord added the comment: As the PEPs are "development docs", like the Python documentation itself, I wouldn't have *expected* it to be covered by the redesign. Does this require anything more than an update to the PEP index template? -- ___

[issue14840] Tutorial: Add a bit on the difference between tuples and lists

2012-06-17 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue14840] Tutorial: Add a bit on the difference between tuples and lists

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset bb63919cde6e by Ezio Melotti in branch '2.7': #14840: Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware. http://hg.python.org/cpython/rev/bb63919cde6e New changeset 3550416d83b3 by Ezio Melotti in branch '3.2': #

[issue13797] Allow objects implemented in pure Python to export PEP 3118 buffers

2012-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: I suggest a PEP for 3.4 as the best way forward for this. -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___

[issue14469] Python 3 documentation links

2012-06-17 Thread Ezio Melotti
Changes by Ezio Melotti : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14919] what disables one from adding self to the "nosy" list

2012-06-17 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue14919] what disables one from adding self to the "nosy" list

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2171bb071dd6 by Ezio Melotti in branch 'default': #14919: clarify paragraph in the devguide. http://hg.python.org/devguide/rev/2171bb071dd6 -- nosy: +python-dev ___ Python tracker

[issue13515] Consistent documentation practices for security concerns and considerations

2012-06-17 Thread Ezio Melotti
Ezio Melotti added the comment: The new theme of the docs should solve the issue about the scary red boxes, but the original report is still valid. -- ___ Python tracker ___ __

[issue13455] Reorganize tracker docs in the devguide

2012-06-17 Thread Ezio Melotti
Ezio Melotti added the comment: The attached patch has been committed in 252e2aabc87a, and the wiki pages have been updated to link to the devguide. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python

[issue15095] test_imaplib problem - intermittent skips and LOGINDISABLED not reported

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4028bb7a5ac2 by Nick Coghlan in branch '3.2': Issue #15095: Use better assertions in test_imaplib http://hg.python.org/cpython/rev/4028bb7a5ac2 New changeset bbe1a2049ca1 by Nick Coghlan in branch 'default': Merge from 3.2 (Issue #15095: Use better

[issue15095] test_imaplib problem - intermittent skips and LOGINDISABLED not reported

2012-06-17 Thread Nick Coghlan
New submission from Nick Coghlan : When running the test suite on Fedora 17 (and behind a couple of layers of NAT), I see the following problems: Intermittently: skipped "Resource 'cyrus.andrew.cmu.edu' is not available" Consistently (with a couple of tests updated to use the improved assertio

[issue15093] ntpath.isdir returns False for directory symlinks

2012-06-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue15089] Add gzip support to urllib.request.retrieve()

2012-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> duplicate status: open -> closed superseder: -> transparent gzip compression in urllib ___ Python tracker ___

[issue15090] Add etag support to urllib.request.urlretrieve()

2012-06-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: urlretrieve() is the old urllib interface. You probably want to improve the urllib2-inherited urlopen() instead. -- nosy: +orsenthil, pitrou versions: +Python 3.3 -Python 3.4 ___ Python tracker

[issue15087] Add gzip function to read gzip'd strings

2012-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: invalid -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list m

[issue15094] Incorrectly placed #endif in _tkinter.c.

2012-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue15092] Using enum PyUnicode_Kind

2012-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: Also added an FAQ with the specific ~/.gdbinit entry needed to get it running in http://hg.python.org/devguide/rev/1d81501be702 I did try adding a similar command directly to the gdb invocation, but, as far as I can tell, any commands specified as arguments run

[issue14928] Fix importlib bootstrapping issues

2012-06-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Yes indeed. That's not deliberate, but because of how Makefile > dependencies are specified (importlib.h needs the _freeze_importlib > executable to be rebuilt, but it should really depend on the > _freeze_importlib.c timestamp). Do you have an idea to avoid

[issue15094] Incorrectly placed #endif in _tkinter.c.

2012-06-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : #endif is placed incorrectly in _tkinter.c. As a result, braces are unbalanced when TCL_UTF_MAX != 3. This is Python 3.3 only error. There are no tests yet. Just wait a few years until TCL will support non-BMP characters or use a time machine. --

[issue15091] ImportError when package is symlinked on Unix

2012-06-17 Thread Waldemar Kornewald
Changes by Waldemar Kornewald : -- nosy: +wkornewald ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14928] Fix importlib bootstrapping issues

2012-06-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > IIUC, this patch will cause importlib.h to always be built when > building from source, since _freeze_importlib will be built. Yes indeed. That's not deliberate, but because of how Makefile dependencies are specified (importlib.h needs the _freeze_importlib e

[issue15091] ImportError when package is symlinked on Unix

2012-06-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: I should point out that some of those failures (e.g. x86 Solaris 11 3.x) weren't triggered by the change, but many were. -- ___ Python tracker __

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: Added new section to devguide in http://hg.python.org/devguide/rev/9fee8e6c2619 -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue14973] restore python2 unicode literals in "ur" strings

2012-06-17 Thread Vinay Sajip
Vinay Sajip added the comment: See also http://mail.python.org/pipermail/python-list/2012-June/625406.html -- nosy: +aronacher, vinay.sajip ___ Python tracker ___ _

[issue13823] xml.etree.ElementTree.ElementTree.write - argument checking

2012-06-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15093] ntpath.isdir returns False for directory symlinks

2012-06-17 Thread Jason R. Coombs
New submission from Jason R. Coombs : On Unix: python -c "import os; os.mkdir('bar'); os.symlink('bar', 'foo'); print(os.path.isdir('foo'))" True On Windows: python -c "import os; os.mkdir('bar'); os.symlink('bar', 'foo'); print(os.path.isdir('foo'))" False Windows should correctly discern t

[issue15092] Using enum PyUnicode_Kind

2012-06-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Now a string kind declared in different places of code as `enum PyUnicode_Kind`, `int` or `unsigned int`. Working on the codecs optimization, I noticed that sometimes the use of `enum PyUnicode_Kind` gives a little advantage over the use of int's. Probabl

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9456591d0761 by Nick Coghlan in branch 'default': Merge from 3.2 (Issue #15043: skip test_gdb if the custom hooks can't be loaded) http://hg.python.org/cpython/rev/9456591d0761 -- ___ Python tracker

[issue6727] ImportError when package is symlinked on Windows

2012-06-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've disabled the test on non-Windows systems and created issue15091 to track the issue. -- ___ Python tracker ___ ___

[issue15091] ImportError when package is symlinked on Unix

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 939a68f5d14c by Jason R. Coombs in branch 'default': Disable test on Unix. Causes buildbots to fail. See Issue #15091 http://hg.python.org/cpython/rev/939a68f5d14c -- nosy: +python-dev ___ Python tracker

[issue15091] ImportError when package is symlinked on Unix

2012-06-17 Thread Jason R. Coombs
New submission from Jason R. Coombs : In testing issue6727, I added a test (http://hg.python.org/cpython/rev/afe67ea94bc6) to the default branch. The test passes on Windows, but fails on some of the Unix buildbots. Here's a quick breakdown of where it's passing and failing: fail: x86 Gentoo

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ac2f5067c220 by Nick Coghlan in branch '2.7': Issue #15043: skip test_gdb if the custom hooks can't be loaded (backport from 3.x) http://hg.python.org/cpython/rev/ac2f5067c220 -- ___ Python tracker

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2db5010a610c by Nick Coghlan in branch '3.2': Issue #15043: skip test_gdb if the custom hooks can't be loaded http://hg.python.org/cpython/rev/2db5010a610c -- nosy: +python-dev ___ Python tracker

[issue15044] _dbm not building on Fedora 17

2012-06-17 Thread Ross Lagerwall
Ross Lagerwall added the comment: Yeah, after I submitted the patch, I was unsure if that was a good idea or if it should try and use gdbm in native mode if possible. -- ___ Python tracker ___

[issue14055] Implement __sizeof__ for etree Element

2012-06-17 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14055] Implement __sizeof__ for etree Element

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 093dec81ea1f by Martin v. Löwis in branch 'default': Issue #14055: Add __sizeof__ support to _elementtree. http://hg.python.org/cpython/rev/093dec81ea1f -- nosy: +python-dev ___ Python tracker

[issue15044] _dbm not building on Fedora 17

2012-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: I committed the fix to at least get things building again, but this should probably get a NEWS entry (since builds that would have previously used gdbm directly will now use it in ndbm compatibility mode instead) --

[issue15044] _dbm not building on Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4d62f788aa19 by Nick Coghlan in branch '2.7': Issue #15044: Handle Fedora 17's approach to ndbm compatibility (backport from 3.x) http://hg.python.org/cpython/rev/4d62f788aa19 -- ___ Python tracker

[issue6727] ImportError when package is symlinked on Windows

2012-06-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: It seems that by adding the test to the default branch, the buildbots are now broken for Unix systems (they're failing the test). I'm going to await the results from the Windows buildbots, and then skip the tests on the failing platforms. -- __

[issue15044] _dbm not building on Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset e2be1f43beed by Nick Coghlan in branch '3.2': Issue #15044: Handle Fedora 17's approach to ndbm compatibility http://hg.python.org/cpython/rev/e2be1f43beed New changeset 1f6c23ed8218 by Nick Coghlan in branch 'default': Merge from 3.2. (Issue #1504

[issue15087] Add gzip function to read gzip'd strings

2012-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why not simple gzip.GzipFile(fileobj=u).read()? -- nosy: +storchaka status: pending -> open ___ Python tracker ___ __

[issue6727] ImportError when package is symlinked on Windows

2012-06-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: I don't know what changed in 3.3 to address this issue; likely candidates are the VS 2010 upgrade or the rewrite of the import machinery. In either case, best I can tell, 3.3 is no longer implicated. -- ___ Python

[issue15044] _dbm not building on Fedora 17

2012-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: Patch works for me, and looks pretty safe for other platforms. -- ___ Python tracker ___ ___ Python-b

[issue15089] Add gzip support to urllib.request.retrieve()

2012-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Isn't this a duplicate of issue1508475? -- nosy: +storchaka ___ Python tracker ___ ___ Python-bug

[issue15090] Add etag support to urllib.request.urlretrieve()

2012-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue6727] ImportError when package is symlinked on Windows

2012-06-17 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- versions: -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue6727] ImportError when package is symlinked on Windows

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset afe67ea94bc6 by Jason R. Coombs in branch 'default': Adding test from issue6727 demonstrating that symlink import issue does not occur here in 3.3 http://hg.python.org/cpython/rev/afe67ea94bc6 -- ___ Py

[issue14928] Fix importlib bootstrapping issues

2012-06-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: IIUC, this patch will cause importlib.h to always be built when building from source, since _freeze_importlib will be built. Is it then the plan to drop importlib.h from version control? If so, the Windows build process would need to be adjusted as well (wit

[issue14055] Implement __sizeof__ for etree Element

2012-06-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: Given how C's sizeof works, it may be debatable whether it's natural to expect that sys.getsizeof should be recursive. If you have a struct with pointers (say, char*) in C, and you do sizeof, the string length isn't considered, either. But I'm certainly fin

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: OK, dropping to "deferred blocker" status, as I think the docs are now good enough for beta 1. We still want to get the public methods and properties for the various objects documented during the beta period, though. I'm not sure how best to handle that, thoug

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset cacf3b1e20da by Nick Coghlan in branch 'default': Issue #14814: Add first draft of PEP 3144 ipaddress module documentation (initial patch by Sandro Tosi) http://hg.python.org/cpython/rev/cacf3b1e20da -- ___

[issue15090] Add etag support to urllib.request.urlretrieve()

2012-06-17 Thread Raymond Hettinger
New submission from Raymond Hettinger : Add an optional argument to urlretrieve to specify an etag for previously downloaded content: >>> urlretrieve('example.com/data.txt', etag="105800d-4af6-4c29d893d69c0") That optional argument would add the following to the outgoing headers: "If-