Armin Rigo ar...@users.sourceforge.net added the comment:
Obviously we run atexit code too. There is no point in having atexit if it's
not guaranteed to run in a normal shutdown.
--
___
Python tracker rep...@bugs.python.org
Stepan Kasal ka...@ucw.cz added the comment:
Attached please find a second iteration of the fix.
This time the signature of ZipExtFile is kept backward compatible, with one new
parameter added.
--
Added file:
http://bugs.python.org/file24624/Proposed-fix-of-issue14099-second.patch
Martin v. Löwis mar...@v.loewis.de added the comment:
I'll look into this shortly.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14100
___
___
Steven Bethard steven.beth...@gmail.com added the comment:
I think adding a new formatter for man pages would be generally useful.
Assuming someone provides a patch. ;-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14102
Steven Bethard steven.beth...@gmail.com added the comment:
Yeah, the same issues have been discussed in Issue 4256. My feeling so far is
that if there isn't one true format that argparse can produce and be useful
to a wide variety of shells, then it's probably not functionality that belongs
Stefan Krah stefan-use...@bytereef.org added the comment:
STINNER Victor rep...@bugs.python.org wrote:
Your comment is incorrect, it was already failing before my commit ;-)
Example at changeset 548a023c8230:
Ah, sorry about that. I was lazy and tested against 585d3664da89 (which is a
couple
Steven Bethard steven.beth...@gmail.com added the comment:
So it seems like what bash needs and what zsh needs are pretty different. My
feeling so far is that if there isn't one true format that argparse can
produce and be useful to a wide variety of shells, then it's probably not
Mark Shannon m...@hotpy.org added the comment:
Fixed by revisions 224ebf9d428a and 38828f0c9312
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13909
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: test needed - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13909
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
New patch that changes .rsplit() too and updates docs and docstrings.
--
Added file: http://bugs.python.org/file24625/issue14081-2.diff
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a3e8f8d10dce by Ezio Melotti in branch 'default':
#13973: move a couple of imports at module level. Patch by Tshepang
Lekhonkhobe.
http://hg.python.org/cpython/rev/a3e8f8d10dce
--
nosy: +python-dev
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the report and the patch.
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
type: - enhancement
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - test needed
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8077
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +eric.araujo
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1112955
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +eli.bendersky
stage: needs patch - test needed
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10131
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +patch
stage: needs patch - patch review
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9262
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12817
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1531415
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1116520
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9056
___
Stefan Krah stefan-use...@bytereef.org added the comment:
The current interpretation in the PEP-3118 repo is that a request
without PyBUF_FORMAT means implicit cast to unsigned bytes.
This makes the behavior of PyObject_AsWriteBuffer() correct, so I'm
closing this.
--
resolution: -
Nadeem Vawda nadeem.va...@gmail.com added the comment:
I don't think there's any harm in testing that the exception message for
a .bz2 file contains the string unknown archive format. It's unlikely
that we'll want to completely change the error message in future, and if
we do, it will be pretty
Changes by wmg wmg...@gmail.com:
--
nosy: +wmgaca
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6085
___
___
Python-bugs-list mailing list
sbt shibt...@gmail.com added the comment:
Shouldn't the `for` loop be outside the outer `with` block?
Yes.
In Lib/multiprocessing/managers.py:
Is there a good reason why the wait_for() proxy method can't simply be
implemented as:
return self._callmethod('wait_for', (predicate, timeout))?
Nadeem Vawda nadeem.va...@gmail.com added the comment:
There were bugs in two of the updated tests:
- test_glob_to_re() was doing two levels of escaping (r'\' - r'')
for its expected output when it should only do one (r'\' - r'\\').
- test_process_template() was not converting some of
New submission from Nadeem Vawda nadeem.va...@gmail.com:
As I understand it, a MANIFEST.in directive:
recursive-include foo bar.*
is meant to match files under foo for with names beginning with bar..
However, the actual regex that is generated for this line is:
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
dependencies: +Impossible to include file in sdist that starts with 'build' on
Win32
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14106
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5438
___
___
Python-bugs-list
Stefan Krah stefan-use...@bytereef.org added the comment:
Thanks, Nick. I'll try to get it done this weekend.
I've uploaded Misc/NEWS and Doc/whatsnew/3.3.rst (my apologies to Antoine
for plagiarizing the first sentence, I found it hard to come up with a
better version).
I wasn't sure
New submission from Nadeem Vawda nadeem.va...@gmail.com:
On the debian bigmem buildbot, test_bigmem hangs until it gets killed
by a timeout:
http://www.python.org/dev/buildbot/all/builders/AMD64%20debian%20bigmem%203.x/builds/134/steps/test/logs/stdio
Changes by Oleg Plakhotnyuk oleg...@gmail.com:
Removed file: http://bugs.python.org/file24605/test_fractions.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14089
___
Changes by Oleg Plakhotnyuk oleg...@gmail.com:
Added file: http://bugs.python.org/file24630/test_fractions.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14089
___
Meador Inge mead...@gmail.com added the comment:
The change in error handling makes this a bit harder to review, but it
otherwise looks OK if this is the intended behavior. I am not sure that it is.
The original version:
1. If __qualname__ was present in the original dictionary,
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14081
___
___
Nick Coghlan ncogh...@gmail.com added the comment:
PEP section makes sense - I plan to mark PEP 3118 as Final once you commit this
(or you can do that yourself, for that matter).
--
___
Python tracker rep...@bugs.python.org
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14103
___
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14102
___
___
New submission from Stefan Krah stefan-use...@bytereef.org:
These two tests fail on Windows 7:
==
FAIL: test_copymode_follow_symlinks (test.test_shutil.TestShutil)
Changes by Brian Curtin br...@python.org:
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14108
___
___
Python-bugs-list
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +eric.araujo, tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14108
___
___
Brett Cannon br...@python.org added the comment:
OK, I have now done as much C code as I'm going to do for the __import__()
function. It has gotten bootstrapped importlib within 10% of normal_startup
against default.
That leaves (possibly) rewriting BuiltinImporter in C and then just good old
New submission from Stefan Krah stefan-use...@bytereef.org:
This failure occurs on the Windows 7 buildbot:
[302/364] test_lib2to3
---
D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\lib2to3\tests\test_main.py
2012-02-13 21:57:29.273004000 -0500
+++ @ 2012-02-24
Antoine Pitrou pit...@free.fr added the comment:
Are you looking for reviews at this point?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2377
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Oops, this is just undesirable output. Is there any chance to fix
this?
--
title: test_lib2to3: failure on Windows 7 - test_lib2to3: output that looks
like a failure on Windows 7
___
Python
Benjamin Peterson benja...@python.org added the comment:
Yes, though, it's not high priority atm.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14109
___
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14109
___
___
New submission from Stefan Krah stefan-use...@bytereef.org:
On FreeBSD, if the user is a member of the group 'wheel', these
tests fail:
==
FAIL: test_setegid (test.test_os.PosixUidGidTests)
Antoine Pitrou pit...@free.fr added the comment:
For the record, compilation fails here:
Python/import.c: In function ‘PyImport_ImportModuleLevelObject’:
Python/import.c:2956:9: erreur: ‘for’ loop initial declarations are only
allowed in C99 mode
Python/import.c:2956:9: note: use option
New submission from Larry A. Taylor larry.tay...@bankofamerica.com:
The attached script runs a long processing loop.
Start it in IDLE. Open the script and run it.
Press control-C. Result: message, KeyboardInterrupt with traceback message.
In shell window, turn on Debugger. Run the script.
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
Relevant line:
http://hg.python.org/cpython/file/e2eccc906354/Doc/tutorial/introduction.rst#l487
When the concept is introduced, it appears like there's an assumption that the
reader would know what it means. I'm curious if it's
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14097
___
___
Brett Cannon br...@python.org added the comment:
Fixed the 'for' loop variable declaration. Surprised clang didn't warn me about
that.
As for reviews, I'm totally happy to get them, but I also don't know if I have
hit the performance point well enough for people to allow me to merge the code
Changes by Alex Gaynor alex.gay...@gmail.com:
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2377
___
___
Python-bugs-list mailing
New submission from Nadeem Vawda nadeem.va...@gmail.com:
Recent failures on one of the Windows XP buildbots:
http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/6049/steps/test/logs/stdio
New submission from Martin v. Löwis mar...@v.loewis.de:
The 2.7.3rc1 chm give the following error when opened
Line: 1 Char: 1
The Value of the property $ is null or undefined, not a function (translated
from German)
Code: 0
URL:
Changes by Georg Brandl ge...@python.org:
--
assignee: - ezio.melotti
nosy: +ezio.melotti
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14114
___
New submission from Martin v. Löwis mar...@v.loewis.de:
As the title says: test_asynchat appears to hang on Windows.
--
messages: 154155
nosy: loewis
priority: normal
severity: normal
status: open
title: 2.7.3rc hangs on test_asynchat on 32-bit Windows
Eli Bendersky eli...@gmail.com added the comment:
Ezio, your fix for 8 is definitely good. Space makes it cleaner, as well as
compliant to PEP 8, which explicitly recommends to surround operators with
spaces.
Note, however, that this should be applied in other places as well, not only
the
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +giampaolo.rodola
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14115
___
Antoine Pitrou pit...@free.fr added the comment:
As for reviews, I'm totally happy to get them, but I also don't know
if I have hit the performance point well enough for people to allow me
to merge the code into default. I guess the real question is whether
*you're* happy with the 10%
Antoine Pitrou pit...@free.fr added the comment:
It's a duplicate of issue13837.
--
nosy: +pitrou
resolution: - duplicate
status: open - closed
superseder: - test_shutil fails with symlinks enabled under Windows
___
Python tracker
Eli Bendersky eli...@gmail.com added the comment:
Comments on some of the suggestions:
1) Agreed
2) Can be combined with (3), I think. Just show the number example with the
explanatory comments. They speak for themselves. No need for the SPAM and
STRING assignments.
5) Yep. Can be replaced by
STINNER Victor victor.stin...@gmail.com added the comment:
By the way, Python 3.2 fails also to handle
non-ASCII thousands separator or non-ASCII
decimal point: (...)
Hum, it is not trivial to redo the work on Python 3.2. I prefer to leave the
code unchanged to not introduce a regression,
New submission from sbt shibt...@gmail.com:
The __enter__() methods of Lock, RLock, Semaphore and Condition in threading
(and multiprocessing) all return True. This seems to contradict the
documentation for the context protocol which says
contextmanager.__enter__()
Enter the runtime
Jason Yeo jasonye...@gmail.com added the comment:
hi,
*friendly ping* how's the review for this patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14032
___
Jason Yeo jasonye...@gmail.com added the comment:
*friendly ping*, how's the review for this patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14026
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4256
___
___
Python-bugs-list
New submission from Terry J. Reedy tjre...@udel.edu:
Win7, 3.2.2, python -m turtledemo in Command Prompt Window
After running clock example, hitting Stop results in following:
Clock face, including hands, is erased. Day and date are left (intentional?),
and the following appears back in
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +bethard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14046
___
___
Python-bugs-list mailing
New submission from Merlijn van Deen valhall...@gmail.com:
While working on #6784, I've looked at _pickle.c and found it quite...
daunting: 6500 lines and 185kB. I have been working on a bit of cleanup, and
I'd like some comments on this.
I'm working on adapting
_pickle.c into the following
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 4afcb25988c4 by Victor Stinner in branch 'default':
Issue #14107: fix bigmem tests on str.capitalize(), str.swapcase() and
http://hg.python.org/cpython/rev/4afcb25988c4
--
nosy: +python-dev
Antoine Pitrou pit...@free.fr added the comment:
I think this is going overboard. _pickle.c is long but it defines two classes
which are closely related to each other. I don't really get the point of
exploding it into a myriad of 30-line files, especially if it means I now have
to keep all
STINNER Victor victor.stin...@gmail.com added the comment:
I ran test_bigmem on my computer. The test pass but it is really slow.
$ ./python -m test -v -M 8G test_bigmem
(...
Ran 164 tests in 3228.227s
OK (skipped=44)
1 test OK.
One hour, whereas 44 tests are skipped. Skipped tests
Nadeem Vawda nadeem.va...@gmail.com added the comment:
I ran test_bigmem on my computer. The test pass but it is really slow.
Is this with or without the fix you just pushed? How much RAM does your
system have? I tried running with -M 4.5G on my 8GB machine earlier
today, and it ate through
STINNER Victor victor.stin...@gmail.com added the comment:
I ran test_bigmem on my computer. The test pass but it is really slow.
Is this with or without the fix you just pushed? How much RAM does your
system have? I tried running with -M 4.5G on my 8GB machine earlier
today, and it ate
Merlijn van Deen valhall...@gmail.com added the comment:
That makes sense. The goal was not so much cleaning up the module per se;
rather, it was a result of trying to understand the general structure of
_pickler.c specifically.
However, is there an intermediate level of 'modularization' you
Nadeem Vawda nadeem.va...@gmail.com added the comment:
My PC has 12 GB of RAM and no swap. I ran the test after my commit.
That explains. I ran it earlier (obviously), so it included a bunch of
those more-demanding tests, which must be where the OOM killer hit it.
--
Terry J. Reedy tjre...@udel.edu added the comment:
Searching on 'exec NameError' shows that this issue is a duplicate of (behavior
issue) #1167300 which contained an essentially identical example
exec \
... x = 3
... def f():
... print x
... f()
... in {}, {}
#1167300 was closed as a
Terry J. Reedy tjre...@udel.edu added the comment:
Issues like this, about exec, have come up multiple times. I just closed #14049
as a duplicate of this, and listed there some other issues. So I think that the
doc for exec (and execfile in 2.7) could be better still. I would like to see
New submission from Nam Nguyen bits...@gmail.com:
I am running into a memory consumption issue with concurrent.futures module.
Its Executors do not have a public API to adjust their queue size. and the
queues are created unbounded initially.
It would be helpful to have some public method or
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b83ae75beaca by Victor Stinner in branch 'default':
Close #14095: type.__new__() doesn't remove __qualname__ key from the class
http://hg.python.org/cpython/rev/b83ae75beaca
--
nosy: +python-dev
resolution:
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +bethard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14074
___
___
Python-bugs-list mailing
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14076
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14089
___
___
Python-bugs-list
Nam Nguyen bits...@gmail.com added the comment:
By the way, ProcessPoolExecutor actually sets its queue size to a reasonable
number but ThreadPoolExecutor does not.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14119
Terry J. Reedy tjre...@udel.edu added the comment:
This is not a bug report, as Python works as documented.
Double underscore names are defined as *reserved* for the interpreter, with the
ones actually in use having defined meanings.
type.__new__ sets several internally used attributes on new
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14105
___
___
Python-bugs-list
Changes by Brett Cannon br...@python.org:
Added file: http://bugs.python.org/file24632/c011ff345a78.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2377
___
Brett Cannon br...@python.org added the comment:
Then if you want to give it a review that would be great!
I still need to solve the test_pydoc failure (either with Brian's patch to add
a name attribute to ImportError or implement importlib.find_module()).
Otherwise all other failures at the
Éric Araujo mer...@netwok.org added the comment:
Stefan: This fell off my radar, sorry I haven’t reviewed your patch yet.
Terry: +1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13557
Éric Araujo mer...@netwok.org added the comment:
urlparse doesn’t actually implement generic parsing rules according to the most
recent RFCs; it has hard-coded registries of supported schemes. tel is not
currently supported. That said, it’s strange that the parsing differs in your
two
Éric Araujo mer...@netwok.org added the comment:
copy2() claims to work like cp -p
It probably does, for a behavior of “cp -p” that predates extended attributes
wink.
Do you think the best way is to always copy xattrs, add a new parameter, add a
new copy function?
--
nosy:
Éric Araujo mer...@netwok.org added the comment:
Following Steven’s message, I will remove the unused function.
--
assignee: - eric.araujo
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14075
Éric Araujo mer...@netwok.org added the comment:
BTW I’m wondering if set_platform is really useful; no code currently uses it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13974
___
Éric Araujo mer...@netwok.org added the comment:
Closing as rejected for now.
--
resolution: - rejected
stage: - committed/rejected
status: open - closed
title: argparse: add ability to create a bash_completion script - argparse:
add ability to create a bash completion script
Éric Araujo mer...@netwok.org added the comment:
zsh completion is much more powerful.
I beg to differ :) bash completion can also list more that files, for example
only .bz2 files when I complete the bunzip2 command, or Mercurial branch and
tag names when I complete hg update, etc. It all
Éric Araujo mer...@netwok.org added the comment:
Thanks, will look into it.
--
assignee: - eric.araujo
components: +Distutils, Distutils2
nosy: +alexis
versions: +3rd party
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14106
Éric Araujo mer...@netwok.org added the comment:
I saw nothing wrong. Give Nick a week to find time to review :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14026
___
Éric Araujo mer...@netwok.org added the comment:
Alright :) I’ve contacted the author of the blog article to ask him if we can
reuse his code.
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14102
Changes by Nick Coghlan ncogh...@gmail.com:
--
assignee: - ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14032
___
___
Python-bugs-list
1 - 100 of 116 matches
Mail list logo