[issue7201] double Endian problem and more on arm

2009-10-25 Thread Mark Dickinson
Mark Dickinson added the comment: The 4th failure (test_endian_double) probably has nothing to do with ctypes. See also issue #1762561. -- nosy: +mark.dickinson ___ Python tracker

[issue7150] datetime operations spanning MINYEAR give bad results

2009-10-25 Thread Anand B Pillai
Anand B Pillai added the comment: The problem seems to be in the "normalize_date" function in datetimemodule.c. It is checking for a valid year range, but not checking for a valid month or day range. I have a patch which fixes this problem. It checks for month range (1<=m<=12) and day range(1<

[issue7201] double Endian problem and more on arm

2009-10-25 Thread Mancausoft
Mancausoft added the comment: Mark Dickinson scrisse: > The 4th failure (test_endian_double) probably has nothing to do with > ctypes. See also issue #1762561. I try to use the patch arm-float2.diff, but test result is the same:

[issue6729] Add support for ssize_t

2009-10-25 Thread Galen Clark Haynes
Changes by Galen Clark Haynes : -- nosy: +robotify ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1087418] long int bitwise ops speedup (patch included)

2009-10-25 Thread Mark Dickinson
Mark Dickinson added the comment: I think Greg's patch looks fine, modulo updating it to apply cleanly to py3k. I couldn't resist tinkering a bit, though: factoring out the complement operations (for a, b and z) into a separate function gives (IMO) cleaner and more direct code that's free o

[issue2054] add ftp-tls support to ftplib - RFC 4217

2009-10-25 Thread Domen
Domen added the comment: What about AUTH SSL? Or is it too-deprecated? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue7202] "python setup.py MYCOMMAND --verbose" does not yield an unrecognized option error but also does not set the verbosity

2009-10-25 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx : This command: python setup.py --verbose darcsver works as expected -- the presence of '--verbose' increases the verbosity of logging. This command: python setup.py darcsver --verbose does not increase the verbosity, nor does it tell me that the "--ve

[issue1235] CGIHTTPRequestHandler.run_cgi() does not run on Windows if sys.executable contains blanks

2009-10-25 Thread Derk Drukker
Derk Drukker added the comment: More elegant than using quotes in the cmdline string is, IMO, passing a sequence to subprocess.Popen instead. I've put a new patch up for review: http://codereview.appspot.com/141050 I've also unified the Unix and Windows portions in run_cgi. Both now use subpr

[issue7203] fixer for map(None, ...) needs to consider multi-argument case

2009-10-25 Thread Georg Brandl
New submission from Georg Brandl : Currently, ``map(None, a)`` is recognized and converted to ``list(a)`` which is correct but quite useless. ``map(None, a, b, ...)`` is not treated specially. An approximate translation would be ``map(lambda *xs: xs, a, b, ...)`` which however doesn't take into

[issue7203] fixer for map(None, ...) needs to consider multi-argument case

2009-10-25 Thread Florian Mayer
Changes by Florian Mayer : -- nosy: +segfaulthunter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue7203] fixer for map(None, ...) needs to consider multi-argument case

2009-10-25 Thread Florian Mayer
Florian Mayer added the comment: A full fix would be list(map(fun, *zip(*itertools.zip_longest(a, b, ... and if fun is None list(map(lambda *xs: xs, *zip(*itertools.zip_longest(a, b, ... -- ___ Python tracker

[issue1087418] long int bitwise ops speedup (patch included)

2009-10-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: Mark, if you want to get reviews, it might be useful to upload the patch to Rietveld (as the diff is difficult to read). However, I would trust you to get it right, anyway, so feel free to go ahead and apply it. --

[issue7204] Strange shebang line in test_pep263

2009-10-25 Thread Thomas Klausner
New submission from Thomas Klausner : In Python-2.6.3, test_pep263.py starts with the following line: #! -*- coding: koi8-r -*- When this is executed by a shell, it looks for the interpreter "-*-". I guess the '!' is superfluous there, or it should be something like #! /usr/bin/env python # -*- c

[issue7204] Strange shebang line in test_pep263

2009-10-25 Thread Georg Brandl
Georg Brandl added the comment: This has already been fixed in r69619. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker ___ __

[issue7201] double Endian problem and more on arm

2009-10-25 Thread Mark Dickinson
Mark Dickinson added the comment: Hmm. Okay, I take it back then. :) Sorry for the noise. -- ___ Python tracker ___ ___ Python-bugs-

[issue1087418] long int bitwise ops speedup (patch included)

2009-10-25 Thread Mark Dickinson
Mark Dickinson added the comment: Applied in r75697 (trunk) and r75698 (py3k). -- resolution: -> accepted status: open -> closed ___ Python tracker ___ __

[issue7205] bz2file deadlock

2009-10-25 Thread Robert Collins
New submission from Robert Collins : There is a systemic bug in BZ2File where the GIL is released to perform compression work, and any other thread calling into BZ2File will deadlock. We noticed in the write method, but inspection of the code makes it clear that its systemic. The problem is pret

[issue7205] bz2file deadlock

2009-10-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks, nice catch. -- nosy: +pitrou priority: -> high stage: -> needs patch versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue7205] bz2file deadlock

2009-10-25 Thread Robert Collins
Robert Collins added the comment: On Sun, 2009-10-25 at 22:00 +, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > Thanks, nice catch. Yeah :). > versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 Python 2.5 is also affected - its what we're running on the server that

[issue7205] bz2file deadlock

2009-10-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Python 2.5 is also affected - its what we're running on the server that > broke :) Yes, but it doesn't receive any bug fixes anymore -- only security fixes. -- ___ Python tracker

[issue7205] bz2file deadlock

2009-10-25 Thread Robert Collins
Robert Collins added the comment: On Sun, 2009-10-25 at 22:27 +, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > > Python 2.5 is also affected - its what we're running on the server that > > broke :) > > Yes, but it doesn't receive any bug fixes anymore -- only security > f

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
New submission from Rich Healey : 64 bit pythons fail on 64 bit Windows 7. The crash happens with python 2.6 and 3.1 in 64 bit mode. 3.1 was a clean install after the issue presented itself. I'm not 100% sure how best to help with the problem, I've attached the dump from windows debugger, pleas

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: What is "LuaPriv" in that log? Something you installed? (sorry, not a Windows specialist) -- nosy: +pitrou ___ Python tracker ___ __

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Build, Windows priority: -> critical ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue7165] xmlrpc.server assumes sys.stdout will have a buffer attribute

2009-10-25 Thread R. David Murray
R. David Murray added the comment: I think Antoine's suggestion is reasonable, and that we should apply the patch to stop the buildbots from failing, but leave this issue open until someone with more xmlrpc knowledge can respond to Nick and Antoine's questions. -- nosy: +r.david.murray

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

2009-10-25 Thread Jason R. Coombs
Jason R. Coombs added the comment: This new version of the patch provides a workaround for the issue1686475 regression. It simply falls back to the traditional (symlink-naive) stat behavior when a handle cannot be obtained for the specified filename. My intention is that we can commit this patc

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
Rich Healey added the comment: I'm not 100% sure. I have a x64 machine running Windows 2008. I will check if it's in the log now. I will also check if it's in the debug trace for x86 python (which works). RESULTS: I get the LuaPriv initialised line on x86 python on my win7 machine (which wor

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
Rich Healey added the comment: I think that dump may be incorrect because it does not have all the symbols. I will checkout source for latest 3.x trunk and attempt to build 64 bit binaries. -- ___ Python tracker __

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: What kind of action has triggered that crash? -- nosy: +loewis ___ Python tracker ___ ___ Python-bu

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file14009/windows symlink draft 1.patch ___ Python tracker ___ ___ Python-

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file14039/windows symlink draft 2.patch ___ Python tracker ___ ___ Python-

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file14050/windows symlink draft 3.patch ___ Python tracker ___ ___ Python-

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file14130/windows symlink draft 4.patch ___ Python tracker ___ ___ Python-

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file14195/windows symlink draft 5.patch ___ Python tracker ___ ___ Python-

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file14206/windows symlink draft 6.patch ___ Python tracker ___ ___ Python-

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file14837/python-core_rev4274.patch ___ Python tracker ___ ___ Python-bugs

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file14838/python-core_rev4275.patch ___ Python tracker ___ ___ Python-bugs

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file14840/windows symlink draft 7.patch ___ Python tracker ___ ___ Python-

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file14877/windows symlink draft 8.patch ___ Python tracker ___ ___ Python-

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file14878/windows symlink draft 9.patch ___ Python tracker ___ ___ Python-

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

2009-10-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file15100/windows symlink draft 10.patch ___ Python tracker ___ ___ Python

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
Rich Healey added the comment: No action- the interpreter fails to start. Or do you mean what changed to make it break? I'm not sure. It used to work but I don't believe I changed anything on my system. -- ___ Python tracker