[issue7076] Documentation add note about SystemRandom

2009-11-03 Thread chuck
chuck jan.hos...@gmail.com 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,

[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 vexoc...@gmail.com: 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

[issue3244] multipart/form-data encoding

2009-11-03 Thread Thomas Guettler
Changes by Thomas Guettler guet...@thomas-guettler.de: -- nosy: +guettli ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244 ___ ___

[issue6462] bsddb3 intermittent test failures

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

[issue7255] Default word boundaries for Unicode data?

2009-11-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7255 ___

[issue7117] Backport py3k float repr to trunk

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

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

2009-11-03 Thread Ole Laursen
New submission from Ole Laursen o...@iola.dk: 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:

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

2009-11-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Raymond, do you have an opinion on this? -- assignee: georg.brandl - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7257

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

2009-11-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2009-11-03 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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

[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 ge...@python.org added the comment: Thanks, fixed in r76095 and will backport. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7256

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

2009-11-03 Thread Phillip J. Eby
Phillip J. Eby p...@telecommunity.com 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,

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2009-11-03 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: brett.cannon - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5094 ___ ___ Python-bugs-list

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

2009-11-03 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7257 ___ ___ Python-bugs-list mailing

[issue7258] test_multiprocessing leaves a temporary directory

2009-11-03 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: 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

[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 pit...@free.fr: -- components: +Library (Lib) priority: - normal stage: - needs patch versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7247

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

2009-11-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2009-11-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +ocean-city ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4969 ___ ___ Python-bugs-list mailing

[issue7217] IDLE Subprocess Startup Error

2009-11-03 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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 module 'Queue' from 'C:\Python26\lib\Queue.pyc') -- nosy:

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

2009-11-03 Thread Ole Laursen
Ole Laursen o...@iola.dk 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

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

2009-11-03 Thread Phillip J. Eby
Phillip J. Eby p...@telecommunity.com 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

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

2009-11-03 Thread Philip Jenvey
Changes by Philip Jenvey pjen...@underboss.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7240 ___

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

2009-11-03 Thread Timothy Farrell
Changes by Timothy Farrell tfarr...@swgen.com: -- nosy: +tercero12 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4969 ___ ___ Python-bugs-list

[issue7258] test_multiprocessing leaves a temporary directory

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

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

2009-11-03 Thread Brandon Bloom
Brandon Bloom snprbo...@gmail.com 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

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

2009-11-03 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Will look at it and make an update, but not right away. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7257 ___

[issue7206] 64 bit python fails on Windows 7

2009-11-03 Thread Rich Healey
Rich Healey ri...@psych0tik.net 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 rep...@bugs.python.org http://bugs.python.org/issue7206

[issue7259] Documentation update for operator module

2009-11-03 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: 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 =

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

2009-11-03 Thread Noam Raphael
New submission from Noam Raphael noamr...@gmail.com: 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 snprbo...@gmail.com 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

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

2009-11-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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 stdin, line 1 [aaa for x in] ^ SyntaxError: invalid syntax [äää for x in] File stdin,

[issue7259] Documentation update for operator module

2009-11-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, applied in r76105. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7259 ___

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

2009-11-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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