Nick Coghlan ncogh...@gmail.com added the comment:
I looked into the idea of treating networks as containers of interface objects
rather than addresses - it turns out it gets messy very quickly, because you
definitely want your network address and broadcast address to be ordinary
addresses,
New submission from Raymond Hettinger raymond.hettin...@gmail.com:
Enable retrieve() to take advantage of data compression in HTTP requests.
* In the request, add the header Accept-Encoding: gzip.
* In the response, check the headers for Content-Encoding: gzip.
* Convert the downloaded content
New submission from Raymond Hettinger raymond.hettin...@gmail.com:
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
Roundup Robot devn...@psf.upfronthosting.co.za 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
--
Nick Coghlan ncogh...@gmail.com 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
Martin v. Löwis mar...@v.loewis.de 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.
Martin v. Löwis mar...@v.loewis.de 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
Roundup Robot devn...@psf.upfronthosting.co.za 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
--
Changes by Jason R. Coombs jar...@jaraco.com:
--
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15090
___
___
Python-bugs-list
Serhiy Storchaka storch...@gmail.com added the comment:
Isn't this a duplicate of issue1508475?
--
nosy: +storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15089
___
Nick Coghlan ncogh...@gmail.com added the comment:
Patch works for me, and looks pretty safe for other platforms.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15044
___
Jason R. Coombs jar...@jaraco.com 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.
--
Serhiy Storchaka storch...@gmail.com added the comment:
Why not simple gzip.GzipFile(fileobj=u).read()?
--
nosy: +storchaka
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15087
Roundup Robot devn...@psf.upfronthosting.co.za 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
Jason R. Coombs jar...@jaraco.com 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.
Roundup Robot devn...@psf.upfronthosting.co.za 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
--
Nick Coghlan ncogh...@gmail.com 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)
--
Roundup Robot devn...@psf.upfronthosting.co.za 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
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14055
___
Ross Lagerwall rosslagerw...@gmail.com 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 rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za 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
Roundup Robot devn...@psf.upfronthosting.co.za 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
--
New submission from Jason R. Coombs jar...@jaraco.com:
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:
Roundup Robot devn...@psf.upfronthosting.co.za 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
Jason R. Coombs jar...@jaraco.com added the comment:
I've disabled the test on non-Windows systems and created issue15091 to track
the issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
Roundup Robot devn...@psf.upfronthosting.co.za 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
--
New submission from Serhiy Storchaka storch...@gmail.com:
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
New submission from Jason R. Coombs jar...@jaraco.com:
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
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13823
___
___
Python-bugs-list
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
See also
http://mail.python.org/pipermail/python-list/2012-June/625406.html
--
nosy: +aronacher, vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14973
Nick Coghlan ncogh...@gmail.com 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 rep...@bugs.python.org
Jason R. Coombs jar...@jaraco.com 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 rep...@bugs.python.org
Antoine Pitrou pit...@free.fr 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
Changes by Waldemar Kornewald wkornew...@gmail.com:
--
nosy: +wkornewald
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15091
___
___
New submission from Serhiy Storchaka storch...@gmail.com:
#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
Martin v. Löwis mar...@v.loewis.de 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
Nick Coghlan ncogh...@gmail.com 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
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15092
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15094
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: invalid - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15087
___
Antoine Pitrou pit...@free.fr 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
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - duplicate
status: open - closed
superseder: - transparent gzip compression in urllib
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15089
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15093
___
___
New submission from Nick Coghlan ncogh...@gmail.com:
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
Roundup Robot devn...@psf.upfronthosting.co.za 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
Ezio Melotti ezio.melo...@gmail.com 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
Ezio Melotti ezio.melo...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue13515
Roundup Robot devn...@psf.upfronthosting.co.za 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
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14919
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14469
___
___
Nick Coghlan ncogh...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue13797
Roundup Robot devn...@psf.upfronthosting.co.za 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
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the patch!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14840
Michael Foord mich...@voidspace.org.uk 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?
--
New submission from Nick Coghlan ncogh...@gmail.com:
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
Changes by Nick Coghlan ncogh...@gmail.com:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15096
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15096
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15096
___
___
Python-bugs-list
Nick Coghlan ncogh...@gmail.com 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
Ezio Melotti ezio.melo...@gmail.com 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
Serhiy Storchaka storch...@gmail.com 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:
Kristján Valur Jónsson krist...@ccpgames.com 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
Christian Heimes li...@cheimes.de 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
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +email
nosy: +barry, r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15095
___
New submission from Merlijn van Deen valhall...@gmail.com:
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
Changes by Merlijn van Deen valhall...@gmail.com:
Removed file: http://bugs.python.org/file26037/deadlock.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15097
___
Changes by Merlijn van Deen valhall...@gmail.com:
Added file: http://bugs.python.org/file26038/deadlock.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15097
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15089
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1508475
___
___
Python-bugs-list mailing
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15090
___
___
Python-bugs-list mailing list
Martin v. Löwis mar...@v.loewis.de 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
Éric Araujo mer...@netwok.org added the comment:
Great addition, thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14840
___
___
Merlijn van Deen valhall...@gmail.com 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
New submission from Marco Buccini marcu...@gmail.com:
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
R. David Murray rdmur...@bitdance.com added the comment:
This is fixed in Python3:
def foo(a, b=None):
... pass
...
foo(b=1)
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: foo() missing 1 required positional argument: 'a'
--
nosy: +r.david.murray
Éric Araujo mer...@netwok.org 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
Éric Araujo mer...@netwok.org added the comment:
Forgot the reference:
http://sphinx.pocoo.org/domains.html#directive-py:exception
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14814
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15082
___
___
Python-bugs-list mailing list
Antoine Pitrou pit...@free.fr added the comment:
New patch incorporating Martin's and Nick's suggestions.
--
Added file: http://bugs.python.org/file26039/cfreeze2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14928
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +aronacher, flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15096
___
___
Matthew Barnett pyt...@mrabarnett.plus.com 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)
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15096
___
___
Serhiy Storchaka storch...@gmail.com 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
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Thanks. I didn't know that this had already been added to 3.2
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15087
___
Ben Wolfson wolf...@gmail.com 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
Larry Hastings la...@hastings.org 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
Nick Coghlan ncogh...@gmail.com 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
Roundup Robot devn...@psf.upfronthosting.co.za 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.
Antoine Pitrou pit...@free.fr 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:
Daniel C. llaniscud...@gmail.com 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?
Antoine Pitrou pit...@free.fr 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
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12014
___
___
Python-bugs-list
93 matches
Mail list logo