[issue1113] interrupt_main() fails to interrupt raw_input()

2007-09-07 Thread Georg Brandl
Georg Brandl added the comment: Anand Patil schrieb: Anand Patil added the comment: Sorry- Where can I get this patch? The SourceForge patch manager says it's closed. It is - like all other issues - in this tracker at http://bugs.python.org/706406. __

[issue1125] bytes.split shold have same interface as str.split, or different name

2007-09-07 Thread Georg Brandl
Georg Brandl added the comment: I don't think so. They can't have the same behavior, and split is the most reasonable name for what the bytes method does. There have always been subtle differences between the behavior of string and unicode methods; this was even more objectable because they

[issue1125] bytes.split shold have same interface as str.split, or different name

2007-09-07 Thread Walter Dörwald
Walter Dörwald added the comment: Because it's not clear whether b'\xa0' *is* whitespace or not. Bytes have no meaning, characters do. -- nosy: +doerwalter __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1125 __

[issue1113] interrupt_main() fails to interrupt raw_input()

2007-09-07 Thread Anand Patil
Anand Patil added the comment: OK, thanks for your help. On 9/6/07, Georg Brandl [EMAIL PROTECTED] wrote: Georg Brandl added the comment: Anand Patil schrieb: Anand Patil added the comment: Sorry- Where can I get this patch? The SourceForge patch manager says it's closed. It is

[issue1125] bytes.split shold have same interface as str.split, or different name

2007-09-07 Thread Nir Soffer
Nir Soffer added the comment: Why bytes should not use a default whitespace split behavior as str? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1125 __ ___ Python-bugs-list

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2007-09-07 Thread Anthony Tuininga
New submission from Anthony Tuininga : Attached is a patch that fixes the handling of file names with 0 or 2 or more dots in them. -- components: Library (Lib) files: msilib.__init__.patch messages: 55736 nosy:

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2007-09-07 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- assignee: - loewis keywords: +patch nosy: +loewis __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1128 __ ___ Python-bugs-list mailing

[issue1708326] imp.find_module doc ambiguity

2007-09-07 Thread Georg Brandl
Changes by Georg Brandl: -- status: pending - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1708326 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1767242] os.chmod failure

2007-09-07 Thread Georg Brandl
Changes by Georg Brandl: -- status: pending - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1767242 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1209562] add single html files

2007-09-07 Thread Georg Brandl
Changes by Georg Brandl: -- status: pending - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1209562 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1125] bytes.split shold have same interface as str.split, or different name

2007-09-07 Thread Guido van Rossum
Guido van Rossum added the comment: I tend to agree with the author; I've run into this myself. For whitespace, I propose to use only the following: tab LF FF VT CR space. These are the whitespace ASCII characters according to isspace() in libc. (Unicode also treats hex 1C, 1D, 1E and 1F as

[issue1125] bytes.split shold have same interface as str.split, or different name

2007-09-07 Thread Guido van Rossum
Changes by Guido van Rossum: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1125 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1123] split(None, maxsplit) does not strip whitespace correctly

2007-09-07 Thread Guido van Rossum
Changes by Guido van Rossum: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1123 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1123] split(None, maxsplit) does not strip whitespace correctly

2007-09-07 Thread Guido van Rossum
Changes by Guido van Rossum: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1123 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1124] Webchecker not parsing css @import url

2007-09-07 Thread Guido van Rossum
Guido van Rossum added the comment: This is essentially unsupported and unmaintaned example code. Feel free to submit a patch though! -- nosy: +gvanrossum __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1124 __

[issue1749583] expanduser(~) on Windows looks for HOME first

2007-09-07 Thread Georg Brandl
Changes by Georg Brandl: -- status: pending - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1749583 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1764044] copy 2

2007-09-07 Thread robs pythonid
robs pythonid added the comment: Thanks for your reaction, I do not really now the answer to your question but I added the code to copy files in a directory (to keep it simple I removed the recursiveness): import os

[issue1129] OpenSSL detection broken for Python 3.0a1

2007-09-07 Thread Stefan Sonnenberg-Carstens
New submission from Stefan Sonnenberg-Carstens: In line 618 the comparison must be this: if (openssl_ver = 0x00908000): otherwise there are complaints about not being able to build the _sha256 and _sha512 modules, even if OpenSSL = 0.9.8 is installed, as in my case. -- components:

[issue1095] make install failed

2007-09-07 Thread Martin v. Löwis
Martin v. Löwis added the comment: I haven't tested it, but it looks fine to me. -- assignee: - georg.brandl resolution: - accepted __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1095 __

[issue1129] OpenSSL detection broken for Python 3.0a1

2007-09-07 Thread Stefan Sonnenberg-Carstens
Stefan Sonnenberg-Carstens added the comment: Patch attached: --- setup.py2007-09-07 16:08:05.0 -0400 +++ ../Python-3.0a1_SSC/setup.py2007-09-07 16:07:31.0 -0400 @@ -613,7 +613,7 @@ else: missing.append('_hashlib') -if (openssl_ver

[issue1095] make install failed

2007-09-07 Thread Georg Brandl
Georg Brandl added the comment: Committed as rev. 58043, 58044. -- resolution: accepted - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1095 __

[issue1126] file.fileno and file.isatty() should be implementable by any file like object

2007-09-07 Thread Stefan Sonnenberg-Carstens
Stefan Sonnenberg-Carstens added the comment: You are free to do what you want. Reasons for not implementing fileno and isatty are: - fileno should be an integer pointing to a real file, so that low-level functions in libc can handle that. Can you provide such ? (see

[issue1129] OpenSSL detection broken for Python 3.0a1

2007-09-07 Thread Georg Brandl
Georg Brandl added the comment: I think you misunderstood the setup.py message; from OpenSSL 0.9.8, building the _sha modules is not needed. That they are reported as not built is a bug which has been fixed now in SVN. -- nosy: +georg.brandl resolution: - invalid status: open - closed

[issue1125] bytes.split shold have same interface as str.split, or different name

2007-09-07 Thread Guido van Rossum
Guido van Rossum added the comment: Here's a patch that fixes bytes.split and .rsplit. I'll hold off for a while in case there's strong disagreement. I might add a patch for bytes.strip later (it's simpler). -- keywords: +patch __ Tracker [EMAIL

[issue1125] bytes.split shold have same interface as str.split, or different name

2007-09-07 Thread Guido van Rossum
Changes by Guido van Rossum: -- components: +Interpreter Core -Library (Lib) type: rfe - behavior __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1125 __ ___

[issue1130] Idle - Save (buffer) - closes IDLE and does not save file (Windows XP)

2007-09-07 Thread Carl Trachte
Changes by Carl Trachte: -- title: Idle - Save (buffer) - Idle - Save (buffer) - closes IDLE and does not save file (Windows XP) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1130 __