[issue15814] memoryview: equality-hash invariant

2012-08-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: Am 29.08.12 22:04, schrieb Stefan Krah: In the memoryview-hash thread on python-dev [1] this objection was addressed by demanding from exporters that they all use: hash(x) == hash(x.tobytes()) Since the previous equality concept was also based on

[issue15815] Add numerator to ZeroDivisionError messages

2012-08-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: What would be the point? Usually you should find out why the denominator is zero, not what the numerator's value is. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15815

[issue15815] Add numerator to ZeroDivisionError messages

2012-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: In case the value of the numerator helps find out why the denominator is 0. The example given by Mike Graham on python-ideas, Verbose traceback formatting was def f(a): x = a * 4 y = a - 4 return x / y --

[issue15815] Add numerator to ZeroDivisionError messages

2012-08-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: In case the value of the numerator helps find out why the denominator is 0. The example given by Mike Graham on python-ideas, Verbose traceback formatting was def f(a): x = a * 4 y = a - 4 return x / y Well, in this case y == 0 iff a == 4.

[issue15800] Closing of sys.std* files in gzip test.

2012-08-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0b5ba5f610a9 by Antoine Pitrou in branch '3.2': Issue #15800: fix the closing of input / output files when gzip is used as a script. http://hg.python.org/cpython/rev/0b5ba5f610a9 New changeset be505d22dde8 by Antoine Pitrou in branch 'default':

[issue15800] Closing of sys.std* files in gzip test.

2012-08-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: A simple fix indeed, thank you. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15800

[issue15781] test_threaded_import fails with -j4

2012-08-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks fixed! -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15781 ___

[issue15817] Misc/gdbinit: Expose command documentation to gdb help

2012-08-29 Thread Alexander Belopolsky
New submission from Alexander Belopolsky: Currently help user-defined lists commands defined in Misc/gdbinit without explanations (gdb) help user-defined User-defined commands. The commands in this class are those defined by the user. Use the define command to define a command. List of

[issue15814] memoryview: equality-hash invariant

2012-08-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15814 ___ ___

[issue15805] Add stdout redirection tool to contextlib

2012-08-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15805 ___ ___

[issue15814] memoryview: equality-hash invariant

2012-08-29 Thread Nick Coghlan
Nick Coghlan added the comment: My perspective is that hashing a memoryview only makes sense when the memoryview is read-only and m == m.tobytes() (i.e. it's a C contiguous 1D view of bytes, either because that's what the original object exported as a buffer or because the view has been cast

[issue15808] Possibility of setting custom key bindings for Additional help sources menu items

2012-08-29 Thread Ned Deily
Ned Deily added the comment: Here's a patch to update the doc paths to include current ones for Debian/Ubuntu and Fedora. The patch will have to be tweaked a bit for 3.2/2.7 to change sys.base_prefix to sys.prefix. -- keywords: +patch stage: needs patch - patch review Added file:

[issue15808] Possibility of setting custom key bindings for Additional help sources menu items

2012-08-29 Thread Ned Deily
Changes by Ned Deily n...@acm.org: Removed file: http://bugs.python.org/file27051/issue15808_idle_doc_paths.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15808 ___

[issue15808] Possibility of setting custom key bindings for Additional help sources menu items

2012-08-29 Thread Ned Deily
Changes by Ned Deily n...@acm.org: Added file: http://bugs.python.org/file27052/issue15808_idle_doc_paths.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15808 ___

[issue13405] Add DTrace probes

2012-08-29 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: OpenIndiana custom buildbots, 32 and 64 bits, SUCCESFULL: 2.7 branch: 32 bits: http://buildbot.python.org/all/builders/x86%20OpenIndiana%20custom/builds/6 64 bits: http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%20custom/builds/8 3.3 branch: 32

[issue15818] multiprocessing documentation of Process.exitcode

2012-08-29 Thread Josh Kupershmidt
New submission from Josh Kupershmidt: [I tried to send this as an email to d...@python.org yesterday, but it seems to have gotten eaten, as I don't see the message in the archives.] Hi all, The documentation for the multiprocessing module claims: | Note that the start(), join(), is_alive()

[issue15765] test_getcwd_long_pathnames (in test_posix) kills NetBSD

2012-08-29 Thread Trent Nelson
Changes by Trent Nelson tr...@snakebite.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15765 ___ ___ Python-bugs-list

<    1   2