[issue13080] test_email fails in refleak mode

2011-09-30 Thread Stefan Krah
Stefan Krah added the comment: I think this is a duplicate of #12788. -- nosy: +skrah resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> test_email fails with -R ___ Python tracker

[issue12753] \N{...} neglects formal aliases and named sequences from Unicode charnames namespace

2011-09-30 Thread Ezio Melotti
Ezio Melotti added the comment: Attached a new patch that adds support for named sequences (still needs some test and can probably be improved). > There are certainly advantages to that strategy: you don't have to > deal with [\N{sequence}] issues. I assume with [] you mean a regex character

[issue13075] PEP-0001 contains dead links

2011-09-30 Thread Nick Coghlan
Nick Coghlan added the comment: These pages are all still on python.org - the links just need to be updated to point to the devguide equivalents (under http://docs.python.org/devguide) -- nosy: +ncoghlan ___ Python tracker

[issue13083] _sre: getstring() releases the buffer before using it

2011-09-30 Thread STINNER Victor
New submission from STINNER Victor : getstring() of the _sre module contains the following code: - ... buffer = Py_TYPE(string)->tp_as_buffer; if (!buffer || !buffer->bf_getbuffer || (*buffer->bf_getbuffer)(string, &view, PyBUF_SIMPLE) < 0) { PyErr_SetS

[issue13075] PEP-0001 contains dead links

2011-09-30 Thread Mike Hoy
Mike Hoy added the comment: Of course I would be creating new articles based on the archived pages. -- ___ Python tracker ___ ___ Pyt

[issue13075] PEP-0001 contains dead links

2011-09-30 Thread Mike Hoy
Mike Hoy added the comment: I'm working on making a patch for this. I just want to confirm that the information I found is correct: Article Name OLD URL ARCHIVED URL How Python is Developed OLD: http://www.python.org/dev/intro/ ARCHIVE: http://www.etsimo.uniovi.es/python/dev/intro/ Python's

[issue13082] Can't open new window in python

2011-09-30 Thread Alexander
New submission from Alexander : When I try to open a new window in python to actually type a program and not just make single python instructions (this is while running on IDLE), python stops working and I have to force quit -- assignee: ronaldoussoren components: Macintosh messages: 1

[issue13070] segmentation fault in pure-python multi-threaded server

2011-09-30 Thread Victor Semionov
Victor Semionov added the comment: Thanks Charles-François, I tested your patch with "make test" and with my program. Both work fine. -- ___ Python tracker ___

[issue13071] IDLE refuses to open on windows 7

2011-09-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE with Py3.2.2 works fine on Win 7 for me (desktop) and daughter (laptop), so there is something peculiar with your system. -- nosy: +terry.reedy ___ Python tracker __

[issue12753] \N{...} neglects formal aliases and named sequences from Unicode charnames namespace

2011-09-30 Thread Tom Christiansen
Tom Christiansen added the comment: >Ezio Melotti added the comment: > Leaving named sequences for unicodedata.lookup() only (and not for > \N{}) makes sense. There are certainly advantages to that strategy: you don't have to deal with [\N{sequence}] issues. If the argument to unicode.lookup

[issue13081] Crash in Windows with unknown cause

2011-09-30 Thread Roger Libiez
New submission from Roger Libiez : While using the application found at: https://sourceforge.net/tracker/?group_id=199269 The following Windows error dump generates itself while processing a batch of 3D mesh files with it. I do not know the specifics about what process was underway or have an

[issue13070] segmentation fault in pure-python multi-threaded server

2011-09-30 Thread Charles-François Natali
Changes by Charles-François Natali : Added file: http://bugs.python.org/file23279/buffered_closed_gc-1.diff ___ Python tracker ___ ___ Python-

[issue13070] segmentation fault in pure-python multi-threaded server

2011-09-30 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file23278/buffered_closed_gc-1.diff ___ Python tracker ___ ___ Pytho

[issue13070] segmentation fault in pure-python multi-threaded server

2011-09-30 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file23277/buffered_closed_gc.diff ___ Python tracker ___ ___ Python-

[issue13070] segmentation fault in pure-python multi-threaded server

2011-09-30 Thread Charles-François Natali
Charles-François Natali added the comment: With test. -- Added file: http://bugs.python.org/file23278/buffered_closed_gc-1.diff ___ Python tracker ___ __

[issue13079] Wrong datetime format in PEP3101

2011-09-30 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for the report. Fixed in 9a9bd05b9fca. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue13070] segmentation fault in pure-python multi-threaded server

2011-09-30 Thread Charles-François Natali
Charles-François Natali added the comment: Confirmed with default. The problem is that the TextIOWrapper gets collected after the underlying BufferedRWPair has been cleared (tp_clear) by the garbage collector: when _PyIOBase_finalize() is called for the TextIOWrapper, it checks if the textio

[issue12753] \N{...} neglects formal aliases and named sequences from Unicode charnames namespace

2011-09-30 Thread Ezio Melotti
Ezio Melotti added the comment: Leaving named sequences for unicodedata.lookup() only (and not for \N{}) makes sense. The list of aliases is so small (11 entries) that I'm not sure using a binary search for it would bring any advantage. Having a single lookup algorithm that looks in both ta

[issue13040] call to tkinter.messagebox.showinfo hangs the script on timer on Windows

2011-09-30 Thread Richard86
Richard86 added the comment: You nailed it. Thank you very much! (I really thought it was a bug, since the code ran well on Linux.) -- ___ Python tracker ___ __

[issue13075] PEP-0001 contains dead links

2011-09-30 Thread Eric Snow
Eric Snow added the comment: "Maybe some of them are already superseded, but even then I think they have at least historical value and should be kept on python.org." +1 -- nosy: +eric.snow ___ Python tracker ___

[issue13079] Wrong datetime format in PEP3101

2011-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +eric.smith, ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue13080] test_email fails in refleak mode

2011-09-30 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue13080] test_email fails in refleak mode

2011-09-30 Thread Antoine Pitrou
New submission from Antoine Pitrou : $ ./python -m test -R 3:2 -uall test_email [1/1] test_email beginning 5 repetitions 12345 Warning -- sys.path was modified by test_email test test_email failed -- Traceback (most recent call last): File "/home/antoine/cpython/default/Lib/test/test_email/test

[issue13040] call to tkinter.messagebox.showinfo hangs the script on timer on Windows

2011-09-30 Thread Ned Deily
Ned Deily added the comment: The problem can be reproduced on some other platforms depending on the version of Tcl/Tk in use. But the supplied program violates the well-known if not particularly well-documented restriction of tkinter programming that all Tk UI operations must be on the main

[issue13079] Wrong datetime format in PEP3101

2011-09-30 Thread ojab
New submission from ojab : Example in pep3101 is "Today is: {0:a b d H:M:S Y}".format(datetime.now()) but it should be "Today is: {0:%a %b %d %H:%M:%S %Y}".format(datetime.now()) -- assignee: docs@python components: Documentation messages: 144698 nosy: docs@python, ojab priority: normal

[issue13078] Python Crashes When Saving Or Opening

2011-09-30 Thread Ash Sparks
New submission from Ash Sparks : Hi there, Python v3.2 crashes every time I attempt to save or open .py files. I have attached a text file that shows the error I receive. In advance, your help is much appreciated Regards Ash -- components: Windows files: Python_Issue.txt messages: 1

[issue12880] ctypes: clearly document how structure bit fields are allocated

2011-09-30 Thread Vlad Riscutia
Vlad Riscutia added the comment: Attached doc update against tip (though I still hope my patch for configurable allocation strategies will make it in). This is my first doc patch so let me know if I missed something. I am basically explaining that bit field allocation is compiler-specific an

[issue12242] distutils2 environment marker for current compiler

2011-09-30 Thread Eli Collins
Eli Collins added the comment: Attached is a fifth revision (963a2cce068d.diff) of my patch. I was trying to avoid submitting any more revisions if possible, since this I think this patch is essentially feature-complete. However, this revision adds two things which I felt were needed: * This

[issue12242] distutils2 environment marker for current compiler

2011-09-30 Thread Eli Collins
Changes by Eli Collins : Added file: http://bugs.python.org/file23274/963a2cce068d.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue13062] Introspection generator and function closure state

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

[issue12632] Python 3 doesn't support cp65001 as the OEM code page

2011-09-30 Thread Bruce Ferris
Bruce Ferris added the comment: The PYTHONIOENCODING=utf-8 setting works great if I have code page 65001 set. I haven't, however, done a complete console functionality check with that setting but, thanks for the input -- it solves the current problem I'm experiencing. I do wonder, however,

[issue13040] call to tkinter.messagebox.showinfo hangs the script on timer on Windows

2011-09-30 Thread Richard86
Richard86 added the comment: This is a serious problem. I REALLY hope that someone on a Windows machine can either confirm the bug by reproducing with provided example code or disprove it. -- ___ Python tracker _

[issue13077] Unclear behavior of daemon threads on main thread exit

2011-09-30 Thread R. David Murray
R. David Murray added the comment: It seems clear enough to me that when a process terminates ("the entire Python program exits") then all of its threads must terminate. That's part of the definition of threads, to my understanding. I think the confusion arises from the use of the word "deam

[issue13077] Unclear behavior of daemon threads on main thread exit

2011-09-30 Thread etuardu
New submission from etuardu : The definition of daemon thread in the current documentation reads: «A thread can be flagged as a "daemon thread". The significance of this flag is that the entire Python program exits when only daemon threads are left. [...]» (http://docs.python.org/library/thread

[issue12737] str.title() is overzealous by upcasing combining marks inappropriately

2011-09-30 Thread Guido van Rossum
Guido van Rossum added the comment: I like how we're actually converging on an implementable and maximally-useful algorithm. -- ___ Python tracker ___ __

[issue13076] Bad links to 'time' in datetime documentation

2011-09-30 Thread R. David Murray
Changes by R. David Murray : -- stage: -> needs patch versions: -Python 2.6, Python 3.1, Python 3.4 ___ Python tracker ___ ___ Pytho

[issue13076] Bad links to 'time' in datetime documentation

2011-09-30 Thread Geoffrey Bache
Changes by Geoffrey Bache : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker ___ ___ Pyth

[issue13076] Bad links to 'time' in datetime documentation

2011-09-30 Thread Geoffrey Bache
New submission from Geoffrey Bache : Reading through the datetime module documentation, various places that refer to "datetime.time" objects are in fact links to the "time" module. They should refer to the appropriate section on the same page. -- messages: 144689 nosy: gjb1002 priority

[issue12737] str.title() is overzealous by upcasing combining marks inappropriately

2011-09-30 Thread Tom Christiansen
Tom Christiansen added the comment: > Martin v. Löwis added the comment: > "Split S into words. Change the first letter in a word to upper-case, Except that I think you actually mean that the first "letter" is changed into titlecase not uppercase. One might also say *try* to change for al

[issue3232] Wrong str->bytes conversion in Lib/encodings/idna.py

2011-09-30 Thread R. David Murray
R. David Murray added the comment: +1. decode_idna is likely to be useful to the email package. -- ___ Python tracker ___ ___ Python-

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Wong Wah Meng
Wong Wah Meng added the comment: 1.) I see. Sorry ya, I didn't notice. They are automatically generated as my email footer. 2.) Ok, appreciate the information and helps! Regards, Wah Meng -- ___ Python tracker

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Stefan Krah
Stefan Krah added the comment: Wah Meng: I think there are a couple of misconceptions that need to be cleared up: 1) Georg's complaint was about the links to http://dyno.freescale.net/ in you posts. 2) This is not a support hotline but a *bug tracker*. Since the bug in configure has not

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-30 Thread Wong Wah Meng
Wong Wah Meng added the comment: I tried again the build, after a new openSSL is installed on by my UNIX admin. The OpenSSL version is A.00.09.08r.003. The same result is generated when random is tested. The hashlib cannot be imported due to missing _sha256. In my build, I explicitly pass in

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Wong Wah Meng
Changes by Wong Wah Meng : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12737] str.title() is overzealous by upcasing combining marks inappropriately

2011-09-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Martin, do you think that str.title() should follow the Unicode standard? I don't think that "follow the Unicode standard" has any meaning in this context: the Unicode standard doesn't specify (AFAIK) what a .title() method in a programming language should d

[issue3232] Wrong str->bytes conversion in Lib/encodings/idna.py

2011-09-30 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue3232] Wrong str->bytes conversion in Lib/encodings/idna.py

2011-09-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: I agree that the codec shouldn't "decode" unicode strings. However, the operation performed is still meaningful: users may type ACE (ascii-compatibly-encoded) DNS names into a user interface, and the application may then represent this as a "proper" Unicode

[issue12753] \N{...} neglects formal aliases and named sequences from Unicode charnames namespace

2011-09-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: I propose to use a better lookup algorithm using binary search, and then integrate the NamedSequences into this as well. The search result could be a record struct { char *name; int len; Py_UCS4 chars[3]; /* no sequence is more than 3 chars */ }

[issue13073] message_body argument of HTTPConnection.endheaders is undocumented

2011-09-30 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: docs@python -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13075] PEP-0001 contains dead links

2011-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue13075] PEP-0001 contains dead links

2011-09-30 Thread Elmar Zander
New submission from Elmar Zander : The links in section "Resources" of PEP-0001 are all dead. They point to www.python.org/dev/ and all return a 404. Most of them can still be found via google archive.org, but that's not really how it should be. Maybe some of them are already superseded, but e

[issue12753] \N{...} neglects formal aliases and named sequences from Unicode charnames namespace

2011-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue12753] \N{...} neglects formal aliases and named sequences from Unicode charnames namespace

2011-09-30 Thread Ezio Melotti
Ezio Melotti added the comment: The attached patch changes Tools/unicode/makeunicodedata.py to create a list of names and codepoints taken from http://www.unicode.org/Public/6.0.0/ucd/NameAliases.txt and adds it to Modules/unicodename_db.h. During the lookup the _getcode function at Modules/u

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Wong Wah Meng
Wong Wah Meng added the comment: I put up an issue the python I build is not able to run thread.start_new_thread. Someone replied to me that there is a bug in configure file and I follow the patch and rebuild my python, my thread is working after the patch is applied. I ended that issue discu

[issue13074] Improve documentation of locale encoding functions

2011-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch versions: -Python 2.6, Python 3.1, Python 3.4 ___ Python tracker ___

[issue13074] Improve documentation of locale encoding functions

2011-09-30 Thread Geoffrey Bache
New submission from Geoffrey Bache : The locale module provides locale.getdefaultlocale and locale.getpreferredencoding. The encodings returned by each are generally subtly different ('ISO8859-1' vs 'ISO-8859-1'), but the difference between these methods is not explained. A comment by Martin

[issue13073] message_body argument of HTTPConnection.endheaders is undocumented

2011-09-30 Thread Petri Lehtinen
New submission from Petri Lehtinen : The argument is essential to avoid slowdown with delayed ACKs and the Nagle algorithm, so it should be documented. It was added when fixing issue 4336. I believe that it's new in Python 2.7. -- assignee: docs@python components: Documentation message