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

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1682] Move Demo/classes/Rat.py to Lib/rational.py and fix it up.

2008-01-11 Thread Mark Dickinson
Mark Dickinson added the comment: About .trim and .approximate: it sounds like these are different, but quite closely related, methods: one takes a positive integer and returns the best approximation with denominator bounded by that integer; the other returns the 'smallest' rational in a

[issue1714] ConfigParser.py do not allow leading (and trailing) space in values.

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Please provide a patch against 2.6 with an unit test and documentation updates. -- keywords: +easy nosy: +tiran priority: -> low versions: +Python 2.6 -Python 2.4 __ Tracker <[EMAIL PROTECTED]>

[issue1714] ConfigParser.py do not allow leading (and trailing) space in values.

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Library (Lib) -Extension Modules __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing lis

[issue1627] Problem with httplib and Content-Length: -1

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +easy priority: -> low versions: +Python 2.6 -Python 2.5 __ Tracker <[EMAIL PROTECTED]> __ ___ Python

[issue1353344] python.desktop

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +easy _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http

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

2008-01-11 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: FYI, StringIO and BytesIO, in Python 3K, already support the context management protocol. __ Tracker <[EMAIL PROTECTED]> __ _

[issue1297] pyconfig.h not compatible with MS VC++ Express Edition

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- resolution: -> out of date status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailin

[issue1299] distutils.sysconfig is not cross-platform compatible

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: It's going to be hard to implement the feature for Windows. The PC/pyconfig.h uses lots of #ifdef and #if defined. If you are still interested in the matter please provide a patch and answer within two weeks. Otherwise this bug will be closed on 2008-01-26. -

[issue1239] openpty does not give bidirectional pipe

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing li

[issue1516613] Decimal should allow leading or trailing spaces.

2008-01-11 Thread Mark Dickinson
Mark Dickinson added the comment: I spoke too soon. This came up again in the discussion for issue #1780 and there was general support for allowing trailing and leading whitespace. Fixed for Python 2.6, revision 59929 -- resolution: -> fixed status: open -> closed superseder: -> De

[issue1669637] Some Compiler Warnings on VC6

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: VC6 is no longer the main stream compiler. Please provide a patch if you like to have these errors fixed in 2.6. I don't see the warnings in VS 2008. -- nosy: +tiran resolution: -> out of date status: open -> closed __

[issue1749567] PLATFORM macro in PC/pyconfig.h already defined by Apache

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Please provide a patch and documentation updates (if required) or I'm going to close the bug in two weeks (2008-01-26). -- components: +Build nosy: +tiran status: open -> pending type: -> rfe versions: +Python 2.6 -Python 2.5

[issue1675] Race condition in os.makedirs

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Library (Lib) keywords: +easy versions: +Python 2.6 -Python 2.5 __ Tracker <[EMAIL PROTECTED]> __ _

[issue1174614] site enhancements

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: I'm going to check the patch for my new PEP about per user site directories. -- assignee: -> tiran nosy: +tiran versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]>

[issue1616] compiler warnings (gcc 2.96)

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: 2.96 is ancient and I don't see those warnings with 4.x series. Can I close this bug? -- components: +Build nosy: +tiran status: open -> pending __ Tracker <[EMAIL PROTECTED]>

[issue936813] fast modular exponentiation

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Re-targeting for 2.6 We should discuss it at the bug day. -- nosy: +tiran type: -> rfe versions: +Python 2.6 -Python 2.5 Tracker <[EMAIL PROTECTED]> ___

[issue1309352] Make fcntl work properly on AMD64

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list

[issue1391872] floating point literals don't work in non-US locale in 2.5

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Do we have a test for the problem which verifies the behavior or can I close the bug? -- nosy: +tiran status: open -> pending type: -> behavior versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]>

[issue1479611] speed up function calls

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- type: -> rfe versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list

[issue1220212] os.kill on windows

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: This should be implemented differently. Users should substitute their popen and exec calls with subprocess. The subprocess.Popen class should gain two new methods terminate() and send_signal(int) where send_signal is restricted to SIGKILL (+SIGTERM ?) on Window

[issue1467201] size_t warnings on OSX 10.3

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: *PING* Is this still a problem, Anthony? -- nosy: +tiran status: open -> pending _ Tracker <[EMAIL PROTECTED]> _ ___

[issue1528620] Python 2.5b2 fails to build on Solaris 10 (Sun Compiler)

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Guido, have you tested the build on your box? I'm going to close the bug after two week unless you report a new problem. (2008-01-26) -- nosy: +tiran status: open -> pending _ Tracker <[EMAIL PROTECTED]>

[issue1522046] RPM build fails for Py2.5b2

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Please open a new bug for the /usr/lib64 issue. -- nosy: +tiran resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> _

[issue1570672] qtsupport.py mistake leads to bad _Qt module

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Qt is a 3rd party extension. -- nosy: +tiran resolution: -> invalid status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ _

[issue1608805] Py_FileSystemDefaultEncoding can be non-canonical

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list

[issue1544339] _ctypes fails to build on Solaris x86 32-bit (Sun compiler)

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: -> theller type: -> crash versions: +Python 2.6 _ Tracker <[EMAIL PROTECTED]> _ ___ Pytho

[issue1653416] print >> f, "Hello" produces no error: normal?

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- type: -> behavior versions: +Python 2.6 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing

[issue1653416] print >> f, "Hello" produces no error: normal?

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: On Linux both 2.5 and 2.6 are raising an exception: >>> f = open("/etc/passwd") >>> print >>f, "Hello" Traceback (most recent call last): File "", line 1, in IOError: [Errno 9] Bad file descriptor -- nosy: +tiran __

[issue1672336] Building python 2.5 for AMD64 (windows) and VS2005

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: The new build directories for VS 2005 and VS 2008 work for AMD 64. -- nosy: +tiran resolution: -> out of date status: open -> closed _ Tracker <[EMAIL PROTECTED]> _

[issue1644818] Allow importing built-in submodules

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Build type: -> rfe versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _ __

[issue1702551] distutils sdist does not exclude SVN/CVS files on Windows

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: The code should use \ and / on Windows. -- nosy: +tiran type: -> behavior versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _

[issue1720595] Allow T_BOOL in PyMemberDef definitions

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: allow or reject it for 2.6, Georg? -- nosy: +tiran type: -> rfe versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _ __

[issue1729014] 0.0 and -0.0 end up referring to the same object

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: I mark this bug as duplicate of #1678668. They are both about the same issue. -- nosy: +tiran resolution: -> duplicate status: open -> closed superseder: -> fix a bug mixing up 0.0 and-0.0 type: -> behavior _ Tra

[issue1678668] fix a bug mixing up 0.0 and-0.0

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: See also #1678668. -- nosy: +tiran _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing l

[issue1811] True division of integers could be more accurate

2008-01-11 Thread Mark Dickinson
New submission from Mark Dickinson: Division of two longs can produce results that are needlessly inaccurate: >>> from __future__ import division >>> 10**40/10**39 10.002 The correct result is, of course, 10.0, which is exactly representable as a float. The attached snippet of Py

[issue1811] True division of integers could be more accurate

2008-01-11 Thread Mark Dickinson
Changes by Mark Dickinson: -- components: +Interpreter Core versions: +Python 2.6, Python 3.0 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-

[issue1733134] sqlite3.dll cannot be relocated

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Tim, please help us to track the bug down. I'm going to close the bug in two weeks (2008-01-26) unless you respond. -- nosy: +tiran status: open -> pending _ Tracker <[EMAIL PROTECTED]>

[issue1220212] os.kill on windows

2008-01-11 Thread Miki Tebeka
Miki Tebeka added the comment: > Users should substitute their popen and exec calls with subprocess As long as popen and exec are available, users are free to use them (and probably will :) The Popen(...).terminate() works only if I'm the one who started the process. However there are cases wher

[issue1254718] GCC detection for runtime_library_dirs when ccache is used

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Build type: -> compile error versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _

[issue1367711] Remove usage of UserDict from os.py

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: -> tiran nosy: +tiran type: -> rfe versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _

[issue1367711] Remove usage of UserDict from os.py

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: tiran -> keywords: +easy _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list

[issue1812] doctest _load_testfile function -- newline handling seems incorrect

2008-01-11 Thread Peter Donis
New submission from Peter Donis: When running doctest.testfile on a Linux machine, testing a txt file saved on a Windows machine, doctest raised a SyntaxError exception for each Windows newline in the txt file. On examining the code in the _load_testfile function, it looks to me like there are

[issue1812] doctest _load_testfile function -- newline handling seems incorrect

2008-01-11 Thread Peter Donis
Peter Donis added the comment: Edit: I should have said that the attached diff also includes changes to test_doctest.py to test for the correct newline behavior. Because the test setup is a little complex, I added an auxiliary script, doctest_testfile.py, and an accompanying text file, doctes

[issue1733134] sqlite3.dll cannot be relocated

2008-01-11 Thread Tim Delaney
Tim Delaney added the comment: I've got no further details on this bug - I've never encountered it myself. _ Tracker <[EMAIL PROTECTED]> _ ___

<    1   2