[issue11787] File handle leak in TarFile lib

2011-04-09 Thread Lars Gustäbel
Changes by Lars Gustäbel : -- assignee: -> lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue11776] types.MethodType() params and usage is not documented

2011-04-09 Thread Georg Brandl
Georg Brandl added the comment: When we do document types, their constructors and methods should also be documented. This is a valid request. -- nosy: +georg.brandl ___ Python tracker ___

[issue11806] Missing 2 hyphens in the docs

2011-04-09 Thread Boštjan Mejak
New submission from Boštjan Mejak : Please see http://docs.python.org/py3k/library/argparse.html#module-argparse and read the first sentence which goes... "The argparse module makes it easy to write user friendly command line interfaces." Please fix this to... "The argparse module makes it

[issue11796] Comprehensions in a class definition mostly cannot access class variable

2011-04-09 Thread Menno Smits
Menno Smits added the comment: Thanks to everyone for the explanations. I was hoping for behaviour along the lines of Python 2 (certainly not artificially blocking more cases in the name of consistency) but it doesn't look like that's going to happen. I think this is one slight and rare area

[issue11807] Documentation of add_subparsers lacks information about parametres

2011-04-09 Thread Filip Gruszczyński
New submission from Filip Gruszczyński : In argparse documentation parametres of add_subparsers are not listed. And yet there are some really useful parametres like parser_class. It would be useful, it they were described there well and one wouldn't have to look into the code to find them :-)

[issue11807] Documentation of add_subparsers lacks information about parametres

2011-04-09 Thread Filip Gruszczyński
Changes by Filip Gruszczyński : -- nosy: +bethard ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue9904] Cosmetic issues that may warrant a fix in symtable.h/c

2011-04-09 Thread Nick Coghlan
Nick Coghlan added the comment: +1 for clarifying the comments. Adding comments for the apparently unused fields (as per my last tracker comment) would be good, too. -- ___ Python tracker _

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-09 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Fri, Apr 08, 2011 at 09:03:51PM +, Torsten Becker wrote: > I was about to look into this over the weekend, but of course I don't > want to steal your fun, Steffen. :) Toll, toll, toll!! Still cherry blossom, thanks to the weather, apple blossom

[issue11770] inspect.dir_static

2011-04-09 Thread Michael Foord
Michael Foord added the comment: Thanks for the patch Andreas. On a quick read through it looks good. I'll do a proper review shortly. -- ___ Python tracker ___ ___

[issue11782] email.generator.Generator.flatten() fails

2011-04-09 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Fri, Apr 08, 2011 at 11:39:36PM +, Terry J. Reedy wrote: > 1. What is a minimal msgdata that gives the same error; post it. Stepping a bit.. Remove 'Content-Type' header field and this does not crash. Thus the real problem may again lie in get

[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c

2011-04-09 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Ping! Note that whatever reason caused jesstess, to name a few, to drop that loop (and the continue), Charles-Francois posted a correctly working patch! I have no idea why such a severe bug could sleep in code which is executed for each and every input()

[issue11700] mailbox.py proxy updates

2011-04-09 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: .. > So here is the rewritten .yeah-2.diff. .. > I added more tests (i'm absolutely convinced that the tests i've > found in test_mailbox.py really find all the cutting edges <;). > On my box this is clean. Haha, now this is *very* funny! __ Tr

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-04-09 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file21585/filecmp-lru-cache-2.7.diff ___ Python tracker ___ ___ Python-bugs-list

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-04-09 Thread Éric Araujo
Éric Araujo added the comment: Why use an ordered dict instead of functools.lru_cache? -- versions: +Python 3.1 ___ Python tracker ___ __

[issue6040] bdist_msi does not deal with pre-release version

2011-04-09 Thread Éric Araujo
Éric Araujo added the comment: Well, this is the bug tracker for the stdlib. We have first to define clearly what the bug is, then find how to fix it in packaging (the name of distutils2 merged into 3.3), then decide whether to backport it to distutils. Half-tested recipes to work-around th

[issue11805] package_data only allows one glob per-package

2011-04-09 Thread Éric Araujo
Éric Araujo added the comment: What’s the syntax described in the docs? package_data = mypackage = templates/*.html static/css/*.css or package_data = mypackage = templates/*.html mypackage = static/css/*.css ? On a related subject, I think the new resources system sho

[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c

2011-04-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset f343ac51 by Victor Stinner in branch '3.1': Issue #11650: PyOS_StdioReadline() retries fgets() if it was interrupted http://hg.python.org/cpython/rev/f343ac51 New changeset fc2f251e660a by Victor Stinner in branch '3.2': (Merge 3.1) Issue #

[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c

2011-04-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7febd5ef7619 by Victor Stinner in branch '2.7': (Merge 3.1) Issue #11650: PyOS_StdioReadline() retries fgets() if it was http://hg.python.org/cpython/rev/7febd5ef7619 -- ___ Python tracker

[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c

2011-04-09 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Merci, STINNER Victor! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c

2011-04-09 Thread STINNER Victor
STINNER Victor added the comment: I emulated Mac OS X behaviour on Linux by hacking my_fgets(): do { p=NULL; errno = EINTR; }, only after the first call to fgets(). Without the patch, Python does exit immediatly. With the patch, Python doesn't exit. I applied neologix's patch to 3.1, 3.2, 3.3

[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c

2011-04-09 Thread Davide Rizzo
Davide Rizzo added the comment: Victor, I have neither OS X nor Linux available right now, but if I remember correctly the same happens on both systems when programs call input() (but not from the REPL). See also my previous message with "python -c" tests and my second remark. What about the

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-04-09 Thread Nadeem Vawda
Nadeem Vawda added the comment: Because the lru_cache decorator doesn't provide any way to invalidate stale cache entries. Perhaps I should factor out the duplicated code into a separate class that can then also be exposed to users of the stdlib. But that would only apply to 3.3, so the uglier

[issue11808] $MACOSX_DEPLOYMENT_TARGET mismatch ... during configure

2011-04-09 Thread Steffen Daode Nurpmeso
New submission from Steffen Daode Nurpmeso : Hello Mac OS X gurus, if i else DEBUG='--with-pydebug' echo Using --with-pydebug fi ./configure --prefix="$HOME/usr/opt/$PREFIX" $DEBUG make -j2 all i get this /usr/bin/gcc -c -fno-strict-aliasing -g -O0 -Wall -Wstrict-prototypes

[issue11808] $MACOSX_DEPLOYMENT_TARGET mismatch ... during configure

2011-04-09 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: P.S.: this does not happen if i use ./configure --prefix="$HOME/usr/opt/$PREFIX" $DEBUG MACOSX_DEPLOYMENT_TARGET=10.6 -- ___ Python tracker

[issue11808] $MACOSX_DEPLOYMENT_TARGET mismatch ... during configure

2011-04-09 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: The problem goes away if i comment out all the Mercurial queries in Makefile: HGVERSION= #hg id -i $(srcdir) HGTAG= #hg id -t $(srcdir) HGBRANCH= #hg id -b $(srcdir) -- ___ Python tracke

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-04-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: I question whether this should be backported. Please discuss with the RM. -- ___ Python tracker ___ ___

[issue11808] $MACOSX_DEPLOYMENT_TARGET mismatch ... during configure

2011-04-09 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. This is another case of the problem described in Issue9516, in particular msg130666 except now it is hg invoking another Python during the build process. The sysconfig part of the patch for Issue9516 applied to the "build" Python 2.7 used

[issue6040] bdist_msi does not deal with pre-release version

2011-04-09 Thread anatoly techtonik
anatoly techtonik added the comment: Feel free to copy this report for a clear user story - http://twistedmatrix.com/trac/ticket/5024 -- ___ Python tracker ___ _

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-04-09 Thread Nadeem Vawda
Nadeem Vawda added the comment: > I question whether this should be backported. Please discuss with the RM. Will do. Are you referring specifically to 2.7, or to 3.1 and 3.2 as well? -- ___ Python tracker __

[issue11779] test_mmap timeout (30 min) on "AMD64 Snow Leopard 3.x" buildbot

2011-04-09 Thread Ross Lagerwall
Ross Lagerwall added the comment: OS X filesystem does not support seeking ahead to create sparse files. The test is supposed to skip the LargeMmapTests on OS X and Windows with (line 679 of test_mmap.py): if sys.platform[:3] == 'win' or sys.platform == 'darwin': requires('largefile', 'test

[issue11707] Create C version of functools.cmp_to_key()

2011-04-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Georg, would you opine on whether this should to into 3.2.1? -- status: closed -> open ___ Python tracker ___ __

[issue11779] test_mmap timeout (30 min) on "AMD64 Snow Leopard 3.x" buildbot

2011-04-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, buildbots run tests with "-uall", so the "largefile" resource gets enabled. -- nosy: +pitrou ___ Python tracker ___

[issue11805] package_data only allows one glob per-package

2011-04-09 Thread Erik Bray
Erik Bray added the comment: As far as I've been able to tell there is no proposed syntax in the docs specifically for package_data. The docs for the resources option seems to suggest separating globs with spaces, which would be fine by me (wouldn't allow paths that contain spaces, but that'

[issue11757] test_subprocess.test_communicate_timeout_large_ouput failure on select(): negative timeout?

2011-04-09 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > Oh, I didn't know. In this case, is my commit 3664fc29e867 correct? I > think that it is, because without the patch, subprocess may call poll() > with a negative timeout, and so it is no more a timeout at all. > Yes, it looks correct. But I think the

[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c

2011-04-09 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Sat, Apr 09, 2011 at 02:18:01PM +, STINNER Victor wrote: > I noticied a strange behaviour: So forget all this girlie s...! Here is a real man's patch!! You'll notice mysterious function calls with a Py prefix - they're necessary in this environme

[issue11719] test_msilib skip unexpected on non-Windows platforms

2011-04-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset d4730f14b6c0 by Ross Lagerwall in branch '3.1': Issue #11719: Fix message about unexpected test_msilib skip. http://hg.python.org/cpython/rev/d4730f14b6c0 New changeset 8b146103d29e by Ross Lagerwall in branch '2.7': Issue #11719: Fix message about

[issue11719] test_msilib skip unexpected on non-Windows platforms

2011-04-09 Thread Ross Lagerwall
Ross Lagerwall added the comment: Thanks for the patch. -- assignee: -> rosslagerwall nosy: +rosslagerwall resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker <

[issue11782] email.generator.Generator.flatten() fails

2011-04-09 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Sat, Apr 09, 2011 at 11:56:16AM +, Steffen Daode Nurpmeso wrote: > I'll try to instrument the path a bit .. Sorry, no time today. All the stuff next week. Nice weekend. -- ___ Python tracker

[issue11809] Rietveld Code Review Tool can't handle well-known controls

2011-04-09 Thread Steffen Daode Nurpmeso
New submission from Steffen Daode Nurpmeso : The file http://bugs.python.org/file21593/11650.termios.diff cannot be parsed, i guess it's due to ^D, ^Z, ^\ and ^C being embedded as ASCII control characters. Maybe this is a feature, though. Then someone should close this. Nice weekend all of you.

[issue11809] Rietveld Code Review Tool can't handle well-known controls

2011-04-09 Thread Georg Brandl
Georg Brandl added the comment: This should go to the meta-tracker, http://psf.upfronthosting.co.za/roundup/meta/. -- nosy: +georg.brandl resolution: -> invalid status: open -> closed ___ Python tracker

[issue11707] Create C version of functools.cmp_to_key()

2011-04-09 Thread Georg Brandl
Georg Brandl added the comment: I would have to say that this looks hardly a trivial speed patch, and chances are we cannot guarantee 100% behavior compatibility with the pure-Python version. If you disagree with these two points, then I'm okay with it going in. -- _

[issue11707] Create C version of functools.cmp_to_key()

2011-04-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: I agree (and was going back and forth between +0 and -0). -- status: open -> closed ___ Python tracker ___ _

[issue9670] Exceed Recursion Limit in Thread

2011-04-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset b0d2b696da19 by Ned Deily in branch '2.7': Issue #9670: Increase the default stack size for secondary threads on http://hg.python.org/cpython/rev/b0d2b696da19 New changeset 378b40d71175 by Ned Deily in branch '3.1': Issue #9670: Increase the defaul

[issue11747] unified_diff function product incorrect range information

2011-04-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: [Uncle Timmy] > Would have to look at the history to see who added it, and ask them. That would be me :-) At the time, the goals were to: 1) make an easy-to-use, readable output format for file comparisons, 2) use the unmodified output of the existing S

[issue9670] Exceed Recursion Limit in Thread

2011-04-09 Thread Ned Deily
Ned Deily added the comment: Applied in 2.7 (for release in 2.7.2), 3.1 (for 3.1.4). 3.2 (for 3.2.1), and default (for 3.3). -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue9670] Exceed Recursion Limit in Thread

2011-04-09 Thread Ned Deily
Ned Deily added the comment: Looks like the patch breaks the OpenIndiana buildbots: http://www.python.org/dev/buildbot/all/builders/x86%20OpenIndiana%203.2/builds/168 -- resolution: fixed -> status: closed -> open ___ Python tracker

[issue11747] unified_diff function product incorrect range information

2011-04-09 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing

[issue11747] unified_diff function product incorrect range information

2011-04-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks, Raymond. That file says (in the -u section) "If a range is empty, its beginning line number shall be the number of the line just before the range, or 0 if the empty range starts the file." The last clause says to me that gnu diff is right and that the

[issue11810] _socket fails to build on OpenIndiana

2011-04-09 Thread Emile Heitor
New submission from Emile Heitor : This issue http://bugs.python.org/issue8852 seems to happen again since python 2.6.6. Same cause, same consequences. Patching Modules/socketmodule.h with the following fixes it: --- Modules/socketmodule.h.orig 2010-05-09 15:15:40.0 +

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-09 Thread Torsten Becker
Torsten Becker added the comment: > Have a nice weekend! Thank you for the wishes, I hope yours is going well, too! I added IDNA awareness to formataddr() and parseaddr(), updated the docs and wrote 2 tests for it. I wasn't sure if the IDNA awareness should be optional via a argument or alwa

[issue11811] ssl.get_server_certificate() does not work for IPv6 addresses

2011-04-09 Thread Paul Wouters
New submission from Paul Wouters : ssl.get_server_certificate() does not work for IPv6 addresses: >>> ssl.get_server_certificate( ("2001:888:2003:1004:c2ff:eeff:fe00:133",443)) Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python2.7/ssl.py", line 403, in get_server

[issue11810] _socket fails to build on OpenIndiana

2011-04-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: It has been fixed in 2.7.x, not 2.6.x (which is in security fixes-only mode). Can you try with 2.7.1? -- nosy: +pitrou ___ Python tracker ___ _

[issue11811] ssl.get_server_certificate() does not work for IPv6 addresses

2011-04-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Confirmed. In the meantime, you can connect manually using socket.create_connection(): >>> import ssl, socket >>> conn = socket.create_connection(("2001:888:2003:1004:c2ff:eeff:fe00:133", >>> 443)) >>> sock = ssl.wrap_socket(conn) >>> ssl.DER_cert_to_PEM_cert

[issue11810] _socket fails to build on OpenIndiana

2011-04-09 Thread Emile Heitor
Emile Heitor added the comment: Actually, python 2.6 is the default version in pkgsrc (http://www.netbsd.org/docs/software/packages.html), and the reason why i'm pulling up this bug is that python 2.6 failure on SunOS brings down more than 3000 packages :/ Nevertheless, i'll try a bulk build

[issue11811] ssl.get_server_certificate() does not work for IPv6 addresses

2011-04-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Library (Lib) keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue11810] _socket fails to build on OpenIndiana

2011-04-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Actually, python 2.6 is the default version in pkgsrc > (http://www.netbsd.org/docs/software/packages.html), and the reason > why i'm pulling up this bug is that python 2.6 failure on SunOS brings > down more than 3000 packages :/ Nevertheless, i'll try a bulk

[issue11757] test_subprocess.test_communicate_timeout_large_ouput failure on select(): negative timeout?

2011-04-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3982be773b54 by Antoine Pitrou in branch 'default': Issue #11757: select.select() now raises ValueError when a negative timeout http://hg.python.org/cpython/rev/3982be773b54 -- ___ Python tracker

[issue11810] _socket fails to build on OpenIndiana

2011-04-09 Thread Emile Heitor
Emile Heitor added the comment: Well, pkgsrc is an independent, portable sources-based packaging system which provides a complete set of packages for many architectures. Python is provided as a package per-se, and we do not yet have the ability to fallback to native python version. If this pa

[issue11812] transient test_telnetlib failure

2011-04-09 Thread Antoine Pitrou
New submission from Antoine Pitrou : http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/2920/steps/test/logs/stdio test test_telnetlib failed -- Traceback (most recent call last): File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_telnetlib.py"

[issue11810] _socket fails to build on OpenIndiana

2011-04-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue9670] Exceed Recursion Limit in Thread

2011-04-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 42d5001e5845 by Ned Deily in branch '3.1': Issue9670: Back out changeset 378b40d71175; test fails on other platforms http://hg.python.org/cpython/rev/42d5001e5845 New changeset 54edabf2846d by Ned Deily in branch '3.2': Issue9670: Merge backout to

[issue9670] Exceed Recursion Limit in Thread

2011-04-09 Thread Ned Deily
Ned Deily added the comment: Reverting the patch since it caused failures on failure on some other platform buildbots (for instance, Gentoo and OpenIndiana). It also fails on OS X buildbots with pydebug enabled, something I hadn't tested: http://www.python.org/dev/buildbot/all/builders/AMD64%

[issue11813] inspect.getattr_static doesn't get module attributes

2011-04-09 Thread Andreas Stührk
New submission from Andreas Stührk : My patch for issue #11133 introduced a regression: it is no longer possible to get attributes of modules. That is because modules use "tp_dictoffset" (at C level). The instance __dict__ is exposed to Python code using a types.MemberDescriptorType. My patch

[issue11814] possible typo in multiprocessing.Pool._terminate

2011-04-09 Thread Antoine Pitrou
New submission from Antoine Pitrou : There's the following code in pool.py, line 494 and following: debug('joining task handler') task_handler.join() debug('joining result handler') task_handler.join() It seems the last line should read `result_handler.join()` i

[issue11770] inspect.dir_static

2011-04-09 Thread Andreas Stührk
Andreas Stührk added the comment: See issue #11813 for the module problem. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11812] transient test_telnetlib failure

2011-04-09 Thread Jack Diederich
Changes by Jack Diederich : -- nosy: +jackdied ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11815] Simplifications in concurrent.futures

2011-04-09 Thread Antoine Pitrou
New submission from Antoine Pitrou : Queue.get(block=True) cannot raise EmptyError, meaning there's some dead code that we can remove. -- components: Library (Lib) files: cfsimplify.patch keywords: patch messages: 133435 nosy: bquinlan, pitrou priority: normal severity: normal stage: pa

[issue11815] Simplifications in concurrent.futures

2011-04-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: A further optimization would be to use a SimpleQueue (from multiprocessing.queues) for the result_queue in the ProcessPoolExecutor. A SimpleQueue is much more light-weight than a normal Queue, which has a bunch of additional locks and a dedicated thread. ---

[issue11796] Comprehensions in a class definition mostly cannot access class variable

2011-04-09 Thread Michael Foord
Changes by Michael Foord : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue11816] Add functions to return disassembly as string

2011-04-09 Thread Eugene Toder
New submission from Eugene Toder : As discussed in Issue11549 a couple of tests need to inspect disassembly of some code. Currently they have to override sys.stdout, run dis and restore stdout back. It would be much nicer if dis module provided functions that return disassembly as a string. P

[issue11816] Add functions to return disassembly as string

2011-04-09 Thread Eugene Toder
Changes by Eugene Toder : Removed file: http://bugs.python.org/file21598/dis.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue11816] Add functions to return disassembly as string

2011-04-09 Thread Eugene Toder
Changes by Eugene Toder : Added file: http://bugs.python.org/file21599/dis.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue11816] Add functions to return disassembly as string

2011-04-09 Thread Eugene Toder
Changes by Eugene Toder : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11816] Add functions to return disassembly as string

2011-04-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Inspecting the text disassembly is a bit fragile for testing. It would be better to scan a list of (opcode, oparg) pairs for given pattern (i.e. (LOAD_CONST, 3) where consts[3] --> some target value). -- nosy: +rhettinger

[issue11816] Add functions to return disassembly as string

2011-04-09 Thread Eugene Toder
Eugene Toder added the comment: Agreed, but that would require rewriting of all tests in test_peepholer. -- ___ Python tracker ___ __

[issue5996] abstract class instantiable when subclassing dict

2011-04-09 Thread Eugene Toder
Eugene Toder added the comment: This patch fixes the problem by moving the check from object_new to PyType_GenericAlloc. The check is very cheap, so this should not be an issue. -- keywords: +patch nosy: +eltoder Added file: http://bugs.python.org/file21600/abc.patch _

[issue11816] Add functions to return disassembly as string

2011-04-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Yep! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue11817] berkeley db 5.1 support

2011-04-09 Thread Per Øyvind Karlsen
New submission from Per Øyvind Karlsen : This patch adds support for berkeley db <= 5.1. -- components: Extension Modules files: Python-2.7.1-berkeley-db-5.1.patch keywords: patch messages: 133442 nosy: proyvind priority: normal severity: normal status: open title: berkeley db 5.1 suppor

[issue11817] berkeley db 5.1 support

2011-04-09 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: forgot some additional config checks in setup.py in previous patch.. -- ___ Python tracker ___

[issue11817] berkeley db 5.1 support

2011-04-09 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: sloppysloppy... fix previous patch -- Added file: http://bugs.python.org/file21602/Python-2.7.1-berkeley-db-5.1.patch ___ Python tracker _

[issue9904] Cosmetic issues that may warrant a fix in symtable.h/c

2011-04-09 Thread Eli Bendersky
Changes by Eli Bendersky : -- stage: -> needs patch versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mail

[issue9904] Cosmetic issues that may warrant a fix in symtable.h/c

2011-04-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset b6fe63c914e4 by Eli Bendersky in branch 'default': Issue #9904: fix and clarify some comments + fix indentation in symtable code http://hg.python.org/cpython/rev/b6fe63c914e4 -- nosy: +python-dev ___ Pyt

[issue9904] Cosmetic issues that may warrant a fix in symtable.h/c

2011-04-09 Thread Eli Bendersky
Eli Bendersky added the comment: I committed the fixes to 3.3 (see no reason to backport these). So unless there are objections I will close the issue in a few days. -- stage: needs patch -> commit review status: open -> pending ___ Python tracker

[issue11817] berkeley db 5.1 support

2011-04-09 Thread Ned Deily
Changes by Ned Deily : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma