[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

[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 stdin, line 1 SyntaxError: (unicode error) unexpected code byte This is definitely a bug. Assigning to Martin to

[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] http://bugs.python.org/issue1091 __Index: Mac/PythonLauncher/Makefile.in

[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] http://bugs.python.org/issue883466

[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] http://bugs.python.org/issue1078

[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] http://bugs.python.org/issue1043 __

[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

[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] http://bugs.python.org/issue1045 __

[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

[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),

[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] http://bugs.python.org/issue1071 __Index: Doc/library/stdtypes.rst

[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] http://bugs.python.org/issue1076 __

[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] http://bugs.python.org/issue1089 __ ___

[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] http://bugs.python.org/issue1091 __ ___

[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) = type 'bytes' -- components: Library (Lib) messages: 55617 nosy:

[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] http://bugs.python.org/issue1094 __ poplib.diff Description: Binary data

[issue1094] TypeError in poplib.py

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

[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]

[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] http://bugs.python.org/issue1114345 _

[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] http://bugs.python.org/issue1777530 _Index:

[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. Any hope

[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 could

[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

[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 stdin, line 1, in module UnicodeDecodeError: 'utf8' codec can't

[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 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] http://bugs.python.org/issue1097 __

[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 there