[issue13072] Getting a buffer from a Unicode array uses invalid format

2012-07-31 Thread STINNER Victor
STINNER Victor added the comment: Should we do something before Python 3.3 final? -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Nick Coghlan
Nick Coghlan added the comment: Fair point. However, the find_module() variant of the API isn't dead yet, so we should still support it. find_module() likely won't die completely until 4.0. -- ___ Python tracker _

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-07-31 Thread Eli Bendersky
Eli Bendersky added the comment: Attaching an updated patch that completes the documentation of network objects (attributes, methods and operations). Additionally, inserted the "provisional package" note and a "new in 3.3" notice. -- Added file: http://bugs.python.org/file26643/ipaddr_

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file26641/issue15502_new_abc.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Eric Snow
Eric Snow added the comment: > Backwards compatibility requirements still apply to the importlib API - > while the default import system won't call FileFinder.find_module() any > more, third party import reimplementations are still free to do so. Except that a good portion of the importlib API i

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Nick Coghlan
Nick Coghlan added the comment: Reading the 3.3 What's New reminded me that we aren't really as free to redefine this terminology as we might hope (or as I claimed on the previous issue). We can still try, of course, but the PEP 302 naming scheme has been around for 10 years, and there are ple

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file26641/issue15502_new_abc.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file26640/issue15502_new_abc.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file26640/issue15502_new_abc.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file26639/issue15502_new_abc.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Eric Snow
Eric Snow added the comment: > With the draft docs now comitted, this issue is the home for thrashing > out the terminology. In my mind the key is consistency. While a worthy goal regardless, for the import system and its attendant complexity, consistency is crucial. ("importer" == finder + l

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Eric Snow
Eric Snow added the comment: I just noticed that WindowsRegistryImporter does not have load_module(). If we are going for consistency, we should change the name to WindowsRegistryFinder. -- ___ Python tracker ___

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Eric Snow
Eric Snow added the comment: Here's a patch that addresses Nick's 2 & 3. I think I found a satisfactory solution for the inheritance that is both correct and backward compatible. One question for now: does FileFinder need to keep its find_module() method? That should be resolved before 3.3 i

[issue15517] Minor trimming for ASDL parser

2012-07-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset cbfb915424fd by Benjamin Peterson in branch 'default': construct fields in the right order (closes #15517) http://hg.python.org/cpython/rev/cbfb915424fd -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open ->

[issue15518] Provide test coverage for filecmp.dircmp.report methods.

2012-07-31 Thread Chris Jerdonek
Chris Jerdonek added the comment: > The tempfile-generated directory names are part of the report method output > and are not known in advance. There are at least two ways you could deal with this. You could change the working directory to the temp directory in setUp() and change it back in

[issue15488] Closed files keep their buffer alive

2012-07-31 Thread Meador Inge
Meador Inge added the comment: The test should go in the 'SizeofTest' class and maybe a better test would be a variant of the test already in that class: @support.cpython_only def test_buffer_freeing(self) : bufsize = 4096 rawio = self.MockRawIO() bufio = self.tp

[issue15488] Closed files keep their buffer alive

2012-07-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Please, review patch -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Nick Coghlan
Nick Coghlan added the comment: Reading through What's New, I withdraw the suggestion of changing the "path entry finder" term. It's just not worth the hassle. That also simplifies things a lot. All that needs to change to make things consistent: 1. Switch the docs over to using "path finder"

[issue15488] Closed files keep their buffer alive

2012-07-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file26638/a16403affccd ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue15453] ctype with packed bitfields does not match native compiler

2012-07-31 Thread Mike Castle
Mike Castle added the comment: I did read through all of those before posting this one. As far as I can remember, none of those addressed the use of pack, which is the sole problem I'm facing here. Now maybe when all is said and done and all of these bitfield bugs are worked out, this one and

[issue15488] Closed files keep their buffer alive

2012-07-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- versions: -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15518] Provide test coverage for filecmp.dircmp.report methods.

2012-07-31 Thread Chris Calloway
Chris Calloway added the comment: > Would it be possible to structure things so that you have tests like > test_report(), test_report_partial_closure(), etc? Yes, I would prefer that structure. I was just being consistent, as you said, with the prevailing style of the existing tests. I will pr

[issue15488] Closed files keep their buffer alive

2012-07-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I take care of this. -- assignee: -> jcea hgrepos: +143 ___ Python tracker ___ ___ Python-bugs-lis

[issue15519] finish exposing WindowsRegistryImporter in importlib

2012-07-31 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file26637/issue15519_expose_importer.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue15519] finish exposing WindowsRegistryImporter in importlib

2012-07-31 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file26636/issue15519_expose_importer.diff ___ Python tracker ___ ___ Python-bugs-l

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Nick Coghlan
Nick Coghlan added the comment: Further thoughts: 1. Let's keep Finder as a generic base class for "things which find module loaders", with its current implementation but an updated docstring and documentation. 2. The reason both the MetaPathFinder and PathEntryHander ABCs need to preserve t

[issue15519] finish exposing WindowsRegistryImporter in importlib

2012-07-31 Thread Eric Snow
Changes by Eric Snow : -- keywords: +patch Added file: http://bugs.python.org/file26636/issue15519_expose_importer.diff ___ Python tracker ___ ___

[issue15519] finish exposing WindowsRegistryImporter in importlib

2012-07-31 Thread Eric Snow
New submission from Eric Snow: 1. add to importlib.machinery 2. register on importlib.abc.Finder patch in a moment. -- components: Interpreter Core keywords: needs review messages: 167074 nosy: brett.cannon, eric.snow, loewis priority: normal severity: normal stage: patch review status:

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Nick Coghlan
Nick Coghlan added the comment: (With the draft docs now comitted, this issue is the home for thrashing out the terminology. I'm not going to propose taking this to import-sig or python-dev, because the bikeshed would end up being fuschia or pink-with-yellow-polkadots or something) However th

[issue15518] Provide test coverage for filecmp.dircmp.report methods.

2012-07-31 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, Chris. A couple high-level comments. I know this isn't the prevailing style of the existing tests, but it's generally better if each unit test tests just one thing. That way, for example, if a test fails you know more precisely what is not working.

[issue15454] Allow dircmp.report() output stream to be customized

2012-07-31 Thread Chris Calloway
Chris Calloway added the comment: Thank you and the issue to add report method tests is issue 15518. -- ___ Python tracker ___ ___ Pyt

[issue15518] Provide test coverage for filecmp.dircmp.report methods.

2012-07-31 Thread Chris Calloway
Changes by Chris Calloway : -- nosy: +cjerdonek type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue15518] Provide test coverage for filecmp.dircmp.report methods.

2012-07-31 Thread Chris Calloway
New submission from Chris Calloway: The filecmp module has no tests for the following methods of the dircmp class: report() report_partial_closure() report_full_closure() The attached patch provides those tests. This issue was suggested in issue 15454. Future plans for these tests are provided

[issue15499] Sleep is hardcoded in webbrowser.UnixBrowser

2012-07-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset a16403affccd by Jesus Cea in branch 'default': Closes #15499: Sleep is hardcoded in webbrowser.UnixBrowser http://hg.python.org/cpython/rev/a16403affccd -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open ->

[issue15499] Sleep is hardcoded in webbrowser.UnixBrowser

2012-07-31 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Thanks. Applying to 3.3. -- assignee: -> jcea nosy: +jcea versions: +Python 3.3 -Python 3.4 ___ Python tracker ___ ___

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2012-07-31 Thread Atsuo Ishimoto
Atsuo Ishimoto added the comment: I found 'more' command in Windows7 requires \r\n. Python 2.7.3: C:\>python -c "for i in range(5):print(i)"|more 0 1 2 3 4 Python 3.3(trunk): c:\src\cpython\PCbuild>python -c "for i in range(5):print(i)"|more ? -- nosy: +ishimoto

[issue14918] Incorrect TypeError message for wrong function arguments

2012-07-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14803] Add feature to allow code execution prior to __main__ invocation

2012-07-31 Thread Ned Batchelder
Ned Batchelder added the comment: I agree with Antoine: I don't see why this should be a feature of virtualenvs. It's easy to use environment variables in a tightly-controlled way. We don't worry that any of the other environment variables that affect Python execution will somehow escape int

[issue15490] Correct __sizeof__ support for StringIO

2012-07-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15488] Closed files keep their buffer alive

2012-07-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15489] Correct __sizeof__ support for BytesIO

2012-07-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15500] Python should support naming threads

2012-07-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Eric Snow
Eric Snow added the comment: I'm working up a patch. My intention is to match up the names to those that Barry has pushed out to the updated glossary: MetaPathFinder and PathEntryFinder. I'll also include doc changes. I'm going to toy with not having any inheritance between the 3, but I'm no

[issue8847] crash appending list and namedtuple

2012-07-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue15471] importlib's __import__() argument style nit

2012-07-31 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jul 30, 2012, at 04:39 AM, Meador Inge wrote: >Meador Inge added the comment: > >How about the attached? What about something like: globals = ({} if globals is None else globals) and similarly for locals? -- _

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue8847] crash appending list and namedtuple

2012-07-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: > If anyone can confirm that this is the case or has a pointer to > the relevant vcproj docs, I'd be thrilled. http://msdn.microsoft.com/de-de/library/microsoft.visualstudio.vcprojectengine.vclinkertool.enablecomdatfolding(v=vs.90).aspx http://msdn.microsoft.c

[issue8847] crash appending list and namedtuple

2012-07-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Also, the only person to run the tests with the PGO build will probably > be Martin just before the releases. :) We could set up a buildbot slave which does PGO builds, provided somebody volunteered an installation (including VS Pro), and somebody contributed

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Nick Coghlan
Nick Coghlan added the comment: I would largely use Brett's proposed interface for MetaPathFinder (but keep the path argument optional) and his PathImporter interface for PathEntryHandler. Finder can then just become a legacy alias for MetaPathFinder. -- ___

[issue15231] update PyPI upload doc to say --no-raw passed to rst2html.py

2012-07-31 Thread Éric Araujo
Éric Araujo added the comment: Please backport and leave open for distutils2. I much prefer that bugs stay open for months rather than porting to d2 be forgotten. Thanks. -- ___ Python tracker __

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-07-31 Thread Nick Coghlan
Nick Coghlan added the comment: Yes, the module docs should have the provisional notice. Good catch. -- ___ Python tracker ___ ___ Pyt

[issue8847] crash appending list and namedtuple

2012-07-31 Thread Stefan Krah
Changes by Stefan Krah : Added file: http://bugs.python.org/file26634/issue8847-3.3.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8847] crash appending list and namedtuple

2012-07-31 Thread Stefan Krah
Changes by Stefan Krah : Removed file: http://bugs.python.org/file26632/issue8847-3.3.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue15517] Minor trimming for ASDL parser

2012-07-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the patch. I'll look at this. -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker ___ _

[issue8847] crash appending list and namedtuple

2012-07-31 Thread Stefan Krah
Changes by Stefan Krah : Added file: http://bugs.python.org/file26633/issue8847-3.2.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8847] crash appending list and namedtuple

2012-07-31 Thread Stefan Krah
Stefan Krah added the comment: New patches with tests for 3.2 and 3.3. For 3.2 I determined empirically that EnableCOMDATFolding="1" (and not "0") turns on NOICF. If anyone can confirm that this is the case or has a pointer to the relevant vcproj docs, I'd be thrilled. -- Added file: ht

[issue15517] Minor trimming for ASDL parser

2012-07-31 Thread Taihyun Hwang
New submission from Taihyun Hwang: Attached patch enables ASDL parser to construct fields in the right order. It resolves the issue below in Parser/asdl.py # XXX can't I just construct things in the right order? We can safely use left-recursive grammar since Parser/spark.py implements Earley p

[issue15510] textwrap.wrap('') returns empty list

2012-07-31 Thread Chris Jerdonek
Chris Jerdonek added the comment: Actually, here is a slightly more benign version of the patch. This patch makes the change in the wrap() method and leaves _wrap_chunks() alone. This is less intrusive because it doesn't change the behavior of _wrap_chunks(), which some people might be callin

[issue15515] Regular expression match does not return

2012-07-31 Thread Tim Peters
Tim Peters added the comment: Matthew, yes, PyPy's regex module implements regular expressions of the "computer science" (as opposed to POSIX) sense. See Friedl's book for a full explanation. Short course is that regex's flavor of regexp matching is linear-time, but cannot support "advanced"

[issue15513] Correct __sizeof__ support for pickle

2012-07-31 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: I reviewed the patch here http://bugs.python.org/review/15513/#ps5596 -- ___ Python tracker ___ _

[issue15295] Import machinery documentation

2012-07-31 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jul 31, 2012, at 02:56 PM, Eric Snow wrote: >Part of the problem with the import nomenclature is that PEP 302 doesn't >really nail it down and mixes the terms up a bit. This is understandable >considering it broken ground in some regard. However, at this p

[issue15295] Import machinery documentation

2012-07-31 Thread Brett Cannon
Brett Cannon added the comment: I guess just saying it can be None depending on context would be enough. -- ___ Python tracker ___ ___

[issue15516] exception-handling bug in PyString_Format

2012-07-31 Thread Tom Tromey
Tom Tromey added the comment: Here is a patch that includes a test case. The test fails before the stringobject.c patch is applied, and passes after. -- Added file: http://bugs.python.org/file26629/P ___ Python tracker

[issue15295] Import machinery documentation

2012-07-31 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jul 31, 2012, at 08:30 PM, Brett Cannon wrote: >The import path definition is a little misleading as sys.path is only >inferred when 'path' has None passed in. Otherwise 'path' is what __path__ in >a package is set to, so technically sys.path never even come

[issue15295] Import machinery documentation

2012-07-31 Thread Brett Cannon
Brett Cannon added the comment: The import path definition is a little misleading as sys.path is only inferred when 'path' has None passed in. Otherwise 'path' is what __path__ in a package is set to, so technically sys.path never even comes into play except by choice from PathFinder as it jus

[issue15510] textwrap.wrap('') returns empty list

2012-07-31 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching patch with test cases. I added 6 new tests: *test_empty_string test_whitespace_trailing *test_drop_whitespace__all_whitespace *test_initial_indent__empty_string test_subsequent_indent__trailing_whitespace test_subsequent_indent__long_indent The starr

[issue15295] Import machinery documentation

2012-07-31 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15295] Import machinery documentation

2012-07-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset c933ec7cafcf by Barry Warsaw in branch 'default': Address substantially all of Eric Snow's comments in issue #15295, except for http://hg.python.org/cpython/rev/c933ec7cafcf New changeset d5317b8f455a by Barry Warsaw in branch 'default': - Issue #15

[issue15295] Import machinery documentation

2012-07-31 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jul 31, 2012, at 03:21 AM, Eric Snow wrote: >1. default path importer (a.k.a PathFinder), +1, although currently I am refraining from using "default" when describing this thing. >2. path hook (lives on sys.path_hooks), I have called these "path entry hook

[issue15516] exception-handling bug in PyString_Format

2012-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hi, and thank you for reporting. The diagnosis looks good, please proceed and add a test case if possible. -- nosy: +pitrou ___ Python tracker

[issue15516] exception-handling bug in PyString_Format

2012-07-31 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue15516] exception-handling bug in PyString_Format

2012-07-31 Thread Tom Tromey
New submission from Tom Tromey: In gdb we supply a class whose nb_int method can throw an exception. A user wrote code like this: return '%x' % value ... where "value" was an instance of this class. This caused funny exception behavior later on. You can see the original report here: http:

[issue15515] Regular expression match does not return

2012-07-31 Thread Matthew Barnett
Matthew Barnett added the comment: It's probably inappropriate for me to mention that the alternative 'regex' module on PyPI completes promptly, so I won't. :-) -- ___ Python tracker __

[issue15295] Import machinery documentation

2012-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Shouldn't it be committed already? I don't see the point of refining documentation in a separate repo rather than in the main repo. -- nosy: +pitrou ___ Python tracker ___

[issue15295] Import machinery documentation

2012-07-31 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I think I was unclear in my previous follow up. Here are the objects involved, taken from the glossary. import path A list of locations (or :term:`path entries `) that are searched by the :term:`path importer` for modules to import. During

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Brett Cannon
Brett Cannon added the comment: So I think Nick has the inheritance inverted and I would have Finder inherit from everything to stay backwards-compatible and to ease future deprecation (which could potentially happen starting in Python 3.3), although my approach weakens the usefulness of the A

[issue15515] Regular expression match does not return

2012-07-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Make a distinction between a large number of infinity. You have a bad regexp, the matching time depends exponentially on the length of the string. Try with short strings. Use the regexp r"(\w:)(\\?[\w\.\-]+)((\\[\w\.\-]+)*)(\.[\w ]+): ". It's not a bug. --

[issue8847] crash appending list and namedtuple

2012-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine Pitrou wrote: > > I think we want to add those tests to the test suite as well. > > What's a good place? Shall we just add one of the tests to test_tuple? Sounds good. And another of them to test_list perhaps as well :) > Also, the only person to ru

[issue8847] crash appending list and namedtuple

2012-07-31 Thread Stefan Krah
Stefan Krah added the comment: Antoine Pitrou wrote: > I think we want to add those tests to the test suite as well. What's a good place? Shall we just add one of the tests to test_tuple? Also, the only person to run the tests with the PGO build will probably be Martin just before the releases

[issue15515] Regular expression match does not return

2012-07-31 Thread Caleb Rouleau
Caleb Rouleau added the comment: Thanks for the help. Apologies for the poor understanding of regular expressions. Closing this issue. -- status: open -> closed ___ Python tracker _

[issue15490] Correct __sizeof__ support for StringIO

2012-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Does this mean that PyAccu should be visited in tp_traverse and not be > accounted in __sizeof__? Or should we tighten the control and ensure > that PyAccu contains only exact Unicode objects? IMO, the latter. -- _

[issue8847] crash appending list and namedtuple

2012-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Here's a patch based on the analysis. All test cases given here > now raise TypeError. I think we want to add those tests to the test suite as well. -- ___ Python tracker ___

[issue15295] Import machinery documentation

2012-07-31 Thread Eric Snow
Eric Snow added the comment: Well, I'm more -0 than -1 on "path importer", though I do like "default path importer" better. As to the rest, sounds good to me. -- ___ Python tracker __

[issue15295] Import machinery documentation

2012-07-31 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jul 31, 2012, at 12:28 AM, Eric Snow wrote: >> You ask in [2] whether "path importer" refers specifically to the callables >> on sys.path_hooks. Can you site a reference for this? I found one >> reference in PEP 302 to "path importer" but it's hard to tell

[issue15515] Regular expression match does not return

2012-07-31 Thread Tim Peters
Tim Peters added the comment: Matthew is right: the nested quantifiers can cause this to take a very long time when the regexp doesn't match. Note that the example cannot match, because nothing in the regexp can match the space before "warning" in the example string. But the nested quantifi

[issue15295] Import machinery documentation

2012-07-31 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jul 30, 2012, at 09:41 PM, Brett Cannon wrote: >As for the diagram(s), I have attached the overall PDF that I still have from >my original Omnifgraffle file (which I don't have a license to anymore) that >I built my PyCon 2008 presentation with. It's probabl

[issue15515] Regular expression match does not return

2012-07-31 Thread Matthew Barnett
Matthew Barnett added the comment: That's because it uses a pathological regular expression (catastrophic backtracking). The problem lies here: (\\?[\w\.\-]+)+ -- ___ Python tracker __

[issue15502] Meta path finders and path entry finders are different, but share an ABC

2012-07-31 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11486] Add option to not install into /Applications

2012-07-31 Thread Ned Deily
Ned Deily added the comment: That would be nice although if you use your documented trick in Mac/README: ./configure --enable-framework=/Users/ronald/Library/Frameworks everything including the Applications directory is installed relative to the frameworks directory, so, in this case, /Use

[issue12370] Use of super overwrites use of __class__ in class namespace

2012-07-31 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue8847] crash appending list and namedtuple

2012-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume the previously crashing test cases should be added to the test suite, to detect reversion. Is there a method (faulthandler?) to keep tests going, or stop gracefully, when adding a once-crasher that could revert? -- __

[issue15450] Allow dircmp.subdirs to behave well under subclassing

2012-07-31 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +cbc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue15454] Allow dircmp.report() output stream to be customized

2012-07-31 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Should adding tests for the report methods be a separate issue from this > enhancement? Yes, I would create separate issues for this. I would even recommend separating this into one issue for the report() methods (could be done first), and another issue fo

[issue15515] Regular expression match does not return

2012-07-31 Thread Caleb Rouleau
New submission from Caleb Rouleau: Version info: 2.7.1 (r271:86832, Feb 7 2011, 11:33:02) [MSC v.1500 64 bit (AMD64)] The program included never prints "done" because it never returns from re.match(). -- Caleb Rouleau -- components: Regular Expressions files: RegexBug.py messages:

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-07-31 Thread Eli Bendersky
Eli Bendersky added the comment: Attaching part 1 of the patch for documenting the network objects. Contains general introduction, detailed documentation of constructors and all attributes. Left to document: methods, operations (like iterating, "in", comparison operators) -- Added fil

[issue15454] Allow dircmp.report() output stream to be customized

2012-07-31 Thread Chris Calloway
Chris Calloway added the comment: At the PyOhio sprints, I noticed this issue and found it interesting for low hanging fruit. First I went to make tests for this enhancement, only to find that report(), report_partial_closure(), and report_full_closure did not already have tests. In adding te

[issue10812] Add some posix functions

2012-07-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: I have VMs with earlier versions of OSX (at least 10.5 and 10.6). I cannot run those right now because they use enough resources to interfere with other activities. I'll try to test later this week. BTW. I'd prefer to make waitid available on OSX unless it is

[issue15510] textwrap.wrap('') returns empty list

2012-07-31 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Could you possibly write a patch for 2.7, 3.2 and 3.3?. With a test :-) I would be happy to write a patch with tests (I think there may be a few edge cases we would want to test here). Should be ready within the next one or two days. -- __

[issue9803] IDLE closes with save while breakpoint open

2012-07-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Roger! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue9803] IDLE closes with save while breakpoint open

2012-07-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 47536beb7453 by Andrew Svetlov in branch '3.2': Issue #9803: Don't close IDLE on saving if breakpoint is open. http://hg.python.org/cpython/rev/47536beb7453 New changeset 28c935ded243 by Andrew Svetlov in branch 'default': Issue #9803: Don't close I

  1   2   >