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

2011-04-08 Thread anatoly techtonik
anatoly techtonik added the comment: What for? IIUC, it won't be fixed in distutils anyway. -- ___ Python tracker ___ ___ Python-bugs-

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

2011-04-08 Thread anatoly techtonik
anatoly techtonik added the comment: Nevermind about #6040 - I just used the same technique to provide a workaround and then remembered I've seen this recipe on StackOverflow. To me types is the right place, because that's exactly where are you sent from the docs of new module: Deprecated

[issue11747] unified_diff function product incorrect range information

2011-04-08 Thread Tim Peters
Tim Peters added the comment: Terry, I had no intention here at all - had nothing to do with unified_diff. Would have to look at the history to see who added it, and ask them. That said, the very name "unified_diff" suggests someone did intend to mimic _some_ system's "unified diff" behavior

[issue1228112] code.py use sys.excepthook to display exceptions

2011-04-08 Thread Andreas Stührk
Changes by Andreas Stührk : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11770] inspect.dir_static

2011-04-08 Thread Andreas Stührk
Andreas Stührk added the comment: A first patch, misses any documentation changes. While working on it, I realised that modules technically shadow the __dict__ attribute (because modules use tp_dictoffset, hence module have a __dict__ member that points to the instance dict). I updated `_shad

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

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. I remember now: the initial iter_exp is evaluated immediately because it always *can* be, because it is only evaluated once and can only involve 'outside' names, whereas the result expression and any conditional expressions and further iteration expre

[issue4877] xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object

2011-04-08 Thread Ezio Melotti
Ezio Melotti added the comment: The attached patch combines the changes done to pyexpat in 825041fc8e2c (http://hg.python.org/cpython/diff/825041fc8e2c/Modules/pyexpat.c), the cleanup of c52f5df50448 and the tests of issue4877.patch. The tests segfault without the changes on pyexpat, and pass

[issue4877] xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object

2011-04-08 Thread Ezio Melotti
Ezio Melotti added the comment: FWIW I tried to backport 825041fc8e2c and test_pyexpat runs without problem. The snippet of code in msg79398 now raises a ValueError: >>> from xml.parsers import expat >>> f=open('/tmp/foo') >>> p=expat.ParserCreate() >>> f.close() >>> p.ParseFile(f) Traceback (mo

[issue4877] xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object

2011-04-08 Thread Ezio Melotti
Ezio Melotti added the comment: See also #9292. -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2011-04-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Hasn't this been fixed in the following changeset? It was a major step forward. Now there needs to be work on other namedtuple methods and whatnot. -- ___ Python tracker __

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

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: For anyone curious, I removed the falsely classified as spam message after copying the links into my previous message. -- ___ Python tracker _

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

2011-04-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg133353 ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Messages that only consist of links are classified that way. To refer to other issues, use #x, as with #6040, but I have no idea which of the many messages you were referring to, so use msgxx. The stack overflow link http://stackoverflow.com/questions

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2011-04-08 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Hasn't this been fixed in the following changeset? changeset: 43509:384f73a104e9 user:Benjamin Peterson date:Wed Jul 07 20:54:01 2010 + summary: make struct sequences subclass tuple; kill lots of code -- nosy: +belopols

[issue4877] xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Elsewhere, Guido said that this appears *not* to be a security bug since the crash is "triggered by a logic bug in the user's code, not by bad data." Hence, not eligible for backport to 2.5/6, which are in security-fix only mode. -- nosy: +terry.reedy

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

2011-04-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Devs are aware that there is an exception to the general rule > for the 'for' clause. There is a technical reason why the > exception is possible, though I have forgotten it. It is best understood when thinking about a gexexp that gets run long after is

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

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Title changed. Generator expressions had the same limitation in 2.x. All comprehensions have the same limitation in 3.x. -- title: list and generator expressions in a class definition fail if expression condition refers to a class variable -> Comprehen

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

2011-04-08 Thread R. David Murray
R. David Murray added the comment: Terry, the test is in the other issue, so this time Steffen has provided the test :). I'll take a look at both issues, probably next week. -- ___ Python tracker ___

[issue11796] list and generator expressions in a class definition fail if expression condition refers to a class variable

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Devs are aware that there is an exception to the general rule for the 'for' clause. There is a technical reason why the exception is possible, though I have forgotten it. Since you already know that changing the general behavior has been rejected, are you as

[issue3831] Multiprocessing: Expose underlying pipe in queues

2011-04-08 Thread Matt Joiner
Matt Joiner added the comment: I look forward to this, or something similar. Inspiration can be taken from Golangs's select behaviour on channels. select { case i1 = <-c1: print("received ", i1, " from c1\n") case c2 <- i2: print("sent ", i2, " to c2\n") default: print

[issue3831] Multiprocessing: Expose underlying pipe in queues

2011-04-08 Thread Matt Joiner
Changes by Matt Joiner : -- nosy: +anacrolix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The error message suggests that somehow a str string has gotten mixed in with the bytes. Something like '\n' or ' '? Steffen, if you want to help track this down: 1. What is a minimal msgdata that gives the same error; post it. 2. Add 'print(payload)' before l

[issue5907] repr of time.struct_time type does not eval

2011-04-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also see issue11698 -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Pyth

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2011-04-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also see issue 11698 -- assignee: jackdied -> rhettinger ___ Python tracker ___ ___ Python-bugs-l

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

2011-04-08 Thread anatoly techtonik
anatoly techtonik added the comment: Message is classified as spam. I am not sure if you see it. -- ___ Python tracker ___ ___ Python

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

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: All the types in the types module are, being types, potentially callable to produce instances of that type. But they are in types rather than builtins precisely because it is not expected that they be called directly. They are bound to names in types primaril

[issue5907] repr of time.struct_time type does not eval

2011-04-08 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- dependencies: +Enhance Object/structseq.c to match namedtuple and tuple api ___ Python tracker ___ ___

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2011-04-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Issue5907 would benefit of this change. Unfortunately, structseq constructors already have keyword arguments; they are equivalent to "def __new__(cls, sequence, dict=NULL)". OTOH these keywords arguments are not documented anywhere. I suggest to change t

[issue4877] xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object

2011-04-08 Thread Bryce Verdier
Bryce Verdier added the comment: Yes I did. Sorry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue4877] xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object

2011-04-08 Thread Santoso Wijaya
Santoso Wijaya added the comment: You mean, PyErr_Clear()? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2011-04-08 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue4877] xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object

2011-04-08 Thread Bryce Verdier
Bryce Verdier added the comment: Modified patch to remove PyErr_SetString() as it doesn't do anything. Patch looks good to me otherwise and ran without issue. -- Added file: http://bugs.python.org/file21589/issue4877.patch ___ Python tracker

[issue11754] Changed test to check calculated constants in test_string.py

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not understand 'circular'. The change is from 'attribute exists' to 'attribute has correct value'. If any are changed, I would think all should be changed. -- nosy: +terry.reedy ___ Python tracker

[issue11805] package_data only allows one glob per-package

2011-04-08 Thread Erik Bray
New submission from Erik Bray : In distutils the package_data option can be supplied a list of glob patterns for each package. distutils2 currently only supports one glob per package. This could easily be fixed by simply allowing more than one `package_name = pattern` value in the package_dat

[issue11747] unified_diff function product incorrect range information

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: @Tim: was it your intention that difflib track gnu diff? I am on the fence with this issue. Without input from Tim other than the doc, I am tempted to call this a feature request and retitle it "Make unified_diff match gnu diff for [] input". The docs do not

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2011-04-08 Thread Jon Parise
Changes by Jon Parise : -- nosy: +jon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file

2011-04-08 Thread STINNER Victor
STINNER Victor added the comment: Le vendredi 08 avril 2011 à 17:31 +, Antoine Pitrou a écrit : > Antoine Pitrou added the comment: > > > I did a similar test on Windows: test_io takes ~19.1 sec with and > > without timeout. > > You may want to test with test_argparse. Oh... test_argpars

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-08 Thread Torsten Becker
Torsten Becker added the comment: I was about to look into this over the weekend, but of course I don't want to steal your fun, Steffen. :) -- ___ Python tracker ___ ___

[issue11796] list and generator expressions in a class definition fail if expression condition refers to a class variable

2011-04-08 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would say yes (if you are sure changes are correct) unless Nick speaks up to say he wants to review first. -- ___ Python tracker ___

[issue11796] list and generator expressions in a class definition fail if expression condition refers to a class variable

2011-04-08 Thread Andreas Stührk
Changes by Andreas Stührk : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue11796] list and generator expressions in a class definition fail if expression condition refers to a class variable

2011-04-08 Thread Jonathan Hartley
Jonathan Hartley added the comment: Is also exhibited by other class variable being used in the 'output' clause of the list comprehension: >>> class C: ... x = 3 ... z = [z*x for z in range(4)] Traceback (most recent call last): File "", line 1, in File "", line 3, in C File "",

[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

2011-04-08 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: Here it is. -- keywords: +patch Added file: http://bugs.python.org/file21588/11740.patch ___ Python tracker ___

[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

2011-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Filip, you can look at the changed Benjamin made. One needs to be OP or have admin privileges to change the headers. Could you reupload your patch to this issue? -- versions: +Python 3.3 -Python 3.2 ___ Python trac

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-08 Thread R. David Murray
R. David Murray added the comment: I believe Torsten is interested, but he can of course speak for himself. Just to make sure you are aware: Python has a built in idna codec, so this should be a fairly simple patch. -- ___ Python tracker

[issue11466] getpass.getpass doesn't close tty file

2011-04-08 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Future Buddha to Guru.. Future Buddha to Guru.. My code is like a two-wheeled indian Bullet, royal purple. Wouldn't you agree with that? -- ___ Python tracker

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2011-04-08 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5907] repr of time.struct_time type does not eval

2011-04-08 Thread Santoso Wijaya
Santoso Wijaya added the comment: I have a feeling that a successful resolution of issue 1820 will make things simpler for this one, since time.struct_time uses structseq. -- nosy: +santa4nt ___ Python tracker ___

[issue11783] email parseaddr and formataddr should be IDNA aware

2011-04-08 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: If Torsten does not have time for this i'll do that next. I hate this useless Punycode (but for nameprep), so it's exactly the right thing for me to do next in 2011. Unless someone complains. I've not looked at formataddr/parseaddr, so that's a motivatio

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

2011-04-08 Thread Eli Bendersky
Eli Bendersky added the comment: Terry, Nick - is it OK to commit a fix for the comments? -- ___ Python tracker ___ ___ Python-bugs-li

[issue11388] Implement MutableSequence.clear()

2011-04-08 Thread Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue5907] repr of time.struct_time type does not eval

2011-04-08 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > Or whether to change it at all. It's hard to imagine that > applications may rely on that aspect of the behavior - they > have to use eval, after all. I would like to see this fixed. When working in interactive session, I find myself adding [:] to str

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2011-04-08 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5166] ElementTree and minidom don't prevent creation of not well-formed XML

2011-04-08 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue11740] difflib html diff takes extremely long

2011-04-08 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> duplicate status: open -> closed superseder: -> dreadful performance in difflib: ndiff and HtmlDiff ___ Python tracker ___

[issue4877] xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object

2011-04-08 Thread Santoso Wijaya
Santoso Wijaya added the comment: I concur. Attaching a refreshed patch (against current 2.7 branch) along with a unittest. -- nosy: +santa4nt Added file: http://bugs.python.org/file21587/issue4877.patch ___ Python tracker

[issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file

2011-04-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I did a similar test on Windows: test_io takes ~19.1 sec with and > without timeout. You may want to test with test_argparse. -- ___ Python tracker

[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

2011-04-08 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: I have no idea how I should do this. If you explain to me, how it should be done, I'll be happy to do this from now on :-) -- ___ Python tracker __

[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

2011-04-08 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > Check also this: > > http://bugs.python.org/issue11740 You should indicate it as duplicate. -- ___ Python tracker ___ __

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

2011-04-08 Thread Nadeem Vawda
Nadeem Vawda added the comment: Oops, there was a typo in the 2.7 patch ("import _thread" instead of "import thread"). Corrected patch attached. -- Added file: http://bugs.python.org/file21586/filecmp-lru-cache-2.7.diff ___ Python tracker

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

2011-04-08 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11796] list and generator expressions in a class definition fail if expression condition refers to a class variable

2011-04-08 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

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

2011-04-08 Thread Nadeem Vawda
Nadeem Vawda added the comment: Patch for 2.7. -- Added file: http://bugs.python.org/file21585/filecmp-lru-cache-2.7.diff ___ Python tracker ___

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

2011-04-08 Thread Nadeem Vawda
Nadeem Vawda added the comment: Patch for 3.3 and 3.2 -- keywords: +patch Added file: http://bugs.python.org/file21584/filecmp-lru-cache-3.3.diff ___ Python tracker ___

[issue11277] test_zlib.test_big_buffer crashes under BSD (Mac OS X and FreeBSD)

2011-04-08 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11792] asyncore module print to stdout

2011-04-08 Thread Éric Araujo
Éric Araujo added the comment: Some guidance on print vs. warnings vs. logging on http://docs.python.org/dev/howto/logging#when-to-use-logging -- nosy: +eric.araujo ___ Python tracker

[issue11796] list and generator expressions in a class definition fail if expression condition refers to a class variable

2011-04-08 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11770] inspect.dir_static

2011-04-08 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11700] mailbox.py proxy updates

2011-04-08 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: (Hrmpf, it seems a '>>> class y(io.RawIOBase):' line has been swallowed in at least Roundup.) So here is the rewritten .yeah-2.diff. It drops the ._trackpos stuff once again due to problems with position tracking in case of failures, i.e. to go that

[issue11764] inspect.getattr_static code execution w/ class body as non dict

2011-04-08 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11797] 2to3 does not correct "reload"

2011-04-08 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list maili

[issue11797] 2to3 does not correct "reload"

2011-04-08 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2011-04-08 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue11764] inspect.getattr_static code execution w/ class body as non dict

2011-04-08 Thread Éric Araujo
Éric Araujo added the comment: I shot too fast, you were right. The mapping returned by __prepare__ is used during class creation, but __dict__ on the instance is a basic dict afterwards (not sure the doc is clear, I tested it in a shell). -- ___

[issue11770] inspect.dir_static

2011-04-08 Thread Michael Foord
Michael Foord added the comment: No. It would return all members accessible to getattr_static (which is completely unrelated to what __dir__ may or may not return). Also calling __dir__ would mean code execution, and the point of these functions is to avoid this where possible. -- _

[issue11764] inspect.getattr_static code execution w/ class body as non dict

2011-04-08 Thread Éric Araujo
Éric Araujo added the comment: Andreas: metaclass.__prepare__ can return any mapping object. See http://docs.python.org/dev/reference/datamodel#customizing-class-creation -- nosy: +eric.araujo ___ Python tracker

[issue11770] inspect.dir_static

2011-04-08 Thread Éric Araujo
Éric Araujo added the comment: Would it respect __dir__? -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue11795] Better core dev guidelines for committing submitted patches

2011-04-08 Thread Éric Araujo
Éric Araujo added the comment: +1 -- nosy: +eric.araujo versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11787] File handle leak in TarFile lib

2011-04-08 Thread Éric Araujo
Éric Araujo added the comment: A try/except/finally construct would probably work. -- nosy: +eric.araujo ___ Python tracker ___ ___ P

[issue11785] email subpackages documentation problems

2011-04-08 Thread Éric Araujo
Éric Araujo added the comment: > Besides, the Doc/library/email-examples.rst is not a module and it > uses ":mod:`email`: xxx" Not a problem. “:mod:” is not “.. module::”. See above link. -- ___ Python tracker

[issue11785] email subpackages documentation problems

2011-04-08 Thread Éric Araujo
Éric Araujo added the comment: See also http://sphinx.pocoo.org/domains.html#directive-py:currentmodule -- nosy: +eric.araujo ___ Python tracker ___

[issue11781] test/test_email directory does not get installed by 'make install'

2011-04-08 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5996] abstract class instantiable when subclassing dict

2011-04-08 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 3.3 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue11803] Memory leak in sub-interpreters

2011-04-08 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I think this is a non-issue. Closing. If you have a testcase proving real leaks in a current release, reopen. -- resolution: -> invalid status: open -> closed ___ Python tracker

[issue11794] Backport new logging docs to 2.7

2011-04-08 Thread Éric Araujo
Éric Araujo added the comment: Great stuff! -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue5309] packaging doesn't parallelize extension module compilation

2011-04-08 Thread Éric Araujo
Changes by Éric Araujo : -- title: setup.py doesn't parallelize extension module compilation -> packaging doesn't parallelize extension module compilation ___ Python tracker ___

[issue11751] Increase distutils.filelist test coverage

2011-04-08 Thread Éric Araujo
Éric Araujo added the comment: FYI, I currently only have sporadic Internet access, moreover with SSH blocked, and I want to wait for the merge of distutils2 into the stdlib before I commit some fixes, so don’t worry if this sits for a while. -- __

[issue11803] Memory leak in sub-interpreters

2011-04-08 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: -eric.araujo versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file

2011-04-08 Thread STINNER Victor
STINNER Victor added the comment: I did a similar test on Windows: test_io takes ~19.1 sec with and without timeout. If I look closer, the timeout overhead (call a thread per function call) is 112 µs per function call. The average duration of a test is 48 ms (47,750 µs), so the overhead is 0,

[issue11803] Memory leak in sub-interpreters

2011-04-08 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- nosy: -benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue11803] Memory leak in sub-interpreters

2011-04-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please don't add everyone in existence to the nosy list. -- ___ Python tracker ___ ___ Python-bu

[issue11804] expat parser not xml 1.1 (breaks xmlrpclib)

2011-04-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file

2011-04-08 Thread STINNER Victor
STINNER Victor added the comment: With the current implementation of faulthandler.dump_tracebacks_later(), use a timeout per function means create a new thread for each function (the thread is interrupted and exits when the test is done). Quick benchmark with test_io on Linux (lowest "real ti

[issue11803] Memory leak in sub-interpreters

2011-04-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Most builtin modules keep static references to common objects: exceptions, types, &co. These references are currently never freed, but are reused by all sub-interpreters. It the memory usage stays stable, even after many calls to Py_NewInterpreter()/Py

[issue11803] Memory leak in sub-interpreters

2011-04-08 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: The fact that the "leak" doesn't grow seems to confirm Nick supposition. Close as invalid? -- nosy: +jcea ___ Python tracker ___

[issue11803] Memory leak in sub-interpreters

2011-04-08 Thread Nick Coghlan
Nick Coghlan added the comment: As a first guess, I would suspect that this is just badly fragmenting the heap and we aren't freeing up any arenas to pass back to the OS. -- ___ Python tracker ___

[issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file

2011-04-08 Thread Michael Foord
Michael Foord added the comment: Victor's reasons for wanting per-test timeout rather than per-file seem sound. Need to review the patch to see how much extra complexity it actually introduces (although on a casual reading the new custom result object it introduces is trivially simple, so not

[issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file

2011-04-08 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file21575/regrtest_timeout-2.patch ___ Python tracker ___ ___ Python-bugs-lis

[issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file

2011-04-08 Thread STINNER Victor
STINNER Victor added the comment: Simplify the test and set the default timeout to 15 min. -- Added file: http://bugs.python.org/file21582/regrtest_timeout-3.patch ___ Python tracker __

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

2011-04-08 Thread R. David Murray
R. David Murray added the comment: Putting in a size limit is reasonable. We did this for fnmatch not that long ago (issue 7846). That was in fact the inspiration for lru_cache. -- nosy: +r.david.murray ___ Python tracker

  1   2   >