[issue12287] ossaudiodev: stack corruption with FD = FD_SETSIZE

2011-07-14 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Brian, any comment about the Windows part (see Victor's message, http://bugs.python.org/issue12287#msg138137) ? -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org

[issue12551] Provide data for TLS channel binding

2011-07-14 Thread Jacek Konieczny
Jacek Konieczny jaj...@jajcus.net added the comment: Thanks for the quick review. Most of the problems are my oversights. I am not sure about that: And I think get_channel_binding() should raise NotImplementedError in that case. As the method is supposed to be extensible and 'tls-unique'

[issue12548] Add suport native Functor

2011-07-14 Thread yuriy_levchenko
yuriy_levchenko levchenko.yuriy.vladimirov...@gmail.com added the comment: http://www.python.org/dev/peps/pep-0309/#note Abandoned Syntax Proposal I originally suggested the syntax fn@(*args, **kw), meaning the same as

[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

2011-07-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I get this on Linux with ^D With which Python version? Did you try Python 3.3 (development version)? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5505

[issue12548] Add suport native Functor

2011-07-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Using the func%(args) syntax is not possible because fab = foo%(1,2) is equivalent to fab = foo.__mod__((1,2)) It might actually be possible to overload the % operator to make something that looks like your proposed syntax (without

[issue6942] email.generator.Generator memory consumption

2011-07-14 Thread Srikanth S
Changes by Srikanth S sriks...@gmail.com: -- nosy: +srikanths ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6942 ___ ___ Python-bugs-list mailing

[issue7559] TestLoader.loadTestsFromName swallows import errors

2011-07-14 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: My thinking on this has evolved a bit. Changing an import error into an attribute error is just a bad api. We should just fix the bad api. -- ___ Python tracker rep...@bugs.python.org

[issue1670765] email.Generator: no header wrapping for multipart/signed

2011-07-14 Thread Srikanth S
Changes by Srikanth S sriks...@gmail.com: -- nosy: +srikanths ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1670765 ___ ___ Python-bugs-list

[issue968430] error flattening complex smime signed message

2011-07-14 Thread Srikanth S
Changes by Srikanth S sriks...@gmail.com: -- nosy: +srikanths ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue968430 ___ ___ Python-bugs-list

[issue12548] Add suport native Functor

2011-07-14 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12548 ___ ___

[issue12551] Provide data for TLS channel binding

2011-07-14 Thread Jacek Konieczny
Jacek Konieczny jaj...@jajcus.net added the comment: This is patch updated according to your suggestions, including raising NotImplementedError when 'tls-unique' is not available and with the ssl.HAS_TLS_UNIQUE constant added. It also includes an important fix to the data retrieval logic (one

[issue12556] Disable size checks in mmap.mmap()

2011-07-14 Thread Sergei Lebedev
New submission from Sergei Lebedev superbo...@gmail.com: Current `mmap` implementation raises a ValueError if a sum of offset and length exceeds file size, as reported by `fstat`. While perfectly valid for most use-cases, it doesn't work for special files, for example: with

[issue12551] Provide data for TLS channel binding

2011-07-14 Thread Jacek Konieczny
Jacek Konieczny jaj...@jajcus.net added the comment: This patch is functionally equivalent, but advertises 'tls-unique' support in a bit different way. HAS_TLS_UNIQUE is not exposed in the python 'ssl' module, instead a list 'CHANNEL_BINDING_TYPES' is provided (empty when 'tls-unique' is not

[issue10403] Use member consistently

2011-07-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10403 ___ ___

[issue12250] regrtest: make --timeout explicit

2011-07-14 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d3cebbd500aa by Victor Stinner in branch '2.7': Issue #12250: test_socketserver uses a timeout of 60 seconds instead of 20 http://hg.python.org/cpython/rev/d3cebbd500aa New changeset 05dfed82457a by Victor Stinner in branch '3.2':

[issue12550] regrtest: register SIGALRM signal using faulthandler

2011-07-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Oops, I specified the wrong issue number if the commits: New changeset d3cebbd500aa by Victor Stinner in branch '2.7': Issue #12250: test_socketserver uses a timeout of 60 seconds instead of 20

[issue12250] regrtest: make --timeout explicit

2011-07-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- Removed message: http://bugs.python.org/msg140332 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12250 ___

[issue12250] regrtest: make --timeout explicit

2011-07-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: (I commited fixes for issue #12550 but specified issue #12250 in the changlog, I removed the related comment from python-dev from this issue) -- ___ Python tracker rep...@bugs.python.org

[issue12550] regrtest: register SIGALRM signal using faulthandler

2011-07-14 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Can this be closed? -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12550 ___

[issue10403] Use member consistently

2011-07-14 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Hello Eric, I missed noticing Alexander's comments in the reitveld, I looked only at tracker then. I see that some of them can be addressed. Like using members (components) of the field, instead of attributes when it is not an attribute.

[issue12557] Crash idle on mac

2011-07-14 Thread Arsouze
New submission from Arsouze georges.arso...@gmail.com: Hi Sorry for my poor english I'am working on mac os snow leopard with Pyton 3.1 I want to use widgets Tix ot ttk I have a error message : require Tile Can you tell me step by step what i must do regards -- messages: 140337 nosy:

[issue12558] Locale-dependent crash for float width argument to Tkinter widget constructor

2011-07-14 Thread Hans Bering
New submission from Hans Bering hans.ber...@arcor.de: The attached script will crash on a current Ubuntu with Python 3.2 + tcl/tk when using a locale which uses a comma as a decimal separator (e.g., German). It will not crash when using a locale which uses a dot as the decimal separator

[issue12557] Crash idle on mac

2011-07-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The tracker is a place to report bugs not get help. (We don't have the manpower to provide help services here.) Please try the python-list mailing list (gatewayed to comp.lang.python) or the python-tutor mailing list. -- nosy:

[issue12556] Disable size checks in mmap.mmap()

2011-07-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +neologix, rosslagerwall versions: +Python 3.3 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12556 ___

[issue12558] Locale-dependent crash for float width argument to Tkinter widget constructor

2011-07-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: FYI 'crash' is for segfault. A traceback is just a bug :) I'm not sure that this it is worth having this as a separate bug from #10647, but I'll let someone with tk knowledge decide that. -- nosy: +kbk, r.david.murray,

[issue12558] Locale-dependent crash for float width argument to Tkinter widget constructor

2011-07-14 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12558 ___ ___ Python-bugs-list

[issue12558] Locale-dependent crash for float width argument to Tkinter widget constructor

2011-07-14 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- superseder: scrollbar crash in non-US locale format settings - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12558 ___

[issue12559] gzip.open() needs an optional encoding argument

2011-07-14 Thread Raymond Hettinger
New submission from Raymond Hettinger raymond.hettin...@gmail.com: gzip.open() should parallel file.open() so that that zipped files can be read in the same way as regular files: for line in gzip.open('notes.txt', 'r', encoding='latin-1'): print(line.rstrip()) -- components:

[issue12558] Locale-dependent crash for float width argument to Tkinter widget constructor

2011-07-14 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Why is this a bug ? You passed something that is not supposed to work with tk and tk said so. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12558

[issue12560] libpython.so not built on OpenBSD

2011-07-14 Thread Stefan Sperling
New submission from Stefan Sperling s...@apache.org: In Python-2.7.2 (I have not checked other versions, sorry), the configure script doesn't not define LDLIBRARY on OpenBSD. Because of this libpython.so does not get built. -- components: Build files: python-2.7.2-configure.diff

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Jim Schneider
Jim Schneider jim.schnei...@dataflux.com added the comment: Martin - sys/_mbstate_t.h provides a definition for mbstate_t only (at least on HP/UX 11i V2.0). I can verify that the problem still exists for Python 3.2.1. I am working on a workaround for this issue, and I will attach a patch

[issue12502] 100% cpu usage when using asyncore with UNIX socket

2011-07-14 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 16bc59d37866 by Charles-François Natali in branch '2.7': Issue #12502: asyncore: fix polling loop with AF_UNIX sockets. http://hg.python.org/cpython/rev/16bc59d37866 -- nosy: +python-dev

[issue12502] 100% cpu usage when using asyncore with UNIX socket

2011-07-14 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 42ec507815d2 by Charles-François Natali in branch '3.1': Issue #12502: asyncore: fix polling loop with AF_UNIX sockets. http://hg.python.org/cpython/rev/42ec507815d2 -- ___ Python tracker

[issue12502] 100% cpu usage when using asyncore with UNIX socket

2011-07-14 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset ed90c1c8ee62 by Charles-François Natali in branch '3.2': Merge - Issue #12502: asyncore: fix polling loop with AF_UNIX sockets. http://hg.python.org/cpython/rev/ed90c1c8ee62 -- ___ Python

[issue12561] Compiler workaround for wide string constants in Modules/getpath.c (patch)

2011-07-14 Thread Jim Schneider
New submission from Jim Schneider jim.schnei...@dataflux.com: In Modules/getpath.c, the following line (#138) causes problems with some compilers (HP/UX 11, in particular - there could be others): static wchar_t *lib_python = Llib/python VERSION; Similarly, line #644:

[issue12562] calling mmap twice fails on Windows

2011-07-14 Thread Piotr Zolnierczuk
New submission from Piotr Zolnierczuk piotr.zolnierc...@gmail.com: Hi, I am trying to migrate from Python 2.5 to Python 2.7 I found though the mmap behaves differently on Windows XP between the two versions. It boils down to the following code: import mmap map1 = mmap.mmap(fileno=0,

[issue12562] calling mmap twice fails on Windows

2011-07-14 Thread Piotr Zolnierczuk
Changes by Piotr Zolnierczuk piotr.zolnierc...@gmail.com: -- components: +Windows type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12562 ___

[issue12502] 100% cpu usage when using asyncore with UNIX socket

2011-07-14 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset ca077f2672e3 by Charles-François Natali in branch 'default': Merge - Issue #12502: asyncore: fix polling loop with AF_UNIX sockets. http://hg.python.org/cpython/rev/ca077f2672e3 -- ___

[issue12430] Pip fails to fetch from mirror if PyPi checksum times out

2011-07-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: In any case, mirrors *do* mirror the checksums. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12430 ___

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Jim Schneider
Jim Schneider jim.schnei...@dataflux.com added the comment: I got it to build on HP-UX 11. However, there are a lot of compiler warnings about type mismatches, the _ctypes, _multiprocessing and termios modules failed to build, and make test died after not finding a usable binascii module. To

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Jim, the question remains why it fails to compile then. If the type is defined, why does it give an error message but has not been defined as a type??? -- ___ Python tracker

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Jim Schneider
Jim Schneider jim.schnei...@dataflux.com added the comment: Martin - sys/_mbstate.h is only included if _INCLUDE__STDC_A1_SOURCE is defined. The only way this gets defined in the vendor-provided include files is if _XOPEN_SOURCE is defined and is equal to 500, or __STDC_VERSION__ is defined

[issue12561] Compiler workaround for wide string constants in Modules/getpath.c (patch)

2011-07-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Why is the __W macro needed? Please don't call it WCHAR: - it conflicts with a same-named macro on Windows - you are applying it to strings, not characters FWIW, the compiler doesn't conform to standard C if it rejects this code. 6.4.5p4

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: That's a patch to HP-UX, right? Not one to Python. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5999 ___

[issue12563] Check out my about.me profile!

2011-07-14 Thread gungor
New submission from gungor gungorb...@gmail.com: Hi Python, I set up my about.me splash page and want to share it with you: http://about.me/gungorbasa?promo=share_1856_378462. If you don't have an about.me splash page, you can get one for free at http://about.me?promo=share_1856_378462.

[issue12564] Check out my about.me profile!

2011-07-14 Thread gungor
New submission from gungor gungorb...@gmail.com: Hi Python, I set up my about.me splash page and want to share it with you: http://about.me/gungorbasa?promo=share_1857_378462. If you don't have an about.me splash page, you can get one for free at http://about.me?promo=share_1857_378462.

[issue12561] Compiler workaround for wide string constants in Modules/getpath.c (patch)

2011-07-14 Thread Jim Schneider
Jim Schneider jim.schnei...@dataflux.com added the comment: The __W macro is needed because the token-pasting operator binds to the macro's argument immediately; Having WCHAR(y) expand to __W(y) means that __W is passed WCHAR's argument after it's been macro-expanded. Without the

[issue12565] Check out my about.me profile!

2011-07-14 Thread gungor
New submission from gungor gungorb...@gmail.com: Hi Python, I set up my about.me splash page and want to share it with you: http://about.me/gungorbasa?promo=share_1858_378462. If you don't have an about.me splash page, you can get one for free at http://about.me?promo=share_1858_378462.

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Jim Schneider
Jim Schneider jim.schnei...@dataflux.com added the comment: Yes, it is a patch to an HP-provided C compiler system header file. I cannot provide the actual file it patches, due to copyright limitations. -- ___ Python tracker rep...@bugs.python.org

[issue12566] Check out my about.me profile!

2011-07-14 Thread gungor
New submission from gungor gungorb...@gmail.com: Hi Python, I set up my about.me splash page and want to share it with you: http://about.me/gungorbasa?promo=share_1859_378462. If you don't have an about.me splash page, you can get one for free at http://about.me?promo=share_1859_378462.

[issue12563] Check out my about.me profile!

2011-07-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: spam -- nosy: +r.david.murray status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12563 ___

[issue12566] Check out my about.me profile!

2011-07-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: spam -- nosy: +r.david.murray status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12566 ___

[issue12565] Check out my about.me profile!

2011-07-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: spam -- nosy: +r.david.murray status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12565 ___

[issue12564] Check out my about.me profile!

2011-07-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: spam -- nosy: +r.david.murray status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12564 ___

[issue12558] Locale-dependent crash for float width argument to Tkinter widget constructor

2011-07-14 Thread Hans Bering
Hans Bering hans.ber...@arcor.de added the comment: Sorry for the misclassification, and thanks for correcting that. I agree, this issue is most likely related to issue 10647; but at some level I think they must be different, because issue 10647 seems to be specific to Python 3.1 under

[issue12550] regrtest: register SIGALRM signal using faulthandler

2011-07-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Can this be closed? I think (hope) that the initial issue (test_socketserver) failure is fixed, thanks to my second commit. I'm not complelty satisfied because the traceback was not printed on a SIGALRM when i tried -m test -F

[issue12559] gzip.open() needs an optional encoding argument

2011-07-14 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: Here is a patch. If the code changes are acceptable I can also make a documentation patch. (I'm surprised to see 3.2 in Versions. I thought 3.2 only gets bugfixes...) -- keywords: +patch nosy: +durban Added file:

[issue12555] PEP 3151 implementation

2011-07-14 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12555 ___ ___ Python-bugs-list

[issue10647] scrollbar crash in non-US locale format settings

2011-07-14 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg139566 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10647 ___

[issue10647] scrollbar crash in non-US locale format settings

2011-07-14 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg139876 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10647 ___

[issue10647] scrollbar crash in non-US locale format settings

2011-07-14 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Two messages deleted at Hans' request since he opened #12558 Hans says there that he could not reproduce *this* issue with 3.2. Herm, please retry with 3.2 as 3.1.4 is last bugfix for 3.1 series. If this works on 3.2, this should be closed.

[issue6755] Patch: new method get_wch for ncurses bindings: accept wide characters (unicode)

2011-07-14 Thread Nicholas Cole
Nicholas Cole nicholas.c...@gmail.com added the comment: The bug is marked Test Needed. I am very keen to see this issue fixed, and would be very willing to help, but I don't really know what is still required. As far as I can see there is a patch waiting - what is the hold up? --

[issue10647] scrollbar crash in non-US locale format settings

2011-07-14 Thread Herm Fischer
Herm Fischer fisc...@markv.com added the comment: Yes, I can confirmm that this issue is gone on 3.2. Closed. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10647

[issue12559] gzip.open() needs an optional encoding argument

2011-07-14 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: There remains a difference between open() and gzip.open(): open(filename, 'r', encoding=None) is a text file (with a default encoding), gzip.open() with the same arguments returns a binary file. Don't know how to fix this though.

[issue6755] Patch: new method get_wch for ncurses bindings: accept wide characters (unicode)

2011-07-14 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset dec10ad41b2a by Victor Stinner in branch 'default': Close #6755: Add get_wch() method to curses.window class http://hg.python.org/cpython/rev/dec10ad41b2a -- nosy: +python-dev resolution: - fixed stage: test needed -

[issue8728] 2.7 regression in httplib.py: AttributeError: 'NoneType' object has no attribute 'makefile'

2011-07-14 Thread John Doe
Changes by John Doe gainmax...@gmail.com: -- nosy: +John.Doe ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8728 ___ ___ Python-bugs-list mailing

[issue12555] PEP 3151 implementation

2011-07-14 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12555 ___ ___ Python-bugs-list

[issue12567] curses implementation of Unicode is wrong in Python 3

2011-07-14 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: curses functions accepting strings encode implicitly character strings to UTF-8. This is wrong. We should add a function to set the encoding (see issue #6745) or use the wide character C functions. I don't think that UTF-8 is the

[issue12568] Add functions to get the width in columns of a character

2011-07-14 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: Some characters take more than one column in a terminal, especially CJK (chinese, japanese, korean) characters. If you use such character in a terminal without taking care of the width in columns of each character, the text

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2011-07-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I just created the issue #12568 for unicode_width.patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2382 ___

[issue6755] Patch: new method get_wch for ncurses bindings: accept wide characters (unicode)

2011-07-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I don't really know what is still required _cursesmodule.311.get_wch.patch doesn't apply correctly on Python 3.3 and use PyInt_FromLong() function, function removed from Python 3.0. Indeed, Iñigo wrote that the patch was not

[issue12567] curses implementation of Unicode is wrong in Python 3

2011-07-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: getkey.patch fixes window.getkey(): use get_wch() instead of getch() to handle correctly non-ASCII characters. I tested with the key é (U+00E9) with ISO-8859-1 and UTF-8 locale encoding: getkey() gives the expected result (but

[issue12560] libpython.so not built on OpenBSD

2011-07-14 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- assignee: - skrah nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12560 ___ ___

[issue6745] (curses) addstr() takes str in Python 3

2011-07-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I created issue #12567 to fix the Unicode support of the curses module in Python 3. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6745

[issue12569] sqlite3 segfaults and bus errors when given certain unicode strings as queries

2011-07-14 Thread Jeremy Banks
New submission from Jeremy Banks jer...@jeremybanks.ca: I was experimenting with the sqlite3 library and noticed that using certain strings as identifiers cause bus errors or segfaults. I'm not very familiar with unicode, but after some Googling I'm pretty sure this happens when I use

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

2011-07-14 Thread Alexander Slesarev
Changes by Alexander Slesarev alex.slesa...@gmail.com: -- nosy: +nuald ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9878 ___ ___ Python-bugs-list

[issue12570] BaseHTTPServer.shutdown() locks if the last request 404'd

2011-07-14 Thread Philip Horger
New submission from Philip Horger campadrena...@gmail.com: I haven't yet checked to see if other errors mess it up, but it refuses to exit the serve_forever() loop if the last request had a 404 error. -- components: Library (Lib) messages: 140382 nosy: Philip.Horger priority: normal

[issue12570] BaseHTTPServer.shutdown() locks if the last request 404'd

2011-07-14 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Can you please provide an example snippet with your expectation of the behavior? -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org

[issue12559] gzip.open() needs an optional encoding argument

2011-07-14 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12559 ___ ___

[issue12569] sqlite3 segfaults and bus errors when given certain unicode strings as queries

2011-07-14 Thread Ned Deily
Ned Deily n...@acm.org added the comment: What operating system platform and version are you seeing this behavior? Also can you report the versions of sqlite3 adapter and the sqlite3 library by executing the following in the interpreter? sqlite3.version '2.6.0' sqlite3.sqlite_version

[issue12569] sqlite3 segfaults and bus errors when given certain unicode strings as queries

2011-07-14 Thread Jeremy Banks
Jeremy Banks jer...@jeremybanks.ca added the comment: I'm using OS X 10.6.7. The bus error is occurring with my Python 3.1 installation: path: /Library/Frameworks/Python.framework/Versions/3.1/bin/python3 sqlite3.version == 2.4.1 sqlite3.sqlite_version = 3.6.11. But now that you mention

[issue12567] curses implementation of Unicode is wrong in Python 3

2011-07-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12567 ___

[issue12569] sqlite3 segfaults and bus errors when given certain unicode strings as queries

2011-07-14 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Sorry, I cannot reproduce on Mac OS X 10.6.8 the crash behavior you report using various Python 3.1.x installed from the python.org Python OS X installers, in particular, 3.1 and 3.1.4 (the first and the most recent 3.1 releases). If this Python

[issue12569] sqlite3 segfaults and bus errors when given certain unicode strings as queries

2011-07-14 Thread Jeremy Banks
Jeremy Banks jer...@jeremybanks.ca added the comment: I'll try that, thank you. If it works without exception in Python 2, isn't the behaviour in Python 3 a regression bug, even if it doesn't crash? If so, should I create a new/separate issue for the behaviour? --