[issue7076] Documentation add note about SystemRandom

2009-11-03 Thread chuck
chuck added the comment: I think many people who are looking for a random number generator end up on this page and need to be informed if there are alternatives so they can make up their own mind. If you want to discourage people to use it, that's fine and we can do so, but I think it's wrong

[issue7256] parse_qs and parse_qsl in urlparse are not documented as New in version 2.6

2009-11-03 Thread Jeroen Habraken
New submission from Jeroen Habraken : The parse_qs and parse_qsl functions in the urlparse module seem to be new since version 2.6, though this is not documented, please add "New in version 2.6.". -- assignee: georg.brandl components: Documentation messages: 94860 nosy: VeXocide, georg

[issue3244] multipart/form-data encoding

2009-11-03 Thread Thomas Guettler
Changes by Thomas Guettler : -- nosy: +guettli ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue6462] bsddb3 intermittent test failures

2009-11-03 Thread R. David Murray
R. David Murray added the comment: Unless someone objects, I'm going to disable the replication timeout check unconditionally, since it is the worst culprit for buildbot stability on 2.x. Note that issue 3892 indicates it happens consistently on windows, and there was already a partial disable

[issue7255] "Default" word boundaries for Unicode data?

2009-11-03 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti priority: -> normal versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list

[issue7117] Backport py3k float repr to trunk

2009-11-03 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch for correctly-rounded round in trunk. This patch doesn't change the rounding behaviour between 2.6 and 2.7: it's still doing round-half-away-from-zero instead of round-half-even. It was necessary to detect and treat halfway cases specially t

[issue7257] Improve documentation of list.sort and sorted()

2009-11-03 Thread Ole Laursen
New submission from Ole Laursen : On my Python 3.1, help() for sorted returns sort(...) L.sort(key=None, reverse=False) -- stable sort *IN PLACE* sorted(...) sorted(iterable, key=None, reverse=False) --> new sorted list Kindly suggest this be expanded. Here's some text: sort(...) Sor

[issue7257] Improve documentation of list.sort and sorted()

2009-11-03 Thread Georg Brandl
Georg Brandl added the comment: Raymond, do you have an opinion on this? -- assignee: georg.brandl -> rhettinger nosy: +rhettinger ___ Python tracker ___

[issue4969] mimetypes on Windows should read MIME database from registry (w/patch)

2009-11-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: A couple of points: - if the method is Windows-specific, I don't think it shouldn't bear a name as generic as "read_registry()". There are "registries" on other systems. - the method should probably raise early on non-Windows systems (raise NotImplementedError?)

[issue7257] Improve documentation of list.sort and sorted()

2009-11-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm inclined to leave the on-line help docstring as-is (pretty much everywhere, we adopt a style of terse reminders instead of lengthy prose with examples). Instead, was thinking of updating the sorting how-to and providing a link to it from the main docs.

[issue7256] parse_qs and parse_qsl in urlparse are not documented as New in version 2.6

2009-11-03 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r76095 and will backport. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue7250] wsgiref.handlers.CGIHandler caches os.environ, leaking info between requests

2009-11-03 Thread Phillip J. Eby
Phillip J. Eby added the comment: This is not an issue with CGI, but an issue with using an inappropriate WSGI handler for a long-running process environment that only emulates CGI. That is, in a true CGI environment, there can't be *multiple* requests made to CGIHandler, and so it can't leak.

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2009-11-03 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: brett.cannon -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue7257] Improve documentation of list.sort and sorted()

2009-11-03 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue7258] test_multiprocessing leaves a temporary directory

2009-11-03 Thread Antoine Pitrou
New submission from Antoine Pitrou : On my buildbot, test_multiprocessing, although it succeeds, leaves an empty temporary directory behind it (something like "/tmp/pymp-UHJdgH/"). -- assignee: jnoller components: Tests messages: 94874 nosy: jnoller, pitrou, r.david.murray priority: low

[issue7247] test_fcntl_64_bit from test_fcntl.py fails in Python 2.6.4

2009-11-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Library (Lib) priority: -> normal stage: -> needs patch versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue7247] test_fcntl_64_bit from test_fcntl.py fails in Python 2.6.4

2009-11-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: That test was added as part of #1309352, to check that fcntl accepted 64-bit arguments on 64-bit systems. Previously it would raise an OverflowError. Perhaps we should silent the IOError, since it only shows that the OS refuses that particular case, not that the

[issue4969] mimetypes on Windows should read MIME database from registry (w/patch)

2009-11-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +ocean-city ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue7217] IDLE Subprocess Startup Error

2009-11-03 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Do you have some Queue.py in your PYTHONPATH, before the standard one? What do you get when starting python from cmd: import Queue print Queue (It should be ) -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue7257] Improve documentation of list.sort and sorted()

2009-11-03 Thread Ole Laursen
Ole Laursen added the comment: If you think it's too long, here's a shorter version: Sorts sequence in place with a fast stable sort, returning None. key is a function for extracting a comparison key from each element, e.g. key=lambda x: x['name'] or key=str.lower. reverse=True reverses the res

[issue7250] wsgiref.handlers.CGIHandler caches os.environ, leaking info between requests

2009-11-03 Thread Phillip J. Eby
Phillip J. Eby added the comment: Hm. In retrospect, CGIHandler should probably just set os_environ to an empty dictionary in its class body (thereby not using the cached environ), and this would then work correctly for repeated uses. This would be a clean bugfix and wouldn't affect behavior f

[issue7240] subprocess.Popen.stdout.flush fails os OS-X 10.6.1

2009-11-03 Thread Philip Jenvey
Changes by Philip Jenvey : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue4969] mimetypes on Windows should read MIME database from registry (w/patch)

2009-11-03 Thread Timothy Farrell
Changes by Timothy Farrell : -- nosy: +tercero12 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue7258] test_multiprocessing leaves a temporary directory

2009-11-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm, apparently it is automatically removed at the end of the test suite. Sorry for the noise :) -- resolution: -> invalid status: open -> closed ___ Python tracker __

[issue7250] wsgiref.handlers.CGIHandler caches os.environ, leaking info between requests

2009-11-03 Thread Brandon Bloom
Brandon Bloom added the comment: > That is, in a true CGI environment, there can't be *multiple* requests > made to CGIHandler, and so it can't leak.  In "normal" (i.e. pre-GAE) > long-running web environments, os.environ would not contain any request > information, only the process startup envi

[issue7257] Improve documentation of list.sort and sorted()

2009-11-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: Will look at it and make an update, but not right away. -- ___ Python tracker ___ ___ Python-bugs

[issue7206] 64 bit python fails on Windows 7

2009-11-03 Thread Rich Healey
Rich Healey added the comment: Carey I can send you the steps I used to create the dump if you like so we can check if it's the same issue? -- ___ Python tracker ___ ___

[issue7259] Documentation update for operator module

2009-11-03 Thread Gabriel Genellina
New submission from Gabriel Genellina : This patch fixes some issues with the documentation of the operator module: - docstrings for all augmented assignments incorrectly stated, e.g., `operator.iadd(a,b)` is the same as `a += b`. The main documentation shows `a = operator.iadd(a,b)` instead,

[issue7260] SyntaxError with a not-existing offset for unicode code

2009-11-03 Thread Noam Raphael
New submission from Noam Raphael : Hello, This is from the current svn: > ./python Python 3.2a0 (py3k:76104, Nov 4 2009, 08:49:44) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> try: ... eval("u'שלום'") ... except SyntaxError as e: ...

[issue7250] wsgiref.handlers.CGIHandler caches os.environ, leaking info between requests

2009-11-03 Thread Brandon Bloom
Brandon Bloom added the comment: > Hm.  In retrospect, CGIHandler should probably just set os_environ to an > empty dictionary in its class body (thereby not using the cached > environ), and this would then work correctly for repeated uses. > > This would be a clean bugfix and wouldn't affect be

[issue7260] SyntaxError with a not-existing offset for unicode code

2009-11-03 Thread Ezio Melotti
Ezio Melotti added the comment: Apparently the position of the caret is based on the number of bytes in the line, not on the characters: >>> [aaa for x in] File "", line 1 [aaa for x in] ^ SyntaxError: invalid syntax >>> [äää for x in] File "", line 1 [äää for x in]

[issue7259] Documentation update for operator module

2009-11-03 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied in r76105. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue7260] SyntaxError with a not-existing offset for unicode code

2009-11-03 Thread Ezio Melotti
Ezio Melotti added the comment: This is actually a duplicate of #2382, so I'm closing it. #2382 also has some patch. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker