[issue1535659] NNTPS support in nntplib

2007-08-28 Thread Bill Janssen
Bill Janssen added the comment: I'll take a look at this. -- assignee: -> janssen nosy: +janssen _ Tracker <[EMAIL PROTECTED]> _ ___

[issue837234] Tk.quit and sys.exit cause Fatal Error

2007-08-28 Thread Sean Reifschneider
Sean Reifschneider added the comment: blaforge: I know it's been years, but can you provide code that reproduces this? I'm going to switch it to "pending" state, please re-open when you include some code to reproduce it. -- status: open -> pending T

[issue877124] configure links unnecessary library libdl

2007-08-28 Thread Martin v. Löwis
Martin v. Löwis added the comment: Yes, nobody seems to be interested in fixing it. Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mailing

[issue837234] Tk.quit and sys.exit cause Fatal Error

2007-08-28 Thread Martin v. Löwis
Martin v. Löwis added the comment: It should not be possible to trigger Py_FatalError through pure Python code. I still haven't tried reproducing the problem, but if it is reproducable, it's a bug. Tracker <[EMAIL PROTECTED]>

[issue889544] win32 raw socket support

2007-08-28 Thread Sean Reifschneider
Sean Reifschneider added the comment: Removed the "works for me" resolution because I think the poster accidentally selected this. No patch was attached, and the referenced URL for the information is gone now. Can the original submitter attach a patch for this. Once we have the patch I'm think

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

2007-08-28 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1598083] Top-level exception handler writes to stdout unsafely

2007-08-28 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Not likely, given the number of things on my plate already. _ Tracker <[EMAIL PROTECTED]> _ ___ Python-

[issue877124] configure links unnecessary library libdl

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: Martin, can I close this? -- nosy: +skip.montanaro resolution: -> wont fix status: open -> closed Tracker <[EMAIL PROTECTED]> ___

[issue849662] reading shelves is really slow

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: Raymond - can we close this ticket? -- nosy: +skip.montanaro Tracker <[EMAIL PROTECTED]> ___ Pytho

[issue815753] SCO_SV: many modules cannot be imported

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: No activity since late 2003. Do we even have a SCO system to test anything on? Should SCO support be dropped? -- nosy: +skip.montanaro Tracker <[EMAIL PROTECTED]> __

[issue761863] readline module that checks signals

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: kdart - do you have any response to Guido's question? -- nosy: +skip.montanaro Tracker <[EMAIL PROTECTED]> ___

[issue756576] Recursion limit too high for MacOSX

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: This problem seems to have been fixed. The submitted test case yields maximum recursion depth exceeded on both 2.5 and 2.6a0. -- nosy: +skip.montanaro resolution: -> out of date Tracker <[EMAIL PROTECTED]>

[issue766910] fix one or two bugs in trace.py

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: Zooko, is this patch still necessary? -- assignee: -> skip.montanaro nosy: +skip.montanaro Tracker <[EMAIL PROTECTED]> __

[issue751260] Thread in threading.py can only be started once

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: Closing as won't fix. Python's threads work as designed. There are plenty of solutions available to get the desired behavior. -- nosy: +skip.montanaro resolution: -> wont fix Tracker <[EMAIL PROTECTED]>

[issue444582] Finding programs in PATH, addition to os

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: Commenting on Brett's reply... We use this sort of facility in SpamBayes to search for the OCR program. I crafted something by hand which didn't work on Windows. Mark Hammond had to clean up the mess I made. Having this as a canned function in os would be han

[issue683910] zipfile should have a tarfile-like API

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: Anthony, has this been fixed? -- nosy: +skip.montanaro Tracker <[EMAIL PROTECTED]> ___ Python-bugs

[issue658407] email: minimal header encoding

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: Marked as out-of-date. Might as well close it. -- nosy: +skip.montanaro status: open -> closed Tracker <[EMAIL PROTECTED]> __

[issue642309] pygettext should be installed

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: I checked in a change to Tools/scripts/setup.py to install ../i18n/pygettext.py. The main scriptsinstall makefile target still needs work though (opened a ticket about that). -- assignee: -> skip.montanaro nosy: +skip.montanaro resolution: -> fixed st

[issue1054] scriptsinstall target fails in alternate build dir

2007-08-28 Thread Skip Montanaro
New submission from Skip Montanaro: I tried running make scriptsinstall from my build directory. It failed with this error message: error: file 'byteyears.py' does not exist I added os.path.abspath() around the source file name in the error message. It's looking for byteyears.py in the curre

[issue602893] cgitb tracebacks not accessible

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: I have no easy way to check if this change works. Can you apply it to your Python installation and give it a whirl? Thx, Skip -- assignee: -> skip.montanaro nosy: +skip.montanaro Tracker <[EMAIL PROTECTED]>

[issue1053] bogus attributes reported in asyncore doc

2007-08-28 Thread billiejoex
New submission from billiejoex: http://docs.python.org/lib/module-asyncore.html asyncore documentation erroneously report "ac_in_buffer_size" and "ac_out_buffer_size" attributes which does not exist in asyncore.dispatcher class. They're used in asynchat.async_chat class, instead. Moreover, async

[issue527668] pydoc should respect __all__

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: This was fixed in r36142 (i.e., ages ago). -- nosy: +skip.montanaro resolution: -> fixed status: open -> closed Tracker <[EMAIL PROTECTED]> _

[issue1051] certificate in Lib/test/test_ssl.py expires in February 2013

2007-08-28 Thread Bill Janssen
New submission from Bill Janssen: Just a note that the certificate in Lib/test/test_ssl.py will expire in February of 2013 and have to be re-made. -- components: Tests messages: 55393 nosy: janssen priority: low severity: minor status: open title: certificate in Lib/test/test_ssl.py exp

[issue1050] py3k: correction for test_marshal on Windows

2007-08-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I forgot to say that this allows test_marshal to pass with debug builds. __ Tracker <[EMAIL PROTECTED]> __ ___ Py

[issue1050] py3k: correction for test_marshal on Windows

2007-08-28 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc: On Windows, debug builds insert stack probes, and recursive functions tend to exhaust the stack faster. This patch reduces the marshal maximum depth from 2000 to 1500 for debug builds only. Optimized builds are not affected. -- components: Window

[issue1049] socket.socket.getsockname() has inconsistent UNIX/Windows behavior

2007-08-28 Thread Bill Janssen
New submission from Bill Janssen: The behavior and return value for calling socket.socket.getsockname() on an unconnected unbound socket is unspecified. On UNIX, it returns an address ('0.0.0.0', 0), while on Windows it raises an obscure exception "error: (10022, 'Invalid argument')". This s

[issue1048] py3k: correction for test_float on Windows

2007-08-28 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc: test_float crashes on Windows, because the %zd format is used in a call to PyOS_snprintf(). The attached patch properly uses PY_FORMAT_SIZE_T. -- components: Windows files: formatter.diff messages: 55389 nosy: amaury.forgeotdarc severity: normal

[issue813986] robotparser interactively prompts for username and password

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: For those monitoring this, note that I am no unittest whiz, especially with oddball test files like test_robotparser.py. Please feel free to rewrite that code. Tracker <[EMAIL PROTECTED]>

[issue813986] robotparser interactively prompts for username and password

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: Checked in as r57626 on trunk and r57627 on 2.5. -- resolution: -> accepted status: open -> closed Tracker <[EMAIL PROTECTED]> __

[issue813986] robotparser interactively prompts for username and password

2007-08-28 Thread Skip Montanaro
Skip Montanaro added the comment: I'll take this one. Looks like an easy fix. -- assignee: loewis -> skip.montanaro nosy: +skip.montanaro priority: high -> normal type: -> behavior Tracker <[EMAIL PROTECTED]> __

[issue1047] py3k: corrections for test_subprocess on windows

2007-08-28 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc: __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/option

[issue1047] py3k: corrections for test_subprocess on windows

2007-08-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Did I say that test_subprocess now passes on windows? __ Tracker <[EMAIL PROTECTED]> __ subprocess.diff Description: Binary data ___

[issue1047] py3k: corrections for test_subprocess on windows

2007-08-28 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc: I join three patches for py3k on Windows: 1/ getargs.diff adds the 'Z' and 'Z#' format specifiers for PyArg_ParseTuple. They mimic z and z# for unicode strings, by accepting a Unicode or None (in which case the Py_UNICODE* pointer is set to NULL). With d

[issue1202533] a bunch of infinite C recursions

2007-08-28 Thread Brett Cannon
Changes by Brett Cannon: -- priority: high -> urgent _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1202533] a bunch of infinite C recursions

2007-08-28 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +patch priority: normal -> high severity: normal -> major type: -> crash versions: +Python 2.6 _ Tracker <[EMAIL PROTECTED]> _ ___

[issue837234] Tk.quit and sys.exit cause Fatal Error

2007-08-28 Thread Sean Reifschneider
Sean Reifschneider added the comment: Is this a bug or just incorrect usage? From reading the message it sounds like it may just have been an incorrect usage. If it's a bug, can we get a sample that reproduces the problem? -- nosy: +jafo Tracker <[

[issue1598083] Top-level exception handler writes to stdout unsafely

2007-08-28 Thread Sean Reifschneider
Sean Reifschneider added the comment: I don't suppose you could wrangle up a proposed patch to fix this? -- nosy: +jafo _ Tracker <[EMAIL PROTECTED]> _ _

[issue815646] thread unsafe file objects cause crash

2007-08-28 Thread Georg Brandl
Changes by Georg Brandl: -- priority: normal -> urgent severity: normal -> major type: -> crash Tracker <[EMAIL PROTECTED]> ___ Pyt

[issue1778376] Segfault closing a file from concurrent threads

2007-08-28 Thread Georg Brandl
Georg Brandl added the comment: Actually, this is a dupe of #815646. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> thread unsafe file objects cause crash _ Tracker <[EMAIL PROTECTED]>

[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9

2007-08-28 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: I'm not going to get to this for about a week, but I'll test the patch then. _ Tracker <[EMAIL PROTECTED]> _ __

[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9

2007-08-28 Thread Ronald Oussoren
Changes by Ronald Oussoren: _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/op

[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9

2007-08-28 Thread Ronald Oussoren
Changes by Ronald Oussoren: _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/op

[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9

2007-08-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: jyasskin: could you test apple_gcc_flags.diff? That's a version of your patch where configure tests if GCC supports -Wno-long-double and -no- cpp-precomp. NOTE: the patch doesn't update configure, you'll have to run autoconf after applying it. NOTE2: the pat

[issue1046] HTMLCalendar.formatyearpage not behaving as documented

2007-08-28 Thread Walter Dörwald
Walter Dörwald added the comment: Fixed in r57620 -- nosy: +doerwalter resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue1046] HTMLCalendar.formatyearpage not behaving as documented

2007-08-28 Thread inefab
inefab added the comment: uploaded 2008cal.html __ Tracker <[EMAIL PROTECTED]> __ http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> Calendar for 2008 2008 January MonTueWedThuFriSatSun  12

[issue1046] HTMLCalendar.formatyearpage not behaving as documented

2007-08-28 Thread inefab
New submission from inefab: The function HTMLCalendar.formatyearpage in module calendar takes at most 5 arguments (year, month, css, encoding) whereas documentation (http://docs.python.org/lib/module-calendar.html) says it takes at most 6 (theyear, themonth[, width[, css[, encoding]]]). Also, t

[issue1032] Improve the hackish runtime_library_dirs support for gcc

2007-08-28 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: > The patch is incorrect since find returns -1 on failure. Oops, that is right. I attached the corrected patch. __ Tracker <[EMAIL PROTECTED]> __Index: Lib/

[issue1617699] slice-object support for ctypes Pointer/Array

2007-08-28 Thread Thomas Wouters
Thomas Wouters added the comment: I'd like to check this into the trunk, without the non-step-1 support for now, so that we can remove simple slicing from the py3k branch. We can always add non-step-1 support later (all the sooner if someone who isn't me volunteers to do the painful bits of that

[issue1617687] specialcase simple sliceobj in list (and bugfixes)

2007-08-28 Thread Thomas Wouters
Thomas Wouters added the comment: I prefer the current method, as it's more obviously walking in two strides across the same array. I also dislike hiding the final memmove() of the tail bit inside the loop. As for which is more obvious, I would submit neither is obvious, as it took me quite a bit

[issue1617702] extended slicing for buffer objects

2007-08-28 Thread Thomas Wouters
Thomas Wouters added the comment: Committed revision 57619. -- assignee: -> twouters resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ __

[issue1617701] extended slicing for structseq

2007-08-28 Thread Thomas Wouters
Thomas Wouters added the comment: Committed revision 57619. -- assignee: -> twouters resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ __

[issue1617700] slice-object support for mmap

2007-08-28 Thread Thomas Wouters
Thomas Wouters added the comment: Committed revision 57619. -- assignee: -> twouters resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ __

[issue1617698] Extended slicing for array objects

2007-08-28 Thread Thomas Wouters
Thomas Wouters added the comment: Committed revision 57619. -- assignee: -> twouters resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ __

[issue1617691] Extended slicing for UserString

2007-08-28 Thread Thomas Wouters
Thomas Wouters added the comment: Committed revision 57619. -- assignee: -> twouters resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ __

[issue1617682] specialcase simple sliceobj in tuple/str/unicode

2007-08-28 Thread Thomas Wouters
Thomas Wouters added the comment: Committed revision 57619. -- assignee: -> twouters resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ __

[issue1045] Performance regression in 2.5

2007-08-28 Thread Andreas Kloeckner
New submission from Andreas Kloeckner: The attached program uncovers a two-fold performance regression in Python 2.5 with respect to Python 2.4. Below, the "element-wise" case goes from 2.5 seconds in 2.4 to about 4 in 2.5. Since that's a pretty serious increase, I thought I'd point it out. $ py

[issue1044] tarfile insecure pathname extraction

2007-08-28 Thread Lars Gustäbel
Lars Gustäbel added the comment: In principle I do not object, but this is a preliminary patch. I am still not happy with the naming of the "check_paths" argument. Also, the patch was made against the trunk which means that it contains hunks with the new reStructuredText documentation. Please be

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

2007-08-28 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1403221] 2.3.5 source RPM install fails w/o tk-devel

2007-08-28 Thread Sean Reifschneider
Sean Reifschneider added the comment: I'm going to call this closed because this is basically a build environment problem and the RPM can't really detect it at build time. This is noted in the RPM building FAQ, and if you search for the "unclear" message you will find the resolution (either inst

[issue1597011] Reading with bz2.BZ2File() returns one garbage character

2007-08-28 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> jafo _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1597011] Reading with bz2.BZ2File() returns one garbage character

2007-08-28 Thread Sean Reifschneider
Sean Reifschneider added the comment: There are some bugs in the bz2 module. The problem boils down to the following code, notice how *c is assigned *BEFORE* the check to see if there was a read error: do { BZ2_bzRead(&bzerror, f->fp, &c, 1); f->pos++; *buf++ = c; } whil

[issue1044] tarfile insecure pathname extraction

2007-08-28 Thread jan matejek
jan matejek added the comment: no change to extract() ? otherwise looks good to me. if you don't object, i am applying this to SUSE's python 2.5 __ Tracker <[EMAIL PROTECTED]> __ _

[issue1089974] mmap missing offset parameter

2007-08-28 Thread Huang Peng
Changes by Huang Peng: -- nosy: +phuang _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1044] tarfile insecure pathname extraction

2007-08-28 Thread Lars Gustäbel
New submission from Lars Gustäbel: tarfile does not check pathnames or linknames on extraction. This can lead to data loss or attack scenarios when members with absolute pathnames or pathnames outside of the archive's scope overwrite or overlay existing files or directories. Example for a symlin

[issue708374] add offset to mmap

2007-08-28 Thread Huang Peng
Changes by Huang Peng: -- nosy: +phuang Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue775964] fix test_grp failing on RedHat 6.2

2007-08-28 Thread Sean Reifschneider
Sean Reifschneider added the comment: A few comments on this one: Perhaps the tests should be patched instead of the grp module? Because it may be useful for someone to know that old-style NIS maps are being referenced. I presume if the change is made in grp that it should also be made in pwd?

[issue1029] py3k: io.StringIO.getvalue() returns \r\n

2007-08-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Here is a new version of the class, which removes the 'newline' argument from the constructor. I also removed the 'encoding' argument, since this is really an implementation detail of the underlying buffer. Index: Lib/io.py

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2007-08-28 Thread Sean Reifschneider
Changes by Sean Reifschneider: _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2007-08-28 Thread Sean Reifschneider
Changes by Sean Reifschneider: _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue1530559] struct.pack raises TypeError where it used to convert

2007-08-28 Thread Sean Reifschneider
Sean Reifschneider added the comment: etrepum: Can you fix the test which caused this to be re-opened? I'm tempted to push this down in priority from urgent to high, since the code is (apparently) fixed, just the test is failing, but ideally this could just get fixed. -- nosy: +jafo __

[issue515751] Missing docs for module imputil

2007-08-28 Thread Sean Reifschneider
Sean Reifschneider added the comment: I've committed some *very* basic documentation as Doc/library/imputil.rst. This is mostly pulling the documentation I could find in the web and in the code and setting it up in Python doc format. I'm adding people who have recently touched the module, as we

[issue1036] py3k _bsddb.c patch to use the new buffer API

2007-08-28 Thread Gregory P. Smith
Gregory P. Smith added the comment: committed to py3k branch using SIMPLE instead of LOCKDATA: r57610 -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _