[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-10-30 Thread Jacques Grove
Jacques Grove added the comment: And another, bit less pathological, testcase. Sorry for the ugly testcase; it was much worse before I boiled it down :-) $ cat test.py import re, regex text = "\nTest\nxyz\nxyz\nEnd" regexp = '(\nTest(\n+.+?){0,2}?)?\n+End' print re.findall(regexp, text) p

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-10-30 Thread Jacques Grove
Jacques Grove added the comment: Here's one that really falls in the category of "don't do that"; but I found this because I was limiting the system recursion level to somewhat less than the standard 1000 (for other reasons), and I had some shorter duplicate patterns in a big regex. Here is

[issue10260] Add a thrading.Condition.wait_for() method

2010-10-30 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : The attached patch adds a wait_for method to condition objects. It can simplify code that uses condition variables since it relieves the user from writing a condition loop. In addition it simplifies timeout logic which otherwise has to correctly dea

[issue10160] operator.attrgetter slower than lambda after adding dotted names ability

2010-10-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: The patch looks fine. You're overview of the process presented here in the tracker would make a nice comment in the code. If Antoine is happy with the latest patch, then it's ready to apply. -- assignee: rhettinger -> pitrou

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10164] Add an assertBytesEqual to unittest and use it for bytes assertEqual

2010-10-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: Am discussing this with the OP on IRC and tabling it for a while so we can better think out the API. The goal is to let assertEqual(a, b) do straight-comparions of raw bytes, but to give a nice looking diff (possibly translated with line breaks or somesuch

[issue10237] failure in Barrier tests

2010-10-30 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Silly me, changing the default timeout invalidated the unittest for it. Fixed in revision 86018 -- ___ Python tracker ___ _

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set

2010-10-30 Thread Ivan Razumov
Ivan Razumov added the comment: Typo: align -> Justify -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set

2010-10-30 Thread Ivan Razumov
Changes by Ivan Razumov : -- title: Entry text not set if all of 'Font', 'Foreground' and 'Align' are set -> Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set ___ Python tracker _

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Align' are set

2010-10-30 Thread Ivan Razumov
Ivan Razumov added the comment: The bug only appears if "Align" is not "Left". -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Align' are set

2010-10-30 Thread Ivan Razumov
Changes by Ivan Razumov : -- title: Entry text not set if both 'Font' and 'fg' are set -> Entry text not set if all of 'Font', 'Foreground' and 'Align' are set ___ Python tracker __

[issue10259] Entry text not set if both 'Font' and 'fg' are set

2010-10-30 Thread Ivan Razumov
New submission from Ivan Razumov : OS: Windows 7 x86 Python: 2.6.4 An Entry with both Font and Foreground properties changed (i.e. not OS-default) does not display text set with textvariable.set method. Attached an example of such behavior. -- components: Tkinter files: Project5.py m

[issue7061] Improve 24.5. turtle doc

2010-10-30 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Sat, Oct 30, 2010 at 8:27 PM, Terry J. Reedy wrote: .. > "version of python installed with Tk support.": cap 'python' to 'Python' > > Is there any standard on capitalizing 'Python'? It looks like it is consistently capitalized in the Python manual. >

[issue7061] Improve 24.5. turtle doc

2010-10-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: GREGOR, I think we need your help to answer a few of these. Subissues from my opening post not resolved in rev85732 "version of python installed with Tk support.": cap 'python' to 'Python' Is there any standard on capitalizing 'Python'? -

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: >> It's unfortunate that the patch had been backported to 2.6.6; we can't fix >> it there anymore. > > Why not ? It looks a lot like a security fix. Indeed, you could argue that. It's up to the 2.6 release manager, I guess. -- _

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Martin v. Löwis wrote: > It's unfortunate that the patch had been backported to 2.6.6; we can't fix it > there anymore. Why not ? It looks a lot like a security fix. -- nosy: +lemburg ___ Python tracker

[issue7061] Improve 24.5. turtle doc

2010-10-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: On initialization: the json doc has 6 examples. Each starts with 'import json' so each is independent. However, I agree that doing the same for turtle examples would be a bit much. On the other hand, I think 24.5.3. *Methods of RawTurtle/Turtle and correspondi

[issue10258] Fix resource warnings in distutil test_tokenize

2010-10-30 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r85990. Thanks. -- assignee: -> brian.curtin nosy: +brian.curtin resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> resource usage versions: +Python 3.2 -Python 3.3 ___ Pytho

[issue10160] operator.attrgetter slower than lambda after adding dotted names ability

2010-10-30 Thread Christos Georgi ou
Χρήστος Γεωργίου (Christos Georgiou) added the comment: Thank you very much, Antoine, for your review. My comments in reply: - the dead code: it's not dead, IIRC it ensures that at least one argument is given, otherwise it raises an exception. - PyUnicode_GET_SIZE: you're right. The previous

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Curtin
Changes by Brian Curtin : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r85987. Made both places hunks of the patch use the context manager. -- assignee: -> brian.curtin nosy: +brian.curtin resolution: -> fixed stage: -> committed/rejected type: -> resource usage versions: +Python 3.2 -Python 3.3 ___

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: make_buildinfo is always built and run as a 32-bit binary, so I think this part of the change is fine (though unrelated to the objective of the change). I think the patch is fine. -- ___ Python tracker

[issue10256] Fix resource warnings in test_pkgimport

2010-10-30 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r85984. Thanks. -- assignee: -> brian.curtin nosy: +brian.curtin resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> resource usage versions: +Python 3.2 -Python 3.3 ___ Pytho

[issue10258] Fix resource warnings in distutil test_tokenize

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached patch. -- components: Tests files: test_tokenize_fd_leak.patch keywords: patch messages: 120019 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in distutil test_tokenize versions: Python 3.3

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: The change from issue1054943 is indeed bogus. As written, the code will happily run over starters, even though a blocked start means that subsequent characters can't possibly be combinable. That way, the code manages to combine, in 'Li\u030dt-s\u1e73\u0301',

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Éric Araujo
Éric Araujo added the comment: I don’t see any difference :) -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Brazil
Brian Brazil added the comment: I'm used to a slightly different style guide, v2 has the right indentation. -- Added file: http://bugs.python.org/file19438/test_os_fd_leak_v2.patch ___ Python tracker _

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached. -- components: Tests files: test_os_fd_leak.patch keywords: patch messages: 120015 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_os versions: Python 3.3 Added file: http://bugs.pyt

[issue10256] Fix resource warnings in test_pkgimport

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached patch. -- components: Tests files: test_pkgimport_fd_leak.patch keywords: patch messages: 120014 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_pkgimport versions: Python 3.3 Added f

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-10-30 Thread Matthew Barnett
Matthew Barnett added the comment: issue2636-20101030a.zip is a new version of the regex module. This bug was a bit more difficult to fix, but I think it's OK now! -- Added file: http://bugs.python.org/file19435/issue2636-20101030a.zip ___ Python tr

[issue10237] failure in Barrier tests

2010-10-30 Thread Stephen Hansen
Stephen Hansen added the comment: FWIW, my snow leopard slave isn't slow at all so I doubt there's a timeout related to machine speed going on here, as its failing thus: test test_threading failed -- Traceback (most recent call last): File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-30 Thread Brian Curtin
Brian Curtin added the comment: Let me rephrase that: What makes the Release x64 configuration unnecessary, thus removed? -- ___ Python tracker ___ _

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-30 Thread Brian Curtin
Brian Curtin added the comment: Is there a reason this removes the Release x64 configuration? -- nosy: +brian.curtin ___ Python tracker ___ __

[issue10255] refleak in initstdio

2010-10-30 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue10255] refleak in initstdio

2010-10-30 Thread Neil Schemenauer
New submission from Neil Schemenauer : It looks to me like initstdio leaks a reference to "open". AFAIK, PyObject_SetAttrString() does not steal a reference. -- assignee: pitrou components: Interpreter Core files: initstdio_refleak.txt messages: 120008 nosy: nascheme, pitrou priority:

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2010-10-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Éric, go ahead and consolidate to one issue if you can get to it. Do the other issues shows problems with 3.1 or 3.2 also? I wonder because I have never seen the box in the posted .png and wonder if that is a new 'feature' with 2.7 and possibly 3.2 that was no

[issue10160] operator.attrgetter slower than lambda after adding dotted names ability

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Some comments about the patch: - this seems to be some dead code: if (nattrs <= 1) { if (!PyArg_UnpackTuple(args, "attrgetter", 1, 1, &attr)) return NULL; - you can't call PyUnicode_GET_SIZE or PyUnicode_AS_UNICODE before you have c

[issue10245] Fix resource warnings in test_telnetlib

2010-10-30 Thread Jack Diederich
Changes by Jack Diederich : -- assignee: -> jackdied nosy: +jackdied versions: +Python 3.2 -Python 3.3 ___ Python tracker ___ ___ Pyt

[issue10250] Fix resource warnings in test_urllib2_localnet

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r85983, thank you. -- nosy: +pitrou resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2010-10-30 Thread Georg Brandl
Georg Brandl added the comment: I agree, this shouldn't be a blocker. -- priority: deferred blocker -> critical ___ Python tracker ___ __

[issue6706] asyncore's accept() is broken

2010-10-30 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: CVE-2010-3492 references this issue. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-3492 -- ___ Python tracker __

[issue10236] Sporadic failures of test_ssl

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: The errno printed here is just an error which is expected and tested for. The verbose run was ok, it's the silent run just before which produced an error (or several), but unfortunately: test test_ssl failed -- multiple errors occurred; run in verbose mode fo

[issue6706] asyncore's accept() is broken

2010-10-30 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Not sure this is a blocker. There are various assembler syntaxes for x86 and chances are LLVM uses a different one from gcc. -- assignee: -> theller nosy: +georg.brandl, pitrou, theller ___ Python tracker

[issue10093] Warn when files are not explicitly closed

2010-10-30 Thread R. David Murray
R. David Murray added the comment: MAL wrote: > Antoine wrote: >> MAL wrote: >>> I don't follow you. Where's the difference between writing: >>> >>> s.close() >>> or >>> s = None >>> >>> for an open socket s ? >> >> The difference is when s is still referenced elsewhere. >> Also, the intent of

[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r85982, thank you. I will backport later. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue1346238] A constant folding optimization pass for the AST

2010-10-30 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: -georg.brandl, georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue10164] Add an assertBytesEqual to unittest and use it for bytes assertEqual

2010-10-30 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger priority: normal -> low ___ Python tracker ___ ___ Python

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Confirmed on Python 3.2. -- nosy: +haypo, loewis, pitrou versions: +Python 3.2 ___ Python tracker ___ _

[issue10157] Refleaks in pythonrun.c

2010-10-30 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Thank you, I committed your patch in r85980(py3k) and r85981(release31-maint). -- assignee: ocean-city -> resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.1 _

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Merlijn van Deen
Merlijn van Deen added the comment: Please note: The bug might very well be present in python 3.2 and 3.3. However, I do not have these versions installed, so I cannot confirm this. -- ___ Python tracker

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Merlijn van Deen
New submission from Merlijn van Deen : Summary: Somewhere between 2.6.5 r79063 and 3.1 r79147 a regression in the unicode NFC normalization has been introduces. This regression leads to bot edit wars on wikipedia [1]. It is reproducable with a simple script [2]. Mediawiki/PHP [3] and C# [4] te

[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Brian Brazil
Brian Brazil added the comment: Version 2 of the patch is attached. This fixes a warning at line 256 in test_fileio.py: f = _FileIO("/dev/tty", "a") on my Hardy machine. -- Added file: http://bugs.python.org/file19433/fileio_fd_leak_v2.patch ___

[issue1346238] A constant folding optimization pass for the AST

2010-10-30 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: It should be closed only if closefd is true. Does it fix a warning in the test suite? Otherwise I think it would need its own test. -- nosy: +pitrou ___ Python tracker __

[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +amaury.forgeotdarc, benjamin.peterson stage: -> patch review type: -> resource usage versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.3 ___ Python tracker

[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : fileio_init will leak a fd if you open a file for append that isn't seekable. We should close this fd before returning the failure. The attached patch fixes this and a resource warning in the tests, but I'm unsure if it'd be better to use internal_close. I'd

[issue10226] urlparse example is wrong

2010-10-30 Thread R. David Murray
R. David Murray added the comment: How about this: - If the scheme value is not specified, urlparse following the syntax - specifications from RFC 1808, expects the netloc value to start with '//', - Otherwise, it is not possible to distinguish between net_loc and path - component and would

[issue10252] Fix resource warnings in distutil tests

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review type: -> resource usage versions: +Python 3.2 -Python 3.3 ___ Python tracker ___ _

[issue10249] Fix resource warnings in test_unicodedata

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r85978, thank you. -- nosy: +pitrou resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2 -Python 3.3 ___ Python tracker __

[issue10251] Fix resource warnings in test_file

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r85977, thanks. -- nosy: +pitrou resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2 -Python 3.3 ___ Python tracker _

[issue10252] Fix resource warnings in distutil tests

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached. -- assignee: tarek components: Distutils files: distutils_fd_leak.patch keywords: patch messages: 119988 nosy: bbrazil, eric.araujo, tarek priority: normal severity: normal status: open title: Fix resource warnings in distutil tests

[issue10251] Fix resource warnings in test_file

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached. -- components: Tests files: test_file_fd_leak.patch keywords: patch messages: 119987 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_file versions: Python 3.3 Added file: http://bugs

[issue9340] argparse parse_known_args does not work with subparsers

2010-10-30 Thread R. David Murray
Changes by R. David Murray : -- stage: needs patch -> patch review versions: +Python 3.1 -Python 3.3 ___ Python tracker ___ ___ Python-

[issue9340] argparse parse_known_args does not work with subparsers

2010-10-30 Thread R. David Murray
R. David Murray added the comment: I've looked over this patch, and it seems to me that there is no compelling reason to create two new functions. I think it would be clearer to just inline that code in the places it is used. If it turns out later that the code needs to be reused elsewhere,

[issue10247] mold builder

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: -donlorenzo resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue10247] mold builder

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- Removed message: http://bugs.python.org/msg119981 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10250] Fix resource warnings in test_urllib2_localnet

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +orsenthil stage: -> patch review type: -> resource usage versions: +Python 3.2 -Python 3.3 ___ Python tracker ___

[issue10248] Fix resource warnings in test_xmlrpclib

2010-10-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis stage: -> patch review type: -> resource usage versions: +Python 3.2 ___ Python tracker ___ ___

[issue10250] Fix resource warnings in test_urllib2_localnet

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached, not sure this is quite right. -- components: Tests files: test_urllib2_localnet_fd_leak.patch keywords: patch messages: 119985 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_urllib2

[issue10249] Fix resource warnings in test_unicodedata

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached. -- components: Library (Lib) files: test_unicodedata_fd_leak.patch keywords: patch messages: 119984 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_unicodedata versions: Python 3.3 A

[issue10248] Fix resource warnings in test_xmlrpclib

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : I'm not 100% comfortable with this patch as my knowledge of the xmlrpc interface is very limited, a simple p.close() would seem cleaner - but that doesn't work. -- files: test_xmlrpclib_fd_leak.patch keywords: patch messages: 119983 nosy: bbrazil prio

[issue10246] uu.encode fd leak if arguments are filenames

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r85975 (3.2). I guess we'll do a big svnmerge to other branches later. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2 -Python 3.3 ___ Python tracker

[issue10247] mold builder

2010-10-30 Thread Lorenz Quack
New submission from Lorenz Quack : RV Plastics is your end to end partner for all your moulds and Injection Moulding requirements. Founded in 2003, RV Plastics dedicates itself to the plastic industry, exporting Plastic injection moulds and molded Components to customers spread over 20 coun

[issue10237] failure in Barrier tests

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: I also get a failure here: == FAIL: test_default_timeout (test.test_threading.BarrierTests) -- Traceback (most recent call la

[issue10246] uu.encode fd leak if arguments are filenames

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: > How does v2 look? Nice, thank you! -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10240] dict.update.__doc__ is misleading

2010-10-30 Thread R. David Murray
R. David Murray added the comment: Maybe the fastpath should do a strict check and not be used for subclasses of dict? -- nosy: +r.david.murray ___ Python tracker ___ _

[issue10246] uu.encode fd leak if arguments are filenames

2010-10-30 Thread Brian Brazil
Brian Brazil added the comment: How does v2 look? -- Added file: http://bugs.python.org/file19426/uu_fd_leak_v2.patch ___ Python tracker ___

[issue10246] uu.encode fd leak if arguments are filenames

2010-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think there should be a try..finally block so that those files get closed even when there's an error in-between. -- nosy: +pitrou ___ Python tracker ___

[issue10246] uu.encode fd leak if arguments are filenames

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached patch, I'm not sure if this is the cleanest way to fix this. This also fixes the resource warnings in the test. -- components: Library (Lib) files: uu_fd_leak.patch keywords: patch messages: 119975 nosy: bbrazil, brett.cannon priori

[issue10245] Fix resource warnings in test_telnetlib

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached patch and "closing files and sockets in a timely manner in the stdlib" on python-dev. -- components: Tests files: test_telnetlib_fd_leak.patch keywords: patch messages: 119974 nosy: bbrazil, brett.cannon priority: normal severity: n

[issue10244] PEP100 has broken links

2010-10-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Maciej Fijalkowski wrote: > > New submission from Maciej Fijalkowski : > > PEP100 (http://www.python.org/dev/peps/pep-0100/) links to python starship. > Should it just link to python.org for the newest version of this doc? The starship link works for me

[issue10244] PEP100 has broken links

2010-10-30 Thread Georg Brandl
Georg Brandl added the comment: Well, obviously only the first link works (does for me too), the second needs to have a version filled in :) -- nosy: +georg.brandl ___ Python tracker _

[issue10244] PEP100 has broken links

2010-10-30 Thread Maciej Fijalkowski
Maciej Fijalkowski added the comment: That is really weird, it definitely doesn't for me. Anyway, closing the ticket then. -- status: open -> closed ___ Python tracker ___

[issue10244] PEP100 has broken links

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: The link works fine for me right now, and the starship is alive and well. -- ___ Python tracker ___ __

[issue10244] PEP100 has broken links

2010-10-30 Thread Maciej Fijalkowski
Maciej Fijalkowski added the comment: Python starship is down, I thought it's permanently down, isn't it? -- ___ Python tracker ___ _

[issue10244] PEP100 has broken links

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: Why do you say that the link is broken? -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-li

[issue10244] PEP100 has broken links

2010-10-30 Thread Maciej Fijalkowski
New submission from Maciej Fijalkowski : PEP100 (http://www.python.org/dev/peps/pep-0100/) links to python starship. Should it just link to python.org for the newest version of this doc? -- assignee: d...@python components: Documentation messages: 119967 nosy: d...@python, fijall priori

[issue10220] Make generator state easier to introspect

2010-10-30 Thread Zbyszek Szmek
Changes by Zbyszek Szmek : -- nosy: +zbysz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10224] Build 3.x documentation using python3.x

2010-10-30 Thread Zbyszek Szmek
Changes by Zbyszek Szmek : -- nosy: +zbysz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10221] {}.pop('a') raises non-standard KeyError exception

2010-10-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: See r85967, r85968 and r85969. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue10243] Packaged Pythons

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Python 2.6, for example, does ship a shared library. That is not really the case. Python 2.6 ships in source form. It builds with a libpython shared library only if you configure with --enable-shared. > In particular it is NOT acceptable for any extension o

[issue6105] json.dumps doesn't respect OrderedDict's iteration order

2010-10-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: Backported to 2.7 See r85966 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _