[issue11306] mailbox should test for errno.EROFS

2011-02-23 Thread Matt Johnston
New submission from Matt Johnston : When opening mailboxes the module checks for errno.EACCES. This doesn't help if the location is mounted read-only. Something like the following (against Python 2.6) would fix it, there are a few other checks in mailbox.py for EACCES too. --- mailbox.py.orig

[issue10516] Add list.clear() and list.copy()

2011-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: [Éric Araujo] > +"L.clear() -> None -- remove all items from L"); > It looks like other methods that return None > just omit the “-> type” part. These kind of nitty comments really aren't helpful. It consumes more time to talk about them than they're worth.

[issue10516] Add list.clear() and list.copy()

2011-02-23 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10516] Add list.clear() and list.copy()

2011-02-23 Thread Eli Bendersky
Eli Bendersky added the comment: On Thu, Feb 24, 2011 at 05:26, Éric Araujo wrote: > > Éric Araujo added the comment: > > Ray: Eli can just refresh his patch and commit.  Note that the patch program > will prompt you for a file name if it can’t find the file for a diff hunk, so > it should b

[issue10516] Add list.clear() and list.copy()

2011-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: Eli doesn't need to post a new patch. I'm sure he will fix any nits in his commit. -- ___ Python tracker ___ _

[issue5902] Stricter codec names

2011-02-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Ezio and I discussed on IRC the implementation of alias lookup and neither of us was able to point out to the function that strips non-alphanumeric characters from encoding names. It turns out that there are three "normalize" functions that are successi

[issue11303] b'x'.decode('latin1') is much slower than b'x'.decode('latin-1')

2011-02-23 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.

[issue5542] Socket is closed prematurely in httplib, if server sends response before request body has been sent

2011-02-23 Thread Guy Kloss
Guy Kloss added the comment: I know this issue is marked as fixed, and won't be backported to 2.6. But the fix is simple enough to self perform on 2.6. Doing that I have discovered an issue that might still be present with the fix, as it was not discussed here, yet, but is still related. Whe

[issue10516] Add list.clear() and list.copy()

2011-02-23 Thread Éric Araujo
Éric Araujo added the comment: Ray: Eli can just refresh his patch and commit. Note that the patch program will prompt you for a file name if it can’t find the file for a diff hunk, so it should be trivial to apply a patch across a rename. Eli: Would you mind changing two nits before committ

[issue11305] TextIOWrapper.readline and str.splitlines have different behavior

2011-02-23 Thread R. David Murray
R. David Murray added the comment: "newline controls how universal newlines works (it only applies to text mode). It can be None, '', '\n', '\r', and '\r\n'..." Whereas splitlines says: "Return a list of the lines in the string, breaking at line boundaries." So if we are fixing docs, we need

[issue11305] TextIOWrapper.readline and str.splitlines have different behavior

2011-02-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: I don't see that, but the chances of changing either of these is quite low, so I suppose we should just document. -- ___ Python tracker ___

[issue10516] Add list.clear() and list.copy()

2011-02-23 Thread Ray.Allen
Ray.Allen added the comment: Please modify the patch so that it can be applied to current py3k trunk cleanly. (Notice that Lib/collections.py has been changed to a package in #11085). -- ___ Python tracker _

[issue11305] TextIOWrapper.readline and str.splitlines have different behavior

2011-02-23 Thread R. David Murray
R. David Murray added the comment: On the other hand, I believe io is documented as only recognizing /r and /n, so its behavior matches its documentation. -- ___ Python tracker ___

[issue11305] TextIOWrapper.readline and str.splitlines have different behavior

2011-02-23 Thread R. David Murray
R. David Murray added the comment: Your example got a little messed up. >>> list(io.StringIO('print 1\n\x0cprint 2\n\n')) ['print 1\n', '\x0cprint 2\n', '\n'] >>> 'print 1\n\x0cprint 2\n\n'.splitlines(True) ['print 1\n', '\x0c', 'print 2\n', '\n'] >>> list(io.StringIO('print 1\x0cprint 2\n\n'))

[issue11305] TextIOWrapper.readline and str.splitlines have different behavior

2011-02-23 Thread Benjamin Peterson
New submission from Benjamin Peterson : For example: >>> 'print 1\n\x0cprint 2\n\n'.splitlines() ['print 1\n', '\x0cprint 2\n', '\n'] >>> list(io.StringIO('print 1\n\x0cprint 2\n\n')) I'm not sure which is preferable. -- components: IO, Interpreter Core messages: 129240 nosy: benjamin.

[issue5902] Stricter codec names

2011-02-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > Accepting all common forms for > encoding names means that you can usually give Python an encoding name > from, e.g. a HTML page, or any other file or system that specifies an > encoding. I don't buy this argument. Running attached script on http://ww

[issue9952] Martin Rinehart wants to stay in touch on LinkedIn

2011-02-23 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg117410 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9952] Martin Rinehart wants to stay in touch on LinkedIn

2011-02-23 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file19023/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue5902] Stricter codec names

2011-02-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: What is the status of this. Status=open and Resolution=rejected contradict each other. This discussion is relevant for issue11303. Currently alias lookup incurs huge performance penalty in some cases. -- nosy: +belopolsky ___

[issue10516] Add list.clear() and list.copy()

2011-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: The patch looks great. Please apply it. -- assignee: rhettinger -> eli.bendersky resolution: later -> accepted ___ Python tracker ___ __

[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes

2011-02-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'm trying to remember if this was intentional or not... -- ___ Python tracker ___ ___ Python-bu

[issue11302] Add more tests to test_ast.py

2011-02-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please upload to Rietveld. I have a few comments to make. -- nosy: +benjamin.peterson ___ Python tracker ___ ___

[issue11303] b'x'.decode('latin1') is much slower than b'x'.decode('latin-1')

2011-02-23 Thread Éric Araujo
Éric Araujo added the comment: +1 for the patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10764] sysconfig and alternative implementations

2011-02-23 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: duplicate -> superseder: Avoid parsing pyconfig.h and Makefile by autogenerating extension module -> ___ Python tracker ___ ___

[issue9878] Avoid parsing pyconfig.h and Makefile by autogenerating extension module

2011-02-23 Thread Michael Foord
Michael Foord added the comment: And also issue 10764. This issue affects alternative implementations of Python. -- nosy: +michael.foord ___ Python tracker ___ __

[issue11303] b'x'.decode('latin1') is much slower than b'x'.decode('latin-1')

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

[issue11303] b'x'.decode('latin1') is much slower than b'x'.decode('latin-1')

2011-02-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: In issue11303.diff, I add similar optimization for encode('latin1') and for 'utf8' variant of utf-8. I don't think dash-less variants of utf-16 and utf-32 are common enough to justify special-casing. -- Added file: http://bugs.python.org/file20

[issue11304] Input/output tutorial - PI is rounded not truncated

2011-02-23 Thread SilentGhost
Changes by SilentGhost : -- nosy: -SilentGhost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11304] Input/output tutorial - PI is rounded not truncated

2011-02-23 Thread SilentGhost
Changes by SilentGhost : -- Removed message: http://bugs.python.org/msg129230 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11304] Input/output tutorial - PI is rounded not truncated

2011-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: Fixed in r88356, r88537, and r88538. Thanks for the report. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue11304] Input/output tutorial - PI is rounded not truncated

2011-02-23 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue11304] Input/output tutorial - PI is rounded not truncated

2011-02-23 Thread SilentGhost
SilentGhost added the comment: Sandro, you didn't attach anything. -- nosy: +SilentGhost ___ Python tracker ___ ___ Python-bugs-list

[issue8426] multiprocessing.Queue fails to get() very large objects

2011-02-23 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: Alright, it's normal behaviour, but since it doesn't seem to be documented, it can be quite surprising. A queue works like this: - when you call queue.put(data), the data is added to a deque, which can grow and shrink forever - then a thread pops elem

[issue11304] Input/output tutorial - PI is rounded not truncated

2011-02-23 Thread Sandro Tosi
New submission from Sandro Tosi : Following up http://mail.python.org/pipermail/docs/2011-January/002974.html here's a patch to fix it. -- assignee: docs@python components: Documentation keywords: patch messages: 129228 nosy: docs@python, sandro.tosi priority: low severity: normal stage

[issue11303] b'x'.decode('latin1') is much slower than b'x'.decode('latin-1')

2011-02-23 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue11303] b'x'.decode('latin1') is much slower than b'x'.decode('latin-1')

2011-02-23 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : $ ./python.exe -m timeit "b'x'.decode('latin1')" 10 loops, best of 3: 2.57 usec per loop $ ./python.exe -m timeit "b'x'.decode('latin-1')" 100 loops, best of 3: 0.336 usec per loop The reason for this behavior is that 'latin-1' is short-circuite

[issue4376] Nested ctypes 'BigEndianStructure' fails

2011-02-23 Thread Jake
Changes by Jake : -- nosy: +Jake.Coffman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file20856/issue11286.diff ___ Python tracker ___ ___ Python-bugs-list m

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am attaching a new version of issue11286.diff which fixes the issue by removing special handling of n == 0 case from _Unpickler_Read(). Note that _Unpickler_Read() (formerly known as unpickler_read()) only started to return null pointer instead of a

[issue11302] Add more tests to test_ast.py

2011-02-23 Thread Vincent Legoll
New submission from Vincent Legoll : While working to improve pypy's compliance with cpython2.7 I added more tests to the ast module test suite. They may be of interest here too... -- components: Tests files: add-more-tests-for-ast_py.patch keywords: patch messages: 129225 nosy: vincele

[issue11301] cookielib.LWPCookieJar.save() doesn't save cookies

2011-02-23 Thread Mike Cencula
Mike Cencula added the comment: User error indeed. Adding ignore_discard=True, ignore_expires=True cured the issue. Thank you. -- status: open -> closed ___ Python tracker __

[issue11301] cookielib.LWPCookieJar.save() doesn't save cookies

2011-02-23 Thread Mike Cencula
New submission from Mike Cencula : I'm trying to use cookielib.LWPCookieJar.save() to save cookies from a website. The cookie file is created with a header line, but the cookies are not stored. Example program attached. Python version: 2.5.2 (r252:60911, Jan 24 2010, 14:53:14) Running on De

[issue11252] Handling statement OR assignment continuation '\' on Win32 platform

2011-02-23 Thread Łukasz Langa
Łukasz Langa added the comment: OK, now I know more about glob than I ever wanted to! :) Basically it comes down to this: unix>>> os.path.split('\\') ('', '\\') win32>>> os.path.split('\\') ('\\', '') This is why \ is recognized as the root directory on Win32 and as a non-existent file on U

[issue11300] mmap() large file failures on Mac OS X docfix

2011-02-23 Thread Steffen Daode Nurpmeso
New submission from Steffen Daode Nurpmeso : Issue 11277 was closed upon the generally accepted conclusion that the failure is that mmap(2) on Mac OS X has a long time known bug (see msg129107, or directly http://lists.apple.com/archives/darwin-development/2003/Jun/msg00141.html). Issue 11277

[issue11297] Make ChainMap() public in the collections module.

2011-02-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the new_child() and parents() part of the API was modeled after contexts in ANLTR where they are needed to overcome the limitations of Django's push/pop style which precludes a context from having multiple, independent children at the same time. The

[issue11288] Python installed from MSI doesn't work

2011-02-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: Ok, closing this as "invalid" then - it's not a bug in the installer, but a misconfiguration of the local system. Thanks to Bartosz for the analysis! -- resolution: -> invalid status: open -> closed ___ Python tra

[issue11294] Locale - update & uniform ERA_*_FMT doc

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi : -- assignee: sandro.tosi -> docs@python nosy: +docs@python ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11293] Distutils - read the file when using it in long_description

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi : -- assignee: sandro.tosi -> docs@python nosy: +docs@python ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11292] Curses - add A_REVERSE to attributes table

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi : -- assignee: sandro.tosi -> docs@python nosy: +docs@python ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11232] asyncore - don't throw a traceback when a client disconnects in echo server example

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi : -- assignee: sandro.tosi -> docs@python nosy: +docs@python ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11239] regexp-howto - add missing } to metachars

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi : -- assignee: sandro.tosi -> docs@python nosy: +docs@python ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11227] [DOC] asyncore - use 'Host' header in HTTP example

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi : -- assignee: sandro.tosi -> docs@python nosy: +docs@python ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11297] Make ChainMap() public in the collections module.

2011-02-23 Thread R. David Murray
R. David Murray added the comment: Yes, that's part of what I find more intuitive about it. I think of the chainmap as a stack. Perhaps if I had a different application (I would use it for either configuration or namespace management) I'd want a different API, but for those two the stack ap

[issue10791] Wrapping TextIOWrapper around gzip files

2011-02-23 Thread Alex
Changes by Alex : -- nosy: +alex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue11297] Make ChainMap() public in the collections module.

2011-02-23 Thread Alex
Alex added the comment: An important distinction with Django's push/pop is that they mutate the Context (ChainMap) rather than return a fresh instance. -- nosy: +alex ___ Python tracker __

[issue11297] Make ChainMap() public in the collections module.

2011-02-23 Thread R. David Murray
R. David Murray added the comment: I don't think that new_child and parents are too specialized at all, indeed they are essential to one of the primary use cases for the construct. I find Django's push and pop much more intuitive than new_child and parents, however, and would prefer those me

[issue10791] Wrapping TextIOWrapper around gzip files

2011-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: It would probably be ok to fallback on read() when read1() isn't implemented. read1() is supposed to be implemented by all BufferedIO-compliant classes, but in all honesty I don't think it's very useful in practice. It's supposed to be an optimization, and I

[issue11297] Make ChainMap() public in the collections module.

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

[issue11299] Allow deepcopying and pickling paused generators

2011-02-23 Thread Ram Rachum
Ram Rachum added the comment: P.S. I'm willing to write a test-case if it will help. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue11299] Allow deepcopying and pickling paused generators

2011-02-23 Thread Ram Rachum
New submission from Ram Rachum : Please allow to deepcopy and to pickle paused generators, including all their state. This is implemented in Pypy: Python 2.5.2 (335e875cb0fe, Dec 28 2010, 20:31:56) [PyPy 1.4.1] on win32 Type "copyright", "credits" or "license()" for mor

[issue11298] unittest discovery needs better explanation

2011-02-23 Thread Michael Foord
Michael Foord added the comment: Hey, blokeley the same patch will apply cleanly against 3.2 / 3.3 so no worries. -- ___ Python tracker ___ _

[issue11298] unittest discovery needs better explanation

2011-02-23 Thread blokeley
blokeley added the comment: Added release3.2-maint patch. I created the patches by cloning the corresponding hg repo from http://code.python.org/hg If this is the wrong thing to do, let me know. I have no idea where the 3.3 branch is. Please advise. -- Added file: http://bugs.python

[issue11298] unittest discovery needs better explanation

2011-02-23 Thread blokeley
blokeley added the comment: Added release2.7-maint patch. -- Added file: http://bugs.python.org/file20865/py2.7-maint_rev45852_issue11298.patch ___ Python tracker ___ _

[issue11298] unittest discovery needs better explanation

2011-02-23 Thread blokeley
Changes by blokeley : Removed file: http://bugs.python.org/file20864/py2.7-maint_rev45852_issue11298.patch ___ Python tracker ___ ___ Python-

[issue11298] unittest discovery needs better explanation

2011-02-23 Thread blokeley
blokeley added the comment: Added release2.7-maint patch. -- Added file: http://bugs.python.org/file20864/py2.7-maint_rev45852_issue11298.patch ___ Python tracker ___ _

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Wed, Feb 23, 2011 at 10:22 AM, Antoine Pitrou wrote: .. > Well, a theoretical argument could be made that some codec could return > a non-empty string when asked to decode an empty bytestring, but I'm not > sure it has much practical worth :) I was th

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It may be better to modify _Unpickler_Read() so that it returns > self->input_buffer (or even self->input_buffer + self->next_read_idx) > for zero n. I agree this would be better for readability and maintainability. > On the other hand, my patch also elimina

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Antoine is right, my patch is only of "discussion" quality and if my approach gets support, I will produce a more polished patch. While I am fairly certain that this bug should be fixed where it was introduced, namely in the _pickle module, I am not sur

[issue10791] Wrapping TextIOWrapper around gzip files

2011-02-23 Thread STINNER Victor
STINNER Victor added the comment: > Yes, a clear definition of the minimum requirements for being wrapped > by TextIOWrapper sounds like a necessary thing to have About that: is read1() argument mandatory or not? In _pyio, BufferedIOBase.read1() argument is optional (default: None); BytesIO.r

[issue11288] Python installed from MSI doesn't work

2011-02-23 Thread Matthew Funke
Matthew Funke added the comment: Changing the environment variables did the trick! Thank you very much! -- ___ Python tracker ___ __

[issue10791] Wrapping TextIOWrapper around gzip files

2011-02-23 Thread R. David Murray
R. David Murray added the comment: Yes, a clear definition of the minimum requirements for being wrapped by TextIOWrapper sounds like a necessary thing to have (and I'd be inclined to agree with your assertion, but I didn't work on the IO library :). It would be best to open a new issue for

[issue9276] pickle should support methods

2011-02-23 Thread Ram Rachum
Changes by Ram Rachum : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue9276] pickle should support methods

2011-02-23 Thread Ram Rachum
Ram Rachum added the comment: I also miss being able to pickle unbound methods on Python 3. I don't think there's an interest in pickling the actual code objects. In my opinion, unbound methods should be pickled exactly like all the other Python definitions, such as bound methods, top-level f

[issue10791] Wrapping TextIOWrapper around gzip files

2011-02-23 Thread David Beazley
David Beazley added the comment: Python 3.2 (r32:88445, Feb 20 2011, 21:51:21) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import gzip >>> import io >>> f = io.TextIOWrapper(gzip.open("file.gz"),encoding='latin-1') >>>

[issue10791] Wrapping TextIOWrapper around gzip files

2011-02-23 Thread STINNER Victor
STINNER Victor added the comment: What is the problem with Python 3.2? It works correctly here: $ cat bla.txt bli blo bla $ gzip bla.txt $ ./python Python 3.3a0 (unknown, Feb 23 2011, 13:03:50) >>> import gzip, io >>> f = io.TextIOWrapper(gzip.open("bla.txt.gz"),encoding='ascii') >>> f.read(

[issue8289] multiprocessing.Process.__init__ pickles all arguments

2011-02-23 Thread Ram Rachum
Changes by Ram Rachum : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue10791] Wrapping TextIOWrapper around gzip files

2011-02-23 Thread David Beazley
David Beazley added the comment: If I can find some time, I may took a look at this. I just noticed that similar problems arise trying to wrap TextIOWrapper around the file-like objects returned by urllib.request.urlopen as well. In the big picture, some discussion of what it means to be "f

[issue10791] Wrapping TextIOWrapper around gzip files

2011-02-23 Thread R. David Murray
R. David Murray added the comment: If a patch had been proposed it probably would have gotten in to 3.2. Maybe someone (perhaps you?) will find the time before 3.2.1. Someone has decided to work on the bz2 rewrite, by the way (issue 5863). -- ___

[issue11298] unittest discovery needs better explanation

2011-02-23 Thread Michael Foord
Michael Foord added the comment: Thanks blokely, looks good. Needs applying to 2.7 / 3.2 and 3.3 branches. -- ___ Python tracker ___

[issue11298] unittest discovery needs better explanation

2011-02-23 Thread blokeley
Changes by blokeley : Added file: http://bugs.python.org/file20863/py3k_rev9921_issue11298.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue11298] unittest discovery needs better explanation

2011-02-23 Thread blokeley
Changes by blokeley : Removed file: http://bugs.python.org/file20862/py3k_rev9921_issue11298.patch ___ Python tracker ___ ___ Python-bugs-list

[issue11298] unittest discovery needs better explanation

2011-02-23 Thread blokeley
Changes by blokeley : -- keywords: +patch Added file: http://bugs.python.org/file20862/py3k_rev9921_issue11298.patch ___ Python tracker ___ __

[issue3080] Full unicode import system

2011-02-23 Thread STINNER Victor
STINNER Victor added the comment: > This new failure is perhaps related: (...) test_reprlib Ah yes, yesterday, I tried to remember which test was impacted by the module change, but all tests passed on Linux. Anyway, it's now fixed by r88533. -- ___

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: So, about Alexander's patch: - it lacks a test - it doesn't solve the issue with PyUnicode_Decode's confusing error message when a NULL is passed ("ValueError: operation forbidden on released memoryview object"); if we want to disallow NULL, we should have a c

[issue11288] Python installed from MSI doesn't work

2011-02-23 Thread Bartosz
Bartosz added the comment: I have found a problem and sollution: previously I have used Python 2.x and when I removed that version and next installed Python32, PYTHONPATH in system variabled indicated still to Python2.x. Removing all python paths to old version solved the problem. -

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oops, I hadn't seen Alexander's patch. Sorry. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Jesús Cea Avión wrote: > > Jesús Cea Avión added the comment: > > What if we commit Antoine patch for 3.2.x, and the "correct" patch for py3k > trunk?. > > I am actually +1 to Marc-Andre. I feel in my guts that the provided patch is > hidding a deeper

[issue11288] Python installed from MSI doesn't work

2011-02-23 Thread Bartosz
Bartosz added the comment: I've got English version too. Python is 32 bit and operating system is also 32 bit. -- ___ Python tracker ___ ___

[issue11298] unittest discovery needs better explanation

2011-02-23 Thread Ezio Melotti
Ezio Melotti added the comment: http://code.python.org/hg/branches/py3k/ -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11298] unittest discovery needs better explanation

2011-02-23 Thread blokeley
blokeley added the comment: Will do but I haven't submitted a patch before and it's impossible to tell from python.org/dev whether to use the svn or hg repositories. If possible, please just let me know the URL of the hg repository against which I should make the patch (I don't currently have

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Please go with Alexander's solution of fixing the higher level code > rather than silently trying to introduce a new feature in > PyUnicode_Decode() that hides programming errors. I'm sorry, I'm perfectly fine with my own patch, so someone else will have to p

[issue10791] Wrapping TextIOWrapper around gzip files

2011-02-23 Thread David Beazley
David Beazley added the comment: Bump. This is still broken in Python 3.2. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Please go with Alexander's solution of fixing the higher level code rather than silently trying to introduce a new feature in PyUnicode_Decode() that hides programming errors. Thanks. -- ___ Python tracker

[issue3080] Full unicode import system

2011-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: This new failure is perhaps related: http://www.python.org/dev/buildbot/all/builders/AMD64%20Windows%20Server%202008%203.x/builds/572/steps/test/logs/stdio == FAIL: test_module (test.test_rep

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-23 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Sorry, i've got that kid running around which sometimes doesn't know what it is doing. But this documentation patch may really be a help. It's my first doc-patch, so it surely needs to be revised, if interest exists in such a patch for mmap at all,

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > Nope. Your suggestion would be a new feature and those are not > > allowed in patch level releases. > > What new feature are you talking about? I think you misunderstood the > actual issue: NULL as an empty string *worked* in 3.1 And, with a very high like

[issue2650] re.escape should not escape underscore

2011-02-23 Thread SilentGhost
Changes by SilentGhost : Removed file: http://bugs.python.org/file20389/test_re.diff ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue2650] re.escape should not escape underscore

2011-02-23 Thread SilentGhost
Changes by SilentGhost : Added file: http://bugs.python.org/file20860/test_re.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

2011-02-23 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: What if we commit Antoine patch for 3.2.x, and the "correct" patch for py3k trunk?. I am actually +1 to Marc-Andre. I feel in my guts that the provided patch is hidding a deeper issue. But avoiding surprises for third parties in 3.2.1 is a good idea. -

  1   2   >