[issue5114] 2.5.4.3 and 2.6.2 / test_threading hangs

2009-09-23 Thread Ian Donaldson
Ian Donaldson added the comment: FWIW it hangs on Solaris 9 also (sparc + x86) -- nosy: +iandekit ___ Python tracker ___ ___ Python-bu

[issue4833] Explicit directories for zipfiles

2009-09-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: it looks like this is fixed in 2.6.2. I'm attaching a zipfile which cannot be extracted in 2.6.1 Running python -c 'import zipfile; zipfile.ZipFile("test.zip").extractall()' in 2.6.2 however works. but you should not do that anyway because of issue 6972 --

[issue6964] import new fails

2009-09-23 Thread Georg Brandl
Georg Brandl added the comment: Bottom line: move over to the types module *before* running 2to3. -- nosy: +georg.brandl ___ Python tracker ___ __

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread SilentGhost
New submission from SilentGhost : the following >>> getopt.getopt('--testing=dr'.split(), '', ['testing'])[0] would raise 'option --testing must not have an argument'. Documentation reads, however: "Long options which require an argument should be followed by an equal sign ('=')." Which is equi

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-09-23 Thread Kees Bos
New submission from Kees Bos : compiler.parse("d[1] = 1") should have a single tuple as subs >>> compiler.parse("d[1] = 1") Module(None, Stmt([Assign([Subscript(Name('d'), 'OP_ASSIGN', [Const(1)])], Const(1))])) >>> compiler.parse("d[1,] = 2") Module(None, Stmt([Assign([Subscript(Name('d'), 'OP

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread Georg Brandl
Georg Brandl added the comment: Sorry, I don't understand what the issue is. Long options with arguments use 'testing=', those without use 'testing'. Could you please elaborate? -- ___ Python tracker

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-09-23 Thread Kees Bos
Kees Bos added the comment: I just see that my patch is not correct, since the following is supported by the language: O[1:2:3, 4:5:6] Where O[1:2:3, 4:5:6] == O[slice(1,2,3), slice(4,5,6)] == O.__getitem__((slice(1,2,3), slice(4,5,6))) -- ___ Pyth

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-09-23 Thread Kees Bos
Kees Bos added the comment: patch which honors O[1:2:3, 4:5:6] -- Added file: http://bugs.python.org/file14958/compiler.transformer.patch ___ Python tracker ___ _

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-09-23 Thread Kees Bos
Changes by Kees Bos : Removed file: http://bugs.python.org/file14957/compiler.transformer.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread SilentGhost
SilentGhost added the comment: issue is in the wording: "Long options which require an argument should be followed by an equal sign ('=')." What if the argument is optional? Then by definition it is not required, but as my example shows omitting the equal sign, would produce the error. I'd sug

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread Doug Hellmann
Doug Hellmann added the comment: Is there a way in getopt to define an option that takes an optional argument? I thought options either required args or did not accept them at all. -- nosy: +doughellmann ___ Python tracker

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread SilentGhost
SilentGhost added the comment: Yes, that's true Doug. May be it should be explicitly stated? -- ___ Python tracker ___ ___ Python-bugs

[issue1472251] pdb 'run' crashes when the it's first argument is non-string

2009-09-23 Thread Kuba Kończyk
Kuba Kończyk added the comment: Updated patch with tests and documentation.It fixes the issue by leaving argument checking to exec and eval functions.The result is a more readable error messages when invoking run/runeval with incorrect arguments (see discussion above) and also ability to run pdb

[issue1472251] pdb 'run' crashes when the it's first argument is non-string

2009-09-23 Thread Kuba Kończyk
Changes by Kuba Kończyk : Removed file: http://bugs.python.org/file1975/bdb-run.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1472251] pdb 'run' crashes when the it's first argument is non-string

2009-09-23 Thread Kuba Kończyk
Kuba Kończyk added the comment: BTW, patch is based on trunk. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue6979] Passing output arguments to an ActiveX application

2009-09-23 Thread Benjamin
New submission from Benjamin : Hi. I hope I'm in the good thing to expose my problem... I try to make a script in Python working under ControlDesk, a dSpace simulator. In this script I call an ActiveX application given by an external software, System Monitor, to get some information from my EC

[issue6979] Passing output arguments to an ActiveX application

2009-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: If you need general help, the bug tracker is not the right place where to ask. If you think you have found a bug please follow these instructions and explain clearly what the problem is: http://www.python.org/dev/workflow/. -- nosy: +ezio.melotti resoluti

[issue6979] Passing output arguments to an ActiveX application

2009-09-23 Thread Mark Dickinson
Mark Dickinson added the comment: You might try asking on the ctypes-users mailing list: https://lists.sourceforge.net/lists/listinfo/ctypes-users I'll close this for now; if, after discussing this on the ctypes-users list, you're reasonably sure that you've found a bug in Python itself (wh

[issue5885] uuid.uuid1() is too slow

2009-09-23 Thread Thijs Triemstra
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue3212] ssl module - should test for a wrong cert

2009-09-23 Thread Thijs Triemstra
Thijs Triemstra added the comment: Guess it can be closed then. -- nosy: +thijs ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue6005] Bug in socket example

2009-09-23 Thread Thijs Triemstra
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue4434] Embedding into a shared library fails

2009-09-23 Thread Thijs Triemstra
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1143] Update to latest ElementTree in Python 2.7

2009-09-23 Thread Thijs Triemstra
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6980] fix ctypes build failure on armel-linux-gnueabi with -mfloat-abi=softfp

2009-09-23 Thread Matthias Klose
New submission from Matthias Klose : http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41443 should be imported. I'm checking this in on the 2.6 branch for the upcoming 2.6.3 release. -- assignee: theller components: ctypes messages: 93047 nosy: doko, theller severity: normal status: open tit

[issue6981] locale.getdefaultlocale() envvars default code and documentation mismatch

2009-09-23 Thread Ville Skyttä
New submission from Ville Skyttä : The default list of locale.getdefaultlocale() is documented to be the one of GNU gettext; in the source docs in Python 2.7 trunk: "envvars defaults to the search path used in GNU gettext; it must always contain the variable name 'LANG'." ...and at htt

[issue6982] make clean does not remove pickle files

2009-09-23 Thread egreen
New submission from egreen : make clean and make distclean don't remove the grammar pickles generated by load_grammar in Lib/lib2to3/pgen2/driver.py (Lib/lib2to3/Grammar3.2.0.alpha.0.pickle, Lib/lib2to3/PatternGrammar3.2.0.alpha.0.pickle). Proposed patch attached. It removes all *.pickle files,

[issue6983] Add specific get_platform() for freebsd

2009-09-23 Thread Stef Walter
New submission from Stef Walter : In Lib/distutils/util.py in the get_platform() function there's OS specific code to create a string which describes the current platform. This usually includes the OS + version + arch. FreeBSD specific code is missing from this function. Currently get_platfo

[issue6982] make clean does not remove pickle files

2009-09-23 Thread R. David Murray
Changes by R. David Murray : -- nosy: +benjamin.peterson priority: -> low stage: -> patch review type: -> behavior ___ Python tracker ___ __

[issue6272] Upgrading xml.etree to ElementTree 1.3

2009-09-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is duplicate of Issue1143 -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ _

[issue6984] typo in Unicode HOWTO

2009-09-23 Thread Yinon Ehrlich
New submission from Yinon Ehrlich : at http://docs.python.org/dev/3.0/howto/unicode.html: Uniode should be Unicode -- assignee: georg.brandl components: Documentation messages: 93052 nosy: Yinon, georg.brandl severity: normal status: open title: typo in Unicode HOWTO versions: Python 3.1

[issue6984] typo in Unicode HOWTO

2009-09-23 Thread Yinon Ehrlich
Yinon Ehrlich added the comment: oops, appear in http://docs.python.org/3.1/howto/unicode.html too... -- ___ Python tracker ___ ___ Py

[issue6984] typo in Unicode HOWTO

2009-09-23 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r75043. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug