[issue5415] uuid module generates incorrect values for uuid3 (and possibly uuid5)

2009-07-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I also found several threads saying that the RFC is wrong; the current uuid.py module returns the correct result. -- nosy: +amaury.forgeotdarc resolution: - works for me status: open - closed

[issue1303673] traceback on trying to load a hotshot stats file

2009-07-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: It was indeed fixed with 2.4.2, but this does not correct the invalid statistics generated with 2.4.1. Running hotshotmain.py with a newer version should generate a correct file. -- dependencies: -hotshot.stats.load fails with

[issue6394] getppid support in os module on Windows

2009-07-01 Thread Jon Anglin
Jon Anglin jang...@fortresgrand.com added the comment: I didn't raise an exception because the Unix version never fails (or raises) so I thought to maintain compatibility I would always return a value. Do you advise that I should change it? As for the tabs... This entire process is new to

[issue6369] binhex buggy in py3k

2009-07-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Fixed in r73747 and r73748. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6369 ___

[issue6394] getppid support in os module on Windows

2009-07-01 Thread Jon Anglin
New submission from Jon Anglin jang...@fortresgrand.com: Implements getppid in the os module on Windows systems. The getppid function was only available on Unix like systems, this diff patch brings this functionality to Windows systems. This function will return the parent process Id, upon

[issue6326] Add a swap method to list

2009-07-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Even if C++ decides it's an useful feature, it's not a sufficient reason to add it to Python! Based on previous discussion and the converging advice of others, this bug can IMO be closed. -- resolution: - rejected status: open - closed

[issue6395] Add Pickle Support to the codecs Module

2009-07-01 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- type: crash - feature request versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6395

[issue6396] No conversion specifier in the string, no __getitem__ method in the right hand value

2009-07-01 Thread Mahmoud
New submission from Mahmoud sagh...@med.mui.ac.ir: When using a class instance as a mapping for the right hand value in a sting format expression without conversion specifier, it seems logical that the class has a __getitem__ method. Therefore following format expression should raise an

[issue6395] Add Pickle Support to the codecs Module

2009-07-01 Thread ThomasH
New submission from ThomasH thomas.bugzi...@gmx.net: I recently ran into an infinite recursion trying to unpickle a codecs.StreamWriter object (I presume the issue would be the same for a StreamReader). Here is the end of the stack trace:   File /sw/lib/python2.5/codecs.py, line 330, in

[issue6331] Add unicode script info to the unicode database

2009-07-01 Thread Walter Dörwald
Walter Dörwald wal...@livinglogic.de added the comment: Here is a new version that includes a new function scriptl() that returns the script name in lowercase. -- Added file: http://bugs.python.org/file14418/unicode-script-3.diff ___ Python tracker

[issue1284496] traceback module can return undecodable byte strings

2009-07-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Python 3.0 switched to unicode precisely for this kind of issues. There, you get 'Traceback (most recent call last):\n File stdin, line 3, in module\nValueError: Invalid value b\'\\xff\\xfeh\\x00e\\x00l\\x00l\\x00o\\x00\'\n' For python

[issue6353] L integer suffix in Python 3.1 tutorial

2009-07-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: This is already fixed in r71994. Thanks anyway. -- nosy: +ezio.melotti resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue6394] getppid support in os module on Windows

2009-07-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I'm not qualified to comment on Windows-specific code, but two things: - you should raise an appropriate exception on failure, not return -1 - the file is intended with tabs, not spaces -- nosy: +pitrou

[issue6393] OS X: python3 from python-3.1.dmg crashes at startup

2009-07-01 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: There was a report[1] on c.l.p. that python3 from the OS X Python 3.1 dmg download at www.python.org/download/releases/3.1/ crashes on startup. I can reproduce this with the python.org download (using the OS X Terminal) only with a bad

[issue4965] Can doc index of html version be separately scrollable?

2009-07-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: georg.brandl - ezio.melotti priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4965 ___

[issue5388] Green-box doc glitch: winhelp version only

2009-07-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Added file: http://bugs.python.org/file14414/py31doc-vista.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5388 ___

[issue1314572] Trailing slash redirection for SimpleHTTPServer

2009-07-01 Thread Josiah Carlson
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment: The other patch is more correct. Closing. -- resolution: - duplicate status: open - closed superseder: - SimpleHTTPServer directory-indexing bug fix ___ Python tracker

[issue3154] Quick search box renders too wide if font size is large

2009-07-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3154 ___ ___ Python-bugs-list

[issue3143] development docs waste a lot of horizontal space on left nav bar

2009-07-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Using position: fixed was requested in #4965 too and I posted a proof of concept. I'll try to do a proper patch in the next days. It might also be possible to make the sidebar collapsible using Javascript (something similar to the sidebar

[issue6267] Cumulative patcc:h to http and xmlrpc

2009-07-01 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: committed to py3k in revision 73742 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6267 ___

[issue5388] Green-box doc glitch: winhelp version only

2009-07-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Added file: http://bugs.python.org/file14415/py31doc-vista.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5388 ___

[issue3143] development docs waste a lot of horizontal space on left nav bar

2009-07-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3143 ___ ___ Python-bugs-list

[issue4711] Wide literals in the table of contents overflow in documentation

2009-07-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I can see 5 possible solutions here: 1) use overflow: auto - an horizontal scrollbar will appear at the bottom of the sidebar; 2) use overflow: hidden - no scrollbar and the content that doesn't fit in the sidebar won't be visible; 3) allow

[issue4965] Can doc index of html version be separately scrollable?

2009-07-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: See also #3143. I'll try to do a proper patch to fix this issue. -- assignee: georg.brandl - ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org

[issue6397] Implementing Solaris poll in the select module

2009-07-01 Thread Jesús Cea Avión
New submission from Jesús Cea Avión j...@jcea.es: In Python 2.6 we added support for Linux epoll and *BSD kqueue in the select module. I think we should add support for Solaris poll interface too. What do you think?. I volunteer to do the work, if you agree this is a feature we want to have. I

[issue4965] Can doc index of html version be separately scrollable?

2009-07-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: overflow: auto should fix #4711 too (adding an horizontal scroll bar at the bottom of the sidebar). -- assignee: ezio.melotti - georg.brandl stage: needs patch - superseder: - Wide literals in the table of contents overflow in

[issue4711] Wide literals in the table of contents overflow in documentation

2009-07-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: georg.brandl - ezio.melotti priority: - low stage: - needs patch versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue4278] optparse quirks

2009-07-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: - For the -h option, you may add add_help_option=False when creating the Optparse object - concerning the error message: every parser that tries to give meaningful error messages has to guess what the user really meant. The exact text

[issue1262856] fcntl.ioctl have a bit problem.

2009-07-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: This was fixed in 2.5 with issue1231069. -- nosy: +amaury.forgeotdarc resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org

[issue6026] test_(zipfile|zipimport|gzip|distutils) fail if zlib is not available

2009-07-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I tried also with the final release of Python 3.1, but when zlib is missing only test_zlib is skipped, test_zipfile, test_zipimport, test_gzip and test_distutils fail. These tests should check if zlib is available too. --

[issue1293741] doctest runner cannot handle non-ascii characters

2009-07-01 Thread Christoph Burgmer
Christoph Burgmer cburg...@ira.uka.de added the comment: My last patch only changed the encoding used in DocTestRunner.run(). This new patch will apply the same to DocTestCase.runTest(). -- Added file: http://bugs.python.org/file14422/doctest.unicode.patch

[issue3955] maybe doctest doesn't understand unicode_literals?

2009-07-01 Thread Christoph Burgmer
Christoph Burgmer cburg...@ira.uka.de added the comment: JFTR: To yield the results of my last comment, you need to apply the patch posted in http://bugs.python.org/issue1293741 -- ___ Python tracker rep...@bugs.python.org

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-07-01 Thread Erik Antelman
Erik Antelman eantel...@acm.org added the comment: The really annoying this about handle inheritance is that even if a subprocess is never referencing or using logging there can be an open file handle conflict due to the default inheratence. Another tack from modifying Popen, I looked at

[issue6394] getppid support in os module on Windows

2009-07-01 Thread Jon Anglin
Jon Anglin jang...@fortresgrand.com added the comment: Implements getppid in the os module on Windows systems. The getppid function was only available on Unix like systems, this diff patch brings this functionality to Windows systems. This function will return the parent process Id, upon

[issue6398] README typo

2009-07-01 Thread Nathan Michaels
New submission from Nathan Michaels nmicha...@gmail.com: There's a typo in the README in the 2.6 source root. versio on line 942 should be version. -- assignee: georg.brandl components: Documentation files: fix.diff keywords: patch messages: 89998 nosy: georg.brandl, nmichaels severity:

[issue900092] hotshot.stats.load fails with AssertionError

2009-07-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I added some prints in the hotshot.stats.load function, this lead to interesting things: - first, the program seems to spawn subprocesses which trace themselves in the same file. - however, there is real issue when fork() is called on

[issue5388] Green-box doc glitch: winhelp version only

2009-07-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file14415/py31doc-vista.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5388 ___

[issue5388] Green-box doc glitch: winhelp version only

2009-07-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Added file: http://bugs.python.org/file14417/py31doc-winxpsp2.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5388 ___

[issue5383] Allow intermixing of keyword arguments and vargarg arguments

2009-07-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Also, the new syntax breaks the symmetry between the function definition and the function call. In any case, the issue tracker is the wrong place for such discussions. This should be done on the python-ideas mailing list. --

[issue5388] Green-box doc glitch: winhelp version only

2009-07-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I uploaded a few more screenshots. I was able to reproduce the issue on Vista with HTML Help Version 6.0 and on Windows 2003 Server whit HTML Help Control Version 5.2.3790.3959. I also tried on another Windows XP SP2 machine with HTML Help

[issue1314572] Trailing slash redirection for SimpleHTTPServer

2009-07-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The same problem was fixed with issue827559. But the patch here is different: - it returns a code 302 instead of 301 - it uses the header Content-Location instead of Location to set the new path with the slash - it sets Content-type:

[issue3810] os.chdir() et al: is the path str or bytes?

2009-07-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: georg.brandl - ezio.melotti nosy: +ezio.melotti priority: - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3810 ___

[issue6392] IDLE 3.1 will not open

2009-07-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: This is a duplicate of issue5528. The fix is to remove the TCL_LIBRARY environment variable. -- nosy: +amaury.forgeotdarc resolution: - duplicate status: open - closed superseder: - Unable to launch IDLE on Windows

[issue5555] optparse: clarify option concatenation in docs

2009-07-01 Thread Aaron Sherman
Aaron Sherman a...@ajs.com added the comment: I'm closing this out, as the previous poster was correct: the module does the right thing, and I misread the documentation. Thanks! -- status: open - closed ___ Python tracker rep...@bugs.python.org

[issue6026] test_(zipfile|zipimport|gzip|distutils) fail if zlib is not available

2009-07-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti priority: - normal stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6026 ___

[issue4758] Python 3.0 internet documentation needs work

2009-07-01 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: David, I think that a list of notes posted here is ok, can you still provide them? -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4758

[issue6397] Implementing Solaris poll in the select module

2009-07-01 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@divmod.com added the comment: Solaris 10 introduced The Event Completion Framework. I am not particularly familiar with Solaris, so I couldn't say whether it would be better to target this or the older /dev/poll. Some documentation suggests that The Event Completion