[issue1100] Can't input non-ascii characters in interactive mode

2007-09-03 Thread Sangpil Yoon
Changes by Sangpil Yoon: -- type: -> behavior __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue1100] Can't input non-ascii characters in interactive mode

2007-09-03 Thread Sangpil Yoon
New submission from Sangpil Yoon: I'm not sure if this is a bug or a designed behavior, but I think it would be nice for beginners to be able to enter his/her local characters from an interactive prompt. As interactive mode lacks source code encoding declaration, the interpreter seems to assume t

[issue1099] Mac compile fails with pydebug and framework enabled

2007-09-03 Thread Humberto Diogenes
New submission from Humberto Diogenes: Running this on Mac OS X: $ ./configure --with-pydebug --enable-framework $ make I get this: (...) ar cr libpython3.0.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o ar cr libpython3.0.a Modules/threadmodule.o Modules/signalmodule.

[issue1098] decode_unicode doesn't nul-terminate

2007-09-03 Thread Adam Olsen
New submission from Adam Olsen: In the large else branch in decode_unicode (if encoding is not NULL or "iso-8859-1"), the new string it produces is not nul-terminated. This then hits PyUnicode_DecodeUnicodeEscape's octal escape case, which reads past the end of the string (but would stop if ther

[issue1097] input() should respect sys.stdin.encoding when in interactive mode

2007-09-03 Thread Martin v. Löwis
Martin v. Löwis added the comment: Thanks for the report. This is now fixed in r57947 -- nosy: +loewis resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue1762561] unable to serialize Infinity or NaN on ARM using marshal

2007-09-03 Thread Martin v. Löwis
Martin v. Löwis added the comment: I'm not sure like the naming of the format. "mixed-endian" could mean anything. I doubt IEEE specifies this as a possible byte representation (but then, I'm uncertain whether IEEE specifies big-endian and little-endian, either). One option would be to call it "

[issue1097] input() should respect sys.stdin.encoding when in interactive mode

2007-09-03 Thread Sangpil Yoon
New submission from Sangpil Yoon: Currently in interactive mode, when you try to input non-ascii characters using input() builtin function, you get UnicodeDecodeError. >>> print(input()) 윤상필 Traceback (most recent call last): File "", line 1, in UnicodeDecodeError: 'utf8' codec can't decode b

[issue852532] ^$ won't split on empty line

2007-09-03 Thread Mike Coleman
Mike Coleman added the comment: Well, I think we can conclude that it's expected by *them*. :-) I still find it surprising, and it somewhat lessens the utility of re.split for my use cases. (I think re.finditer may also suffer from the same problem, but I don't recall.) If you look at the com

[issue1095] make install failed

2007-09-03 Thread Aki
New submission from Aki: I thought this was already reported but I didn't see it in the list. If this issue is already addressed, please discard. The 'make install' failed if I re-run the installation again because python-config under /usr/local/bin was already there. Removing /usr/local/lib/py

[issue1777530] ctypes on Solaris

2007-09-03 Thread Aki
Aki added the comment: Hello Thomas, Thank you for creating the patch. Unfortunately, it didn't work. (I rerun the whole installation process) You used the following to check if the os is Solaris: if sys.platform.startswith("solaris"): Under Solaris 2.x sys.platform returns "sunos5". You coul

[issue1114345] Add SSL certificate validation

2007-09-03 Thread Bill Janssen
Bill Janssen added the comment: I'm planning to do a package for 2.3... Sent from my iPhone On Sep 3, 2007, at 5:32 AM, vila-sf <[EMAIL PROTECTED]> wrote: > > >vila-sf > added the comment: > > Using CERT_NONE or adding the cert covers my needs, thanks. > > A

[issue1777530] ctypes on Solaris

2007-09-03 Thread Thomas Heller
Thomas Heller added the comment: This is an experimental patch (solaris.patch). Can you please proofread it and try it out on the solaris machine? _ Tracker <[EMAIL PROTECTED]> _Index:

[issue1114345] Add SSL certificate validation

2007-09-03 Thread Martin v. Löwis
Martin v. Löwis added the comment: There definitely won't be any new features in 2.5.x. However, I think Bill said he might make this available separately. _ Tracker <[EMAIL PROTECTED]>

[issue1114345] Add SSL certificate validation

2007-09-03 Thread vila-sf
vila-sf added the comment: Using CERT_NONE or adding the cert covers my needs, thanks. Any hope this will be backported to python 2.5 ? _ Tracker <[EMAIL PROTECTED]>

[issue1094] TypeError in poplib.py

2007-09-03 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1094] TypeError in poplib.py

2007-09-03 Thread Serge Julien
Serge Julien added the comment: Patch proposal. Tell me if it's right to submit it here: this is the first patch I submit __ Tracker <[EMAIL PROTECTED]> __ poplib.diff Description: Binary data __

[issue1094] TypeError in poplib.py

2007-09-03 Thread Serge Julien
New submission from Serge Julien: In poplib.py, lines 137-138, bytes and str are compared, leading to a TypeError: [...] 137while line != '.': 138if line[:2] == '..': [...] where type(line) = -- components: Library (Lib) messages: 55617 nosy: serge.julien severity:

[issue1091] py3k Mac installation errors

2007-09-03 Thread Humberto Diogenes
Humberto Diogenes added the comment: And thanks for accepting them! (without complaining about my errors :-) __ Tracker <[EMAIL PROTECTED]> __ ___ Python

[issue1089] ever considered adding static typing to python?

2007-09-03 Thread Martin v. Löwis
New submission from Martin v. Löwis: Yes. -- nosy: +loewis resolution: -> wont fix status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1076] py3 patch: full Unicode version for winreg module

2007-09-03 Thread Martin v. Löwis
Martin v. Löwis added the comment: Thanks for the patch. Committed as r57928 -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue1071] unicode.translate() doesn't error out on invalid translation table

2007-09-03 Thread Georg Brandl
Georg Brandl added the comment: Yes, that makes sense. New patch attached, copying the dict and using PyDict_Next. __ Tracker <[EMAIL PROTECTED]> __Index: Doc/library/stdtypes.rst =

[issue1075] py3k: Unicode error in os.stat on Windows

2007-09-03 Thread Martin v. Löwis
Martin v. Löwis added the comment: I could not quite reproduce this on the German version (the error text reads " Das System kann die angegebene Datei nicht finden" on XP), however, the patch looks good and it fixes the same problem for the registry functions (where I get "Das Handle ist ungültig

[issue1077] itertools missing, causes interactive help to break

2007-09-03 Thread Georg Brandl
New submission from Georg Brandl: Python 3.0a1 includes itertools and normally builds it, so the interesting thing would be why it isn't present on your system :) Have you built Python yourself? If so, can you provide build logs and/or error messages? -- nosy: +georg.brandl ___

[issue1045] Performance regression in 2.5

2007-09-03 Thread Georg Brandl
Georg Brandl added the comment: May this be a byproduct of the new generator features in 2.5? -- nosy: +georg.brandl __ Tracker <[EMAIL PROTECTED]> __ _

[issue1091] py3k Mac installation errors

2007-09-03 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the patches, I've applied them as rev. 57926. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed title: [patch] py3k Mac installation errors -> py3k Mac installation errors __ Tracker <[EMAIL

[issue1043] test_builtin failure on Windows

2007-09-03 Thread Georg Brandl
Georg Brandl added the comment: This was apparently fixed by Thomas with rev. 57828. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1078] cachersrc.py using tuple unpacking args

2007-09-03 Thread Georg Brandl
Georg Brandl added the comment: Superseded by #1091 patches. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> [patch] py3k Mac installation errors __ Tracker <[EMAIL PROTECTED]> ___

[issue883466] quopri encoding & Unicode

2007-09-03 Thread Georg Brandl
Georg Brandl added the comment: Okay, changed in rev. 57925. Closing this as fixed. -- resolution: -> fixed status: open -> closed Tracker <[EMAIL PROTECTED]>

[issue1091] [patch] py3k Mac installation errors

2007-09-03 Thread Humberto Diogenes
Humberto Diogenes added the comment: Patch 3: some more trivial fixes: new syntax for print() and octal numbers. __ Tracker <[EMAIL PROTECTED]> __Index: Mac/PythonLauncher/Makefile.in

[issue1090] doctools/sphinx/web/application.py does not start on windows

2007-09-03 Thread Georg Brandl
Georg Brandl added the comment: Waldemar Osuch schrieb: > New submission from Waldemar Osuch: > > Loading pickles on windows without specifying 'rb' does not work in > http://svn.python.org/projects/doctools/trunk/sphinx/web/application.py > A simple patch attached Thanks, applied in rev. 5792

[issue1092] Unexpected results in Tutorial about Unicode

2007-09-03 Thread Georg Brandl
Georg Brandl added the comment: Vizcaynot schrieb: > New submission from Vizcaynot: > > When trying the tutorial example about unicode I have: "Äpfel".encode('utf-8') > File "", line 1 > SyntaxError: (unicode error) unexpected code byte This is definitely a bug. Assigning to Martin to i

[issue1091] [patch] py3k Mac installation errors

2007-09-03 Thread Humberto Diogenes
Humberto Diogenes added the comment: One more patch, for: 1. Writing str to binary file; 2. Using string exceptions. Traceback for #2: /usr/bin/install -c -s ../python.exe "/Library/Frameworks/Python.framework/Versions/3.0/Resources/Python.app/ Contents/MacOS/Python" DYLD_FRAMEWORK_PATH=/User