[issue7725] '-s' option in The Python Profiles > Instant User's Manual linked incorrectly

2010-01-17 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti priority: -> normal stage: -> needs patch versions: -Python 2.5 ___ Python tracker ___

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: The buildslaves most definitely will *not* execute any code under administrator privileges; doing so would put the machine under a serious threat. The tests should be skipped if the privilege is not held; it may be reasonable to grant the privilege to the ac

[issue7720] Errors in tests and C implementation of raw FileIO

2010-01-17 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +benjamin.peterson, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue1596321] KeyError at exit after 'import threading' in other thread

2010-01-17 Thread Brian Curtin
Brian Curtin added the comment: FWIW, Amaury's example runs without error on trunk and py3k (OS X 10.5). 2.6 prints the following: "Exception in thread Thread-1 (most likely raised during interpreter shutdown)" 3.1 seg faults -- nosy: +brian.curtin stage: -> needs patch type: -> beh

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've confirmed that in fact a security policy permission is required to create a symbolic link, and that by default, that permission is only granted to administrators (see http://en.wikipedia.org/wiki/Symbolic_link#Windows_Vista_symbolic_link). Given this f

[issue7680] pythonw crash while attempting to start() a thread object

2010-01-17 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> invalid stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7720] Errors in tests and C implementation of raw FileIO

2010-01-17 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Tests priority: -> normal stage: -> test needed type: -> behavior ___ Python tracker ___ _

[issue762963] timemodule.c: Python loses current timezone

2010-01-17 Thread Brian Curtin
Brian Curtin added the comment: Here's an updated version of the previous patches with the test included in test_time.py. The test fails on Linux before the timemodule.c file is changed, then it passes once applied. -- keywords: +needs review nosy: +brian.curtin stage: -> patch revie

[issue7680] pythonw crash while attempting to start() a thread object

2010-01-17 Thread dontbugme
dontbugme added the comment: After asking at the IRC channel, posborne resolved the error: Also, the behaviour of exiting the main thread before all threads has exited is undefined. Is the behaviour different if you add t.join() to the end of the script? Code: #!/usr/bin/env python import

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-01-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > This is not exact. buffer() doesn't exist at all in 3.x, and it issues a > warning in 2.x when used with the -3 flag: > > $ ./python -3 > Python 2.7a2+ (trunk:77580M, Jan 17 2010, 16:51:51)

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: This new patch (draft 19) addresses the outstanding test failures in test_posixpath.py and test_platform.py (by essentially disabling tests that were previously-disabled but became enabled on Windows by adding symlink support). -- Added file: http:/

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: Eric: The failures I'm seeing in test_posixpath indicate that realpath isn't working properly. Are you getting the same results? As for the buildbot issue - I'm unfamiliar with the buildbot configuration. I think it would be worth creating the branch and let

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-17 Thread Jason R. Coombs
Changes by Jason R. Coombs : Removed file: http://bugs.python.org/file15616/windows symlink draft 17.patch ___ Python tracker ___ ___ Python

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-17 Thread Eric Smith
Eric Smith added the comment: I'm indeed seeing the same test_posixpath errors that Jason reported. -- ___ Python tracker ___ ___ P

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: Brian: I applied the draft 18 patch to the latest version of /branches/py3k (77592). I compiled the release x64 build and ran a few tests using the following syntax: PS C:\Users\jaraco\projects\public\python-core-py3k> .\pcbuild\amd64\python .\lib\test\test

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-17 Thread Eric Smith
Eric Smith added the comment: Yes, "Run as administrator" solves the permissions problem, leaving an error in test_posixpath that I'll investigate. What's the expectations with the buildbots? Will these tests work there? We could create a branch and run a buildbot test if need be. It would p

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: Brian: That's interesting. Many of those failures look very much like failures I've encountered and fixed, though I have been developing in a 32-bit environment. I'll run the tests on my 64-bit system and see if I can replicate. -- _

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: Eric: I'm guessing the error you're seeing might be due to a UAC issue (http://en.wikipedia.org/wiki/User_Account_Control). I've been developing with UAC disabled (because working with the command-line in a UAC environment is a bit**). Can you confirm that

[issue7610] Cannot use both read and readline method in same ZipExtFile object

2010-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Replace 'may' with 'will' or 'shall' everywhere the context indicates > a mandatory requirement. > > Since this possibly affects the entire Python documentation, does it > make sense to discuss this on python-dev? Either that, or open a separate tracker issu

[issue7720] Errors in tests and C implementation of raw FileIO

2010-01-17 Thread Pascal Chambon
Pascal Chambon added the comment: Hum, it seems that in python2.6, the C API for PyArg_ParseTuple isn't yet ready for bytes and bytearrays, is it ? "y"-like argument parsers don't exist, so I guess we can't easily patch the C api on this, only tests (replacing "xxx" by b"xxx")... --

[issue7728] test_timeout should use "find_unused_port" helper

2010-01-17 Thread Florent Xicluna
New submission from Florent Xicluna : Some buildbot failure because of hard-coded port. test_timeout test test_timeout failed -- Traceback (most recent call last): File "/home/buildbot/cpython-ucs2/trunk.pitrou-ubuntu/build/Lib/test/test_timeout.py", line 149, in testAcceptTimeout self.s

[issue7610] Cannot use both read and readline method in same ZipExtFile object

2010-01-17 Thread Nir Aides
Nir Aides added the comment: > I do not find the existing phrasing in the IO docs ambiguous, but since > it is obviously possible to misinterpret it it would be good to clarify > it. Can you suggest an alternate phrasing that would be clearer? Replace 'may' with 'will' or 'shall' everywhere

[issue7632] dtoa.c: oversize b in quorem, and a menagerie of other bugs

2010-01-17 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, Stefan. Applied in r77589 (trunk), r77590 (py3k), r77591 (release31-maint) with one small change: I moved the freelist and p5s declarations inside the #ifndef Py_USING_MEMORY_DEBUGGER conditionals. The leak itself was fixed in revisions r77578 throu

[issue775964] fix test_grp failing on RedHat 6.2

2010-01-17 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue7727] xmlrpc library returns string which contain null ( \x00 )

2010-01-17 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +loewis priority: -> normal stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mail

[issue7727] xmlrpc library returns string which contain null ( \x00 )

2010-01-17 Thread Steven Hartland
New submission from Steven Hartland : When using SimpleXMLRPCServer that is used to return data that includes strings that have a \x00 in them this data is returned, which is invalid. The expected result is that the data should be treated as binary and base64 encoded. The bug appears to be in

[issue7715] Allow use of GNU arch on Darwin

2010-01-17 Thread Ned Deily
Ned Deily added the comment: BTW, I believe there is a problem with ARCH_RUN_32BIT as it stands: as far as I can tell, unlike lipo, /usr/bin/arch requires -ppc and rejects -ppc7400 regardless if the executable is -arch ppc7400 or -arch ppc. -- ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue775964] fix test_grp failing on RedHat 6.2

2010-01-17 Thread Brian Curtin
Brian Curtin added the comment: Ping. Anyone know if this is still an issue? I don't have access to RH. -- nosy: +brian.curtin stage: -> patch review type: -> behavior versions: +Python 2.6 -Python 2.5 ___ Python tracker

[issue7715] Allow use of GNU arch on Darwin

2010-01-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've applied a patch to use /usr/bin/arch instead of just 'arch' in r7715 (trunk). I will port this to the other branches soonish. -- resolution: -> fixed stage: patch review -> committed/rejected ___ Python tra

[issue4834] Trouble configuring with icc on Mac OS X 10.5

2010-01-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've committed a small change in r77587 (trunk) that disables usage of the 10.4u SDK when that SDK is not present. That may or may not fix this issue. I'm not going to do anything more to this issue and am therefore closing it. -- resolution: -> fi

[issue7724] setup.py ignores SDK root on OSX

2010-01-17 Thread Ned Deily
Ned Deily added the comment: I suppose all of the relevant setup.py build-time tests could be restructured as autoconf-style tests using gcc & friends with consistent arguments (with the build and with Distutils) so there wouldn't need to be special knowledge in setup.py or configure about wh

[issue3599] test_pydoc after test_urllib2 causes exception in Popen.__del__

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue892707] debuggable/profileable Python framework

2010-01-17 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- resolution: -> wont fix stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue3432] Mac, 2.6 framework install error

2010-01-17 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- resolution: -> works for me stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue6939] shadows around the io truncate() semantics

2010-01-17 Thread Pascal Chambon
Changes by Pascal Chambon : Removed file: http://bugs.python.org/file15909/patch26_truncate_pos_refcounts.patch ___ Python tracker ___ ___ Pyt

[issue6939] shadows around the io truncate() semantics

2010-01-17 Thread Pascal Chambon
Pascal Chambon added the comment: Allright - sorry for the failure - I've cleaned my hdd enough to launch large_file tests too. The thing is - are there platforms available to test a patch against the whole test suite of python, and against several OSes ? I've found no such thing around buil

[issue7226] IDLE right-clicks don't work on Mac OS 10.5

2010-01-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: (I've removed 3.0 from the list because we no longer do maintenance releases for that). My gut feeling is that this an issue with Tkinter. -- resolution: -> accepted stage: -> needs patch type: -> behavior versions: -Python 3.0 _

[issue7184] build failures on Snow Leopard

2010-01-17 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- resolution: -> works for me stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue7724] setup.py ignores SDK root on OSX

2010-01-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree, our usage of -isysroot seems to be correct. What's rather annoying is that the documentation seems to claim that the sysroot value gets prepended to every search location, while that is obviously not try. My guess is that it is only prepended for b

[issue1760357] ZipFile.write fails with bad modification time

2010-01-17 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin stage: -> test needed type: -> behavior versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is not exact. buffer() doesn't exist at all in 3.x, and it issues a warning in 2.x when used with the -3 flag: $ ./python -3 Python 2.7a2+ (trunk:77580M, Jan 17 2010, 16:51:51) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for mo

[issue7724] setup.py ignores SDK root on OSX

2010-01-17 Thread Ned Deily
Ned Deily added the comment: It's not exactly the same issue but I think it is closely related since effectively both document the need for setup.py to build with a non-default system root (or SDK) and some of the hardcoded paths should be being satisfied from the SDK. So at least parts of t

[issue7724] setup.py ignores SDK root on OSX

2010-01-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: Issue7713 is not the same: it asks for a way to affect the hardcoded paths in setup.py, this issue asks to honor the SDK-root by setup.py. I've done some further research and this affects distutils in general: the compiler has methods to look for files and t

[issue7713] implement ability to disable automatic search path additions

2010-01-17 Thread Ned Deily
Ned Deily added the comment: See also Issue7724 which addresses the particular case of building with OS X SDKs. -- nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ __

[issue7724] setup.py ignores SDK root on OSX

2010-01-17 Thread Ned Deily
Ned Deily added the comment: See also newly opened Issue7713 which expands the issue to other platforms . -- nosy: +ned.deily ___ Python tracker ___ _

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-01-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: buffer() is only deprecated in Python 3.x, not in Python 2.7, so the current implementation is perfectly valid for Python 2.7. Note that buffer() has long been the preferred type for passing binary objects to and from a database. -- nosy: +lembur

[issue7726] Remove required metadata warnings for sdist

2010-01-17 Thread Michael Foord
New submission from Michael Foord : When building releases with sdist (and other distribution building options) missing metadata should not cause warnings. For public projects this is useful (i.e. projects uploaded to PyPI), but not for internally built distributions. (If a distribution is not

[issue7725] '-s' option in The Python Profiles > Instant User's Manual linked incorrectly

2010-01-17 Thread dauerbaustelle
New submission from dauerbaustelle : [Section 27.4.2] The '-s' option links to the `cmdline` manual rather than to the `profile.Stats` documentation. (rst source line 125) -- assignee: georg.brandl components: Documentation messages: 97956 nosy: dauerbaustelle, georg.brandl severity: n

[issue7658] OS X pythonw.c compile error with 10.4 or earlier deployment target: no spawn.h

2010-01-17 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- resolution: -> fixed stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7658] OS X pythonw.c compile error with 10.4 or earlier deployment target: no spawn.h

2010-01-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've committed a fix for this in r77585, please test. I can now compile python-trunk on OSX 10.6 while targetting the 10.4 SDK, and have compiled on OSX 10.4 as well. I will forward port this to 3.2. -- ___ Pytho

[issue7714] configure GCC version detection fix for Darwin

2010-01-17 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- assignee: -> ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue7714] configure GCC version detection fix for Darwin

2010-01-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've committed this in 77585 (trunk) and will port this to the other branches soon. -- resolution: -> fixed stage: patch review -> committed/rejected ___ Python tracker

[issue1865] Bytes alias for 2.6

2010-01-17 Thread Florent Xicluna
Florent Xicluna added the comment: IMHO, this feature should be documented. -- assignee: -> georg.brandl components: +Documentation nosy: +flox, georg.brandl status: closed -> open versions: +Python 2.7 ___ Python tracker

[issue7632] dtoa.c: oversize b in quorem, and a menagerie of other bugs

2010-01-17 Thread Stefan Krah
Stefan Krah added the comment: With the latest dtoa.c, your non-caching pow5mult and a quick hack for Balloc and Bfree I get zero (dtoa.c related) Valgrind errors. So the attached memory_debugger.diff is pretty much all what's needed for Valgrind. -- Added file: http://bugs.python.or

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Florent Xicluna added the comment: Re-uploaded "syntax_imports_v2" with patch for test_bsddb.py -- Added file: http://bugs.python.org/file15929/issue7092_syntax_imports_v2.diff ___ Python tracker __

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15927/issue7092_syntax_imports_v2.diff ___ Python tracker ___ ___ Python-

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file15928/issue7092_filterwarnings_v2.diff ___ Python tracker ___ ___ Python-bu

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Florent Xicluna added the comment: Patches updated against trunk. -- Added file: http://bugs.python.org/file15927/issue7092_syntax_imports_v2.diff ___ Python tracker ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15789/issue7092_filterwarnings.diff ___ Python tracker ___ ___ Python-bug

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15787/issue7092_syntax_imports.diff ___ Python tracker ___ ___ Python-bug

[issue7724] setup.py ignores SDK root on OSX

2010-01-17 Thread Ronald Oussoren
New submission from Ronald Oussoren : On OSX it is possible to compile using an SDK, which is basicly a directory tree containing include files and shared library stubs. When building using an SDK (such as the 10.4u SDK) the compiler looks in the SDK subtree instead of / (that is, look for inc

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-01-17 Thread Florent Xicluna
Florent Xicluna added the comment: Sidenotes: - documentation for Python 3 is outdated - it may be a release blocker, since there's no alternative: currently it uses exclusively buffer() for BLOB object -- ___ Python tracker

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : -- priority: high -> critical ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue6683] smtplib authentication - try all mechanisms

2010-01-17 Thread Enrico Carlesso
Enrico Carlesso added the comment: This affects tophost.it too. Unable to login with CRAM-MD5 but plain login (as described in referenced workaround) work fine. -- nosy: +Enrico.Carlesso ___ Python tracker ___

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-01-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> ghaering nosy: +ghaering stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-lis

[issue7632] dtoa.c: oversize b in quorem, and a menagerie of other bugs

2010-01-17 Thread Mark Dickinson
Mark Dickinson added the comment: Stefan, I'm not particularly familiar with Valgrind: can you tell me what would need to be done? Is a non-caching version of pow5mult all that's required? Here's the patch that I'm using to detect leaks at the moment. (It includes a slow pow5mult version.

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file15925/issue7092_json.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue7632] dtoa.c: oversize b in quorem, and a menagerie of other bugs

2010-01-17 Thread Stefan Krah
Stefan Krah added the comment: Mark, thanks for the explanation! - You can generate suppressions for the Misc/valgrind-python.supp file, but you have to know exactly which errors can be ignored. Going through the Valgrind output again, it looks like most of it is about what you already menti

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15794/issue7092_json_sqlite_v2.diff ___ Python tracker ___ ___ Python-bug

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-17 Thread Florent Xicluna
Florent Xicluna added the comment: I've created issue7723 for sqlite3 module using buffer(). It's not so simple. -- dependencies: +sqlite only accept buffer() for BLOB objects (input/output) ___ Python tracker

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-01-17 Thread Florent Xicluna
New submission from Florent Xicluna : Since buffer() is deprecated in Python 2.7, it should not be used for BLOB input/output. SAMPLES = ( ('unicode', u''), ('bytes', ''), ('buffer', buffer('')), # ('bytearray', bytearray('')), # unsupported # ('memoryview', memoryview(''))# unsu

[issue7561] PyByteArray_AS_STRING used unsafely

2010-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: The bytearray fix has been committed in r77573 (trunk), r77574 (2.6), r77576 (py3k), r77577 (3.1). The issue can now be closed. -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed __

[issue7679] Warning building 2.7 on OS X 10.6 libintl.h "Present But Cannot Be Compiled"

2010-01-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: Steve: the "report this..." message is generated by the configure script and is added by autoconf, AFAIK we cannot change that message. That said: there is a problem on your system with a python build: configure now thinks that is has found a workable libint

[issue7561] PyByteArray_AS_STRING used unsafely

2010-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: (I meant the posixmodule fix, of course) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7561] PyByteArray_AS_STRING used unsafely

2010-01-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file15663/release_bytes.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue7561] PyByteArray_AS_STRING used unsafely

2010-01-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file15660/posixmodule_fn_bytearray_fix_01.patch ___ Python tracker ___ ___ Py

[issue7561] PyByteArray_AS_STRING used unsafely

2010-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: The posixmodule was committed with a test in r77571 (py3k) and r77572 (3.1). -- ___ Python tracker ___ _

[issue7561] PyByteArray_AS_STRING used unsafely

2010-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. A static empty string is used in case PyByteArray_AS_STRING() is asked on an empty bytearray, instead of returning NULL. Another possibility would be to implement tp_new for bytearray and always allocate a new 1-byte string, but this would ma

[issue7714] configure GCC version detection fix for Darwin

2010-01-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: Thanks for the patch, I didn't know of the -dumpversion flag. -- ___ Python tracker ___ ___ Python-

[issue7715] Allow use of GNU arch on Darwin

2010-01-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree with Ned: the correct patch is to hardcode usage of /usr/bin/arch, because that's the one the build environment is expecting to use and the only one I care to support. -- ___ Python tracker

[issue2531] float compared to decimal is silently incorrect.

2010-01-17 Thread Mark Dickinson
Mark Dickinson added the comment: I'll try to find time to look at this again before 2.7 beta. -- assignee: -> mark.dickinson ___ Python tracker ___

[issue6837] Mark the compiler package as deprecated

2010-01-17 Thread Georg Brandl
Georg Brandl added the comment: +1. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue7722] calendar.{HTMLCalendar, TextCalendar}.formatyear have incorrect definition

2010-01-17 Thread Georg Brandl
Georg Brandl added the comment: That was already fixed on trunk, but not yet merged to 2.6. I've done so now in r77559. -- resolution: -> fixed status: open -> closed ___ Python tracker _

[issue7721] Code in xrange documentation does not work

2010-01-17 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue7693] tarfile.extractall can't have unicode extraction path

2010-01-17 Thread Peter Bienstman
Peter Bienstman added the comment: > Lars Gustäbel added the comment: > > So, use the pax format. It stores the filenames as utf-8 and this way you > will be on the safe side. > > I hope we both agree that the solution to your particular problem is > nothing tarfile.py can provide. If I wa