[issue1311] os.path.exists(os.devnull) regression on windows

2007-10-23 Thread David Kågedal
David Kågedal added the comment: I tried it on two different machines, and got two different answers: conan$ /cygdrive/c/Python25/python -c 'import os.path; print os.path.exists("nul")' False conan$ /cygdrive/c/Python24/python -c 'import os.path; print os.path.exists("nul")' False conan$ /cygdr

[issue1314] Patch for strftime problem on German Windows

2007-10-23 Thread Christian Heimes
New submission from Christian Heimes: The patch fixes the failing unit tests for time and strptime on German and probably other Windows installations. - ret = PyUnicode_FromStringAndSize(outbuf, buflen); + ret = PyUnicode_Decode(outbuf, buflen, +

[issue1298] Support for z/OS and EBCDIC.

2007-10-23 Thread Jean-Yves MENGANT
Jean-Yves MENGANT added the comment: Let me provide my contribution to this discussion around this ZOS port topic : I initially made the Python 2.2 and 2.4 for ZOS platform and ask the python community to link to my pages as a support to ZOS at that time Lauri get in touch with me couple of wee

[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol

2007-10-23 Thread Georg Brandl
Georg Brandl added the comment: Makes sense to me. -- nosy: +georg.brandl __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list U

[issue1307] smtpd.SMTPServer throws exception on MAIL command with no arg

2007-10-23 Thread Derek Shockey
Derek Shockey added the comment: I'm really sorry I didn't notice this earlier, but RCPT has the same bug! This patch applies the same fix to that function as well. Added file: http://bugs.python.org/file8597/smtpd-patch2.diff __ Tracker <[EMAIL PROTECTED]>

[issue1253] IDLE - Percolator overhaul

2007-10-23 Thread Tal Einat
Tal Einat added the comment: The change required for Squeezer and ShellLogger is the separation of the Tk Text specific logic into a subclass, which makes Percolator a generally useful class. Along with the simple patch to Delegator.py which allows delegation to callables, this change allows one

[issue1315] Bug in pstats.print_callers

2007-10-23 Thread Guido van Rossum
Guido van Rossum added the comment: This will get more attention if you suggest a patch... -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __ __

[issue1256] subprocess Popen wait() function hangs when stdout is > 20480

2007-10-23 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: PIPE on POSIX are implemented using pipe system call so it will have all the limitations of the system buffering that is used for implementing pipes. The buffer size is system dependent. For example, on my Linux, I hit the hang condition at 64K and not 2048

[issue1314] Patch for strftime problem on German Windows

2007-10-23 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

[issue1298] Support for z/OS and EBCDIC.

2007-10-23 Thread Martin v. Löwis
Martin v. Löwis added the comment: Jean-Yves, please understand that no amount of discussion can likely change Guido's or my view on this patch. We both fully understand the relevance of OS/390, and *still* reject it, for the reasons discussed. Besides, integration into 2.5.1 is not possible, as

[issue1311] os.path.exists(os.devnull) regression on windows

2007-10-23 Thread Kevin Dwyer
Kevin Dwyer added the comment: I tried this under Python 2.3.3, 2.5.1 (native) and 2.3.4 (cygwin). The operating system is Windows 2000 SP4. C:\Python23>python Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for mor

[issue1316] fix a few PyInt_Check vs PyLong_Check problems

2007-10-23 Thread Georg Brandl
New submission from Georg Brandl: This fixes a few places where PyInt_Check and PyLong_Check are used redundantly, and where the checks must be changed now that there's only PyLong. -- assignee: gvanrossum files: long_check.diff keywords: patch, py3k messages: 56685 nosy: georg.brandl, g

[issue1303] adapt str8 constructor to bytes constructor

2007-10-23 Thread Georg Brandl
Georg Brandl added the comment: Okay, somebody seems to have started this, so I won't interfere for now. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bug

[issue1316] fix a few PyInt_Check vs PyLong_Check problems

2007-10-23 Thread Guido van Rossum
Guido van Rossum added the comment: Please check in and close -- thanks for finding these! -- assignee: gvanrossum -> georg.brandl resolution: -> accepted __ Tracker <[EMAIL PROTECTED]> _

[issue1317] smtplib.SMTP docs

2007-10-23 Thread Fred L. Drake, Jr.
New submission from Fred L. Drake, Jr.: The docstring for the smtplib.SMTP class includes descriptions of some instance attributes that are not covered by the documentation: does_esmtp ehlo_resp esmtp_features helo_resp If these are intended as part of the public interface, they should

[issue1316] fix a few PyInt_Check vs PyLong_Check problems

2007-10-23 Thread Georg Brandl
Georg Brandl added the comment: Committed r58617. -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1307] smtpd.SMTPServer throws exception on MAIL command with no arg

2007-10-23 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 58618. There better not be any others. :-) Neal, can you add this to 2.5.2 and then close? -- assignee: gvanrossum -> nnorwitz status: closed -> open __ Tracker <[EMAIL PROTECTED]>

[issue1312] doctest EXCEPTION_RE can't handle preceding output

2007-10-23 Thread Guido van Rossum
Changes by Guido van Rossum: -- assignee: -> tim_one nosy: +tim_one __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubs

[issue1314] Patch for strftime problem on German Windows

2007-10-23 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 58619. -- assignee: -> gvanrossum nosy: +gvanrossum resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue1755179] Deadlocks with fork() and multithreading

2007-10-23 Thread Facundo Batista
Changes by Facundo Batista: -- assignee: -> facundobatista nosy: +facundobatista _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-lis

[issue1311] os.path.exists(os.devnull) regression on windows

2007-10-23 Thread Kevin Dwyer
Kevin Dwyer added the comment: Ok, it seems that Python 2.5 implements two new functions Py_GetFileAttributesExA and Py_GetFileAttributesExW in posixmodule.c within the #ifdef MS_WINDOWS block that may return ERROR_INVALID_PARAMETER to os.stat, which will percolate WindowsError up to os.exists():

[issue1318] Remove os.tmpnam() and os.tempnam() [patch]

2007-10-23 Thread Christian Heimes
New submission from Christian Heimes: I couldn't stand the compiler warnings any more. :) The patch removes os.tmpnam() and os.tempnam() from the posix module. It also updates the docs and tests. TMP_MAX is kept for the tempfile module. I haven't figured out how to remove the defines from pyconf

[issue1318] Remove os.tmpnam() and os.tempnam() [patch]

2007-10-23 Thread Guido van Rossum
Guido van Rossum added the comment: Martin, why do we need to keep these when we already have tempfile.py? I don't see that they solve any particular POSIX compatibility requirement. And they *are* unsafe. (Admitted, sometimes there's no alternative -- even tempfile.py still provides unsafe AP

[issue1319] py3k: fixes for test_ctypes

2007-10-23 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc: Updates to ctypes for python 3.0 to make the tests pass. Notable changes are: - return bytes instead of str8 - integers in range(256) are accepted as "one char string": libc.strchr("abcdef", 98) is now valid. - directly use the wide-char version of the w

[issue1318] Remove os.tmpnam() and os.tempnam() [patch]

2007-10-23 Thread Christian Heimes
Christian Heimes added the comment: First, you are right. It's not a compiler but a linker warning. I don't see the point in keeping the methods. They are dangerous to use, warned upon for a long time and they have a sane replacement that does a far better job. _

[issue1320] PCBuild8 Solution Support Changes

2007-10-23 Thread Joseph Armbruster
New submission from Joseph Armbruster: The following observations were made of the PCBuild8 solution: 1 pyproject.vsprops was missing usermacros for tcltk / msi 2 no vcproj for ssl module like the PCBuild solution has 3 _msi project did not havea valid includedir 4 _tkinter did not have a va

[issue1307] smtpd.SMTPServer throws exception on MAIL command with no arg

2007-10-23 Thread Neal Norwitz
Neal Norwitz added the comment: Committed revision 58625. (2.5) -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list

[issue1318] Remove os.tmpnam() and os.tempnam() [patch]

2007-10-23 Thread Martin v. Löwis
Martin v. Löwis added the comment: Removing them because there is a replacement already is a better reason than removing them because they give (bogus) warnings, so I'm -0 now. As you say, tempfile is not any better from a security point of view in the cases where tmpnam or tempnam would be used

[issue1319] py3k: fixes for test_ctypes

2007-10-23 Thread Martin v. Löwis
Martin v. Löwis added the comment: Thomas, can you take a look? If not, please unassign. -- assignee: -> theller keywords: +patch nosy: +loewis, theller __ Tracker <[EMAIL PROTECTED]> __