[issue7201] double Endian problem and more on arm

2009-10-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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 rep...@bugs.python.org

[issue7150] datetime operations spanning MINYEAR give bad results

2009-10-25 Thread Anand B Pillai
Anand B Pillai abpil...@gmail.com 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)

[issue7201] double Endian problem and more on arm

2009-10-25 Thread Mancausoft
Mancausoft b...@mancausoft.org added the comment: Mark Dickinson rep...@bugs.python.org 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 gchay...@gmail.com: -- nosy: +robotify ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6729 ___ ___ Python-bugs-list

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

2009-10-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

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

2009-10-25 Thread Domen
Domen ielect...@gmail.com added the comment: What about AUTH SSL? Or is it too-deprecated? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2054 ___

[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 zo...@zooko.com: 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

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

2009-10-25 Thread Derk Drukker
Derk Drukker derk.druk...@gmail.com 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

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

2009-10-25 Thread Georg Brandl
New submission from Georg Brandl ge...@python.org: 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

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

2009-10-25 Thread Florian Mayer
Changes by Florian Mayer florma...@aim.com: -- nosy: +segfaulthunter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7203 ___ ___ Python-bugs-list

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

2009-10-25 Thread Florian Mayer
Florian Mayer florma...@aim.com 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 mar...@v.loewis.de 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 t...@giga.or.at: 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

[issue7204] Strange shebang line in test_pep263

2009-10-25 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This has already been fixed in r69619. -- nosy: +georg.brandl resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7204

[issue7201] double Endian problem and more on arm

2009-10-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Hmm. Okay, I take it back then. :) Sorry for the noise. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7201 ___

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

2009-10-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Applied in r75697 (trunk) and r75698 (py3k). -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1087418

[issue7205] bz2file deadlock

2009-10-25 Thread Robert Collins
New submission from Robert Collins robe...@robertcollins.net: 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

[issue7205] bz2file deadlock

2009-10-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

[issue7205] bz2file deadlock

2009-10-25 Thread Robert Collins
Robert Collins robe...@robertcollins.net added the comment: On Sun, 2009-10-25 at 22:00 +, Antoine Pitrou wrote: Antoine Pitrou pit...@free.fr 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

[issue7205] bz2file deadlock

2009-10-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 robe...@robertcollins.net added the comment: On Sun, 2009-10-25 at 22:27 +, Antoine Pitrou wrote: Antoine Pitrou pit...@free.fr 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

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
New submission from Rich Healey ri...@psych0tik.net: 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

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: What is LuaPriv in that log? Something you installed? (sorry, not a Windows specialist) -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7206

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +Build, Windows priority: - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7206 ___

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

2009-10-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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. --

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

2009-10-25 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com 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

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
Rich Healey ri...@psych0tik.net 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

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
Rich Healey ri...@psych0tik.net 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 mar...@v.loewis.de added the comment: What kind of action has triggered that crash? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7206 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file14009/windows symlink draft 1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file14039/windows symlink draft 2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file14050/windows symlink draft 3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file14130/windows symlink draft 4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file14195/windows symlink draft 5.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file14206/windows symlink draft 6.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file14837/python-core_rev4274.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file14838/python-core_rev4275.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file14840/windows symlink draft 7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file14877/windows symlink draft 8.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file14878/windows symlink draft 9.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[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 mar...@v.loewis.de: Removed file: http://bugs.python.org/file15100/windows symlink draft 10.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
Rich Healey ri...@psych0tik.net 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