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

2007-09-06 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 we

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

2007-09-06 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. __ T

[issue1202533] a bunch of infinite C recursions

2007-09-06 Thread Brett Cannon
Brett Cannon added the comment: Rev. 58032 applied the patch and added a test to test_descr. -- resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> _

[issue1267884] crash recursive __getattr__

2007-09-06 Thread Brett Cannon
Changes by Brett Cannon: -- superseder: -> a bunch of infinite C recursions _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mai

[issue1014] cgi: parse_qs and parse_qsl misbehave on empty strings

2007-09-06 Thread Nir Soffer
Nir Soffer added the comment: Addionally, if the default value is empty string, you expect it work with empty string. If a non empty value is needed, it would use None as the default. __ Tracker <[EMAIL PROTECTED]>

[issue1127] No tests for inspect.getfullargspec()

2007-09-06 Thread Brett Cannon
Changes by Brett Cannon: -- components: Library (Lib) keywords: py3k priority: high severity: normal status: open title: No tests for inspect.getfullargspec() versions: Python 3.0 __ Tracker <[EMAIL PROTECTED]> _

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

2007-09-06 Thread Nir Soffer
Nir Soffer added the comment: set type -- type: -> behavior __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

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

2007-09-06 Thread Nir Soffer
Nir Soffer added the comment: set type -- type: -> rfe __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:

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

2007-09-06 Thread Nir Soffer
New submission from Nir Soffer: The docs (http://docs.python.org/dev/3.0/library/stdtypes.html#sequence- types-str-bytes-list-tuple-buffer-range) warn that .fileno and .istty should not be implemented by a file like object. This require client to check if the file object has the attribute befor

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

2007-09-06 Thread Nir Soffer
New submission from Nir Soffer: >>> b'foo bar'.split() Traceback (most recent call last): File "", line 1, in TypeError: split() takes at least 1 argument (0 given) >>> b'foo bar'.split(None) Traceback (most recent call last): File "", line 1, in TypeError: expected an object with the bu

[issue1124] Webchecker not parsing css "@import url"

2007-09-06 Thread Edward Abraham
New submission from Edward Abraham: webchecker and its dependent, websucker, which are distributed with the python tools, are not following references to stylesheets given with the @import url(mystyle.css); declaration ... This means that the websucker isn't copying across stylesheets ... -

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

2007-09-06 Thread Nir Soffer
Nir Soffer added the comment: typo in the title -- title: split(None, maxplit) does not strip whitespace correctly -> split(None, maxsplit) does not strip whitespace correctly __ Tracker <[EMAIL PROTECTED]>

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

2007-09-06 Thread Nir Soffer
New submission from Nir Soffer: string object .split doc say (http://docs.python.org/lib/string- methods.html): "If sep is not specified or is None, a different splitting algorithm is applied. First, whitespace characters (spaces, tabs, newlines, returns, and formfeeds) are stripped from b

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

2007-09-06 Thread Anand Patil
Anand Patil added the comment: Sorry- Where can I get this patch? The SourceForge patch manager says it's closed. Thanks, Anand On 9/6/07, Georg Brandl <[EMAIL PROTECTED]> wrote: > > > Georg Brandl added the comment: > > This is ultimately the same as #685846, for which a patch is at #706406. >

[issue1122] PyTuple_Size and PyTuple_GET_SIZE return type documentation incorrect

2007-09-06 Thread Andrew Gaul
New submission from Andrew Gaul : Documentation claims int, API uses Py_ssize_t. -- components: Documentation files: pytuple_size.patch messages: 55718 nosy: gaul severity: minor status: open title: PyTuple_Size and

[issue1121] Document inspect.getfullargspec()

2007-09-06 Thread Brett Cannon
Changes by Brett Cannon: -- severity: normal -> minor __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue1121] Document inspect.getfullargspec()

2007-09-06 Thread Brett Cannon
New submission from Brett Cannon: inspect.getfullargspec() needs to be documented before it is backported to 2.6. -- components: Documentation keywords: py3k messages: 55717 nosy: brett.cannon priority: normal severity: normal status: open title: Document inspect.getfullargspec() version

[issue1112] Test debug assertion in bsddb test_1413192.py

2007-09-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: that looks good to me. fixed in: 2.6 trunk r58023 release25-maint r58024 py3k r58025 -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1117] Spurious warning about missing _sha256 and _sha512 when not needed

2007-09-06 Thread Skip Montanaro
Skip Montanaro added the comment: Thanks. I'm not sure how this slipped in there (I could check, I suppose). It seems to already be on the 2.5 branch, so I added it to the trunk (r58022) as well. -- status: pending -> closed __ Tracker <[EMAIL PROTECTED

[issue1120] "make altinstall" installs pydoc, idle, smtpd.py with broken shebang lines

2007-09-06 Thread David Ripton
New submission from David Ripton: Gentoo Linux, x86, Python 3.0a I did a vanilla "./configure; make; make test; make altinstall" build. The following files were created in /usr/local/bin: -rwxr-xr-x 1 root root 18036 Sep 6 17:49 smtpd.py -rwxr-xr-x 1 root root 81 Sep 6 17:49 pydoc -rwx

[issue1117] Spurious warning about missing _sha256 and _sha512 when not needed

2007-09-06 Thread David Ripton
David Ripton added the comment: Yes, the fix works for me. Thanks. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue1108] Problem with doctest and decorated functions

2007-09-06 Thread Daniel Larsson
Daniel Larsson added the comment: Here's a patch that alters the order of checks in DocTestFinder._from_module __ Tracker <[EMAIL PROTECTED]> __--- doctest.py.orig 2007-09-05 17:14:55.0 +02

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list U

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-09-06 Thread Adrian Holovaty
Adrian Holovaty added the comment: I just checked, and, yes, it's been fixed. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubs

[issue1619049] sys.intern() 2to3 fixer

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- components: +2to3 (2.x to 3.x conversion tool) -None _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-lis

[issue1000] Patch to rename *Server modules to lower-case

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- nosy: +collinwinter __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1000] Patch to rename *Server modules to lower-case

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- components: +2to3 (2.x to 3.x conversion tool) __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1002] Patch to rename HTMLParser module to lower_case

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- components: +2to3 (2.x to 3.x conversion tool) __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1005] Patches to rename Queue module to queue

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- components: +2to3 (2.x to 3.x conversion tool) __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-09-06 Thread Collin Winter
Collin Winter added the comment: I believe this was fixed in r57942; can you test to see if you still have this problem? __ Tracker <[EMAIL PROTECTED]> __ __

[issue1111] Users' directories information

2007-09-06 Thread Maciej Piechorka
Maciej Piechorka added the comment: As a 'special library' I meant for example QT(metioned at least on #python channel but I can't find it in pyQT documentation) which is a nonsense in pygtk app. __ Tracker <[EMAIL PROTECTED]> __

[issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- assignee: -> collinwinter components: +2to3 (2.x to 3.x conversion tool) -Demos and Tools nosy: +collinwinter __ Tracker <[EMAIL PROTECTED]> __ __

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- assignee: -> collinwinter components: +2to3 (2.x to 3.x conversion tool) -Demos and Tools nosy: +collinwinter __ Tracker <[EMAIL PROTECTED]> __ __

[issue1107] 2to3, lambda with non-tuple argument inside parenthesis

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- components: +2to3 (2.x to 3.x conversion tool) -Demos and Tools __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-l

[issue1095] make install failed

2007-09-06 Thread Georg Brandl
Georg Brandl added the comment: [Martin] > I'm not sure why we bother checking whether the old file exists before > removing it, instead of just doing 'rm -f'; that has been there since > r6352 with no explanation given. So would this patch be acceptable? Index: Makefile.pre.in

[issue1095] make install failed

2007-09-06 Thread Martin v. Löwis
Martin v. Löwis added the comment: The -f option to ln was not portable, traditionally. So the portable way to create a symlink if the target might exist is to remove the old symlink first. I've verified that 'ln -sf' indeed works as reported on Solaris 9. On Solaris 10, it seems Sun has finally

[issue1117] Spurious warning about missing _sha256 and _sha512 when not needed

2007-09-06 Thread Skip Montanaro
Skip Montanaro added the comment: I just checked in r58016. See if that solves the problem. -- resolution: -> fixed status: open -> pending __ Tracker <[EMAIL PROTECTED]> __

[issue1117] Spurious warning about missing _sha256 and _sha512 when not needed

2007-09-06 Thread Skip Montanaro
Skip Montanaro added the comment: >> Assigning to me because? I've had no involvement at all >> with SSL or sha code in Python. Georg> IIRC you added the code that collects and displays these Georg> messages. Ah, okay. I will take a look at that. Skip -- title: Spurious

[issue1095] make install failed

2007-09-06 Thread Georg Brandl
Georg Brandl added the comment: Perhaps Martin knows something? -- assignee: -> loewis nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Pyth

[issue1117] Spurious warning about missing _sha256 and _sha512 when not needed

2007-09-06 Thread Georg Brandl
Georg Brandl added the comment: Skip Montanaro schrieb: > Skip Montanaro added the comment: > > Assigning to me because? I've had no involvement at all > with SSL or sha code in Python. IIRC you added the code that collects and displays these messages. __ Track

[issue1117] Spurious warning about missing _sha256 and _sha512 when not needed

2007-09-06 Thread Skip Montanaro
Skip Montanaro added the comment: Assigning to me because? I've had no involvement at all with SSL or sha code in Python. __ Tracker <[EMAIL PROTECTED]> __

[issue1095] make install failed

2007-09-06 Thread Aki
Aki added the comment: > Shouldn't ln -f ignore existing destination files? > What system is that? Well, it was on Solaris 9. Under Solaris, ln -sf won't clobber an existing soft link. I don't know if there is a work around of this rather than removing the link explicitly. Other Unix experts,

[issue1095] make install failed

2007-09-06 Thread Georg Brandl
Georg Brandl added the comment: Aki schrieb: > (cd /usr/local/bin; ln python2.5 python) > (cd /usr/local/bin; ln -sf python2.5-config python-config) > ln: cannot create python-config: File exists > make: *** [bininstall] Error 2 Shouldn't ln -f ignore existing destination files? What system is

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

2007-09-06 Thread Georg Brandl
Georg Brandl added the comment: This is ultimately the same as #685846, for which a patch is at #706406. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> fix bug #685846: raw_input defers signals __ Tracker <[EMAIL P

[issue706406] fix bug #685846: raw_input defers signals

2007-09-06 Thread Georg Brandl
Georg Brandl added the comment: Set as superseder of #685846 and #1113. -- nosy: +georg.brandl Tracker <[EMAIL PROTECTED]> ___ Pytho

[issue685846] raw_input defers alarm signal

2007-09-06 Thread Georg Brandl
Georg Brandl added the comment: Setting patch as superseder -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> fix bug #685846: raw_input defers signals Tracker <[EMAIL PROTECTED]>

[issue1117] Spurious warning about missing _sha256 and _sha512 when not needed

2007-09-06 Thread Georg Brandl
Georg Brandl added the comment: Assigning to Skip. -- assignee: -> skip.montanaro nosy: +georg.brandl, skip.montanaro title: Spurious warning about missing _sha256 and _sha512 when not needed -> Spurious warning about missing _sha256 and _sha512 when not needed _

[issue1116] reference in extending doc to non-existing file

2007-09-06 Thread Georg Brandl
Georg Brandl added the comment: Fixed in rev. 58012, 58013. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1101] Is there just no PRINT statement any more? Or it just doesn't work.

2007-09-06 Thread Guido van Rossum
Guido van Rossum added the comment: OK, I've added a big section about print to the front of the "common stumbling blocks section, with all the info about print together, and a few examples to clarify the most common changes. You can see the changes in subversion; they'll be live on docs.python.

[issue1119] Search index is messed up after partial rebuilding

2007-09-06 Thread Georg Brandl
Georg Brandl added the comment: Lars Gustäbel schrieb: > New submission from Lars Gustäbel: > > When rebuilding parts of the documentation the search index is emptied. > The problem is that the extensions are not stripped from the filenames > that are given to IndexBuilder.prune() method. > > T

[issue1111] Users' directories information

2007-09-06 Thread Martin v. Löwis
Martin v. Löwis added the comment: I don't think a uniform access to "configuration information" is possible, or even desirable. The requirements across applications and systems are too diverse to make this feasible. In any case, such a new feature should first be field-tested as a "special libr

[issue1118] hashlib module fails with TypeError

2007-09-06 Thread Georg Brandl
Georg Brandl added the comment: David Ripton schrieb: > New submission from David Ripton: > > The hashlib module seems not to work at all: > > $ python3.0 > Python 3.0a1 (py3k, Sep 5 2007, 08:17:11) > [GCC 4.1.2 (Gentoo 4.1.2)] on linux2 > Type "help", "copyright", "credits" or "license" for m

[issue1686386] Python SEGFAULT on invalid superclass access

2007-09-06 Thread toxik
toxik added the comment: Hm, may be so. Feel free to change title/severity if you'd like to. _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-

[issue1119] Search index is messed up after partial rebuilding

2007-09-06 Thread Lars Gustäbel
New submission from Lars Gustäbel: When rebuilding parts of the documentation the search index is emptied. The problem is that the extensions are not stripped from the filenames that are given to IndexBuilder.prune() method. Therefore, the Search widget on http://docs.python.org/dev/3.0/ produce

[issue1111] Users' directories information

2007-09-06 Thread Maciej Piechorka
Maciej Piechorka added the comment: It would allow to write in python more cross platform applications without writing it by hand and/or using special libraries. Something like: import sys import os import os.path # ... os.mkdir(os.path.join(sys.configdir(), ".myprogram")) # ... __

[issue1118] hashlib module fails with TypeError

2007-09-06 Thread David Ripton
New submission from David Ripton: The hashlib module seems not to work at all: $ python3.0 Python 3.0a1 (py3k, Sep 5 2007, 08:17:11) [GCC 4.1.2 (Gentoo 4.1.2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import hashlib >>> m = hashlib.md5() >>> m.update(

[issue1117] Spurious warning about missing _sha256 and _sha512 when not needed

2007-09-06 Thread David Ripton
New submission from David Ripton: Python 3.0a1, Gentoo Linux x86, with OpenSSL 0.9.8e installed. $ ./configure; make Failed to find the necessary bits to build these modules: _sha256 _sha512 To find the necessary bits, look in setup.py in detect_modules() for the module's name. setup

[issue1686386] Python SEGFAULT on invalid superclass access

2007-09-06 Thread Thomas Herve
Thomas Herve added the comment: object.c is already inconsistent about tabs and space :). It may be better to fix it in the commit, not to clutter the patch. But I can provide a new patch if necessary. _ Tracker <[EMAIL PROTECTED]>

[issue1505257] winerror module

2007-09-06 Thread Martin v. Löwis
Martin v. Löwis added the comment: Ok rejecting it. -- resolution: -> rejected status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ __

[issue1116] reference in extending doc to non-existing file

2007-09-06 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

[issue1505257] winerror module

2007-09-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: The winerror module should really be coded in C. Otherwise you don't benefit from the lookup object approach. The files I uploaded only server as basis for such a C module. Would be great if you could find someone to write such a module - preferably using a

[issue1116] reference in extending doc to non-existing file

2007-09-06 Thread Anthon van der Neut
New submission from Anthon van der Neut: The extending Python doc for 2.5 (and 2.6) is still referring to Python/pythonmain.c to look up how to call the Python parser with a string. However the code (for the -c commandline option) is now in Modules/main.c See attached diff.txt fixes Doc/extendin

[issue1733973] _lsprof.c:ptrace_enter_call assumes PyErr_* is clean

2007-09-06 Thread Armin Rigo
Armin Rigo added the comment: Thanks for the patch. Checked in: * r58004 (trunk) * r58005 (release25-maint) -- nosy: +arigo resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]> _

[issue1505257] winerror module

2007-09-06 Thread Martin v. Löwis
Martin v. Löwis added the comment: Marc-Andre, what should we do about this patch? _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailin

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2007-09-06 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- assignee: -> loewis nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscri

[issue1115] Minor Change For Better cross compile

2007-09-06 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