[issue5114] 2.5.4.3 and 2.6.2 / test_threading hangs

2009-09-23 Thread Ian Donaldson
Ian Donaldson i...@ekit-inc.com added the comment: FWIW it hangs on Solaris 9 also (sparc + x86) -- nosy: +iandekit ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5114 ___

[issue4833] Explicit directories for zipfiles

2009-09-23 Thread Ralf Schmitt
Ralf Schmitt sch...@gmail.com 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

[issue6964] import new fails

2009-09-23 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Bottom line: move over to the types module *before* running 2to3. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6964

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread SilentGhost
New submission from SilentGhost michael.mischurow+...@gmail.com: 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

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

2009-09-23 Thread Kees Bos
New submission from Kees Bos k@zx.nl: 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'),

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread Georg Brandl
Georg Brandl ge...@python.org 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 rep...@bugs.python.org

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

2009-09-23 Thread Kees Bos
Kees Bos k@zx.nl 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))) --

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

2009-09-23 Thread Kees Bos
Kees Bos k@zx.nl 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 rep...@bugs.python.org http://bugs.python.org/issue6978

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

2009-09-23 Thread Kees Bos
Changes by Kees Bos k@zx.nl: Removed file: http://bugs.python.org/file14957/compiler.transformer.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6978 ___

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com 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,

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread Doug Hellmann
Doug Hellmann doug.hellm...@gmail.com 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 michael.mischurow+...@gmail.com added the comment: Yes, that's true Doug. May be it should be explicitly stated? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6977 ___

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

2009-09-23 Thread Kuba Kończyk
Kuba Kończyk jakam...@users.sourceforge.net 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

[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 jakam...@users.sourceforge.net: Removed file: http://bugs.python.org/file1975/bdb-run.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1472251 ___

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

2009-09-23 Thread Kuba Kończyk
Kuba Kończyk jakam...@users.sourceforge.net added the comment: BTW, patch is based on trunk. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1472251 ___

[issue6979] Passing output arguments to an ActiveX application

2009-09-23 Thread Benjamin
New submission from Benjamin benjamin.ca...@laposte.net: 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

[issue6979] Passing output arguments to an ActiveX application

2009-09-23 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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:

[issue6979] Passing output arguments to an ActiveX application

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

[issue5885] uuid.uuid1() is too slow

2009-09-23 Thread Thijs Triemstra
Changes by Thijs Triemstra li...@collab.nl: -- nosy: +thijs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5885 ___ ___ Python-bugs-list mailing

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

2009-09-23 Thread Thijs Triemstra
Thijs Triemstra li...@collab.nl added the comment: Guess it can be closed then. -- nosy: +thijs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3212 ___

[issue6005] Bug in socket example

2009-09-23 Thread Thijs Triemstra
Changes by Thijs Triemstra li...@collab.nl: -- nosy: +thijs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6005 ___ ___ Python-bugs-list mailing

[issue4434] Embedding into a shared library fails

2009-09-23 Thread Thijs Triemstra
Changes by Thijs Triemstra li...@collab.nl: -- nosy: +thijs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4434 ___ ___ Python-bugs-list mailing

[issue1143] Update to latest ElementTree in Python 2.7

2009-09-23 Thread Thijs Triemstra
Changes by Thijs Triemstra li...@collab.nl: -- nosy: +thijs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1143 ___ ___ Python-bugs-list mailing

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

2009-09-23 Thread Matthias Klose
New submission from Matthias Klose d...@debian.org: 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

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

2009-09-23 Thread Ville Skyttä
New submission from Ville Skyttä ville.sky...@iki.fi: 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

[issue6982] make clean does not remove pickle files

2009-09-23 Thread egreen
New submission from egreen egr...@operamail.com: 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

[issue6983] Add specific get_platform() for freebsd

2009-09-23 Thread Stef Walter
New submission from Stef Walter s...@memberwebs.com: 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.

[issue6982] make clean does not remove pickle files

2009-09-23 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +benjamin.peterson priority: - low stage: - patch review type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6982 ___

[issue6272] Upgrading xml.etree to ElementTree 1.3

2009-09-23 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: This is duplicate of Issue1143 -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6272 ___

[issue6984] typo in Unicode HOWTO

2009-09-23 Thread Yinon Ehrlich
New submission from Yinon Ehrlich yino...@users.sourceforge.net: 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

[issue6984] typo in Unicode HOWTO

2009-09-23 Thread Yinon Ehrlich
Yinon Ehrlich yino...@users.sourceforge.net added the comment: oops, appear in http://docs.python.org/3.1/howto/unicode.html too... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6984 ___

[issue6984] typo in Unicode HOWTO

2009-09-23 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r75043. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6984 ___