[issue12896] Recommended location of the interpreter for Python 3

2011-09-04 Thread Lennart Regebro
New submission from Lennart Regebro : The documentation on Using Python, 2.3. Python-related paths and files says that "exec_prefix/bin/python" is the recommended location for the interpreter, while for Python 3 it's "exec_prefix/bin/python3". http://docs.python.org/py3k/using/unix.html#python

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-09-04 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1172711] long long support for array module

2011-09-04 Thread Meador Inge
Meador Inge added the comment: Here is a refresh of this patch for 3.3. Please review. -- Added file: http://bugs.python.org/file23100/issue-1172711.patch ___ Python tracker

[issue9969] tokenize: add support for tokenizing 'str' objects

2011-09-04 Thread Meador Inge
Meador Inge added the comment: Attached is a first cut at a patch. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file23099/issue9969.patch ___ Python tracker

[issue3132] implement PEP 3118 struct changes

2011-09-04 Thread Meador Inge
Meador Inge added the comment: Is this work something that might be suitable for the features/pep-3118 repo (http://hg.python.org/features/pep-3118/) ? -- ___ Python tracker ___

[issue7425] [PATCH] Improve the robustness of "pydoc -k" in the face of broken modules

2011-09-04 Thread Ned Deily
Changes by Ned Deily : -- nosy: +Christian.S..Perone, ned.deily versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bug

[issue12894] pydoc help("modules keyword") is failing when a module throws an exception at the import time

2011-09-04 Thread Ned Deily
Ned Deily added the comment: Thanks for the suggested fix. It looks like the problem and fix have already been documented in Issue7425. Merging this into the existing issue. -- nosy: +ned.deily resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder:

[issue12895] In MSI/EXE installer, allow installing Python modules in free path

2011-09-04 Thread Ram Rachum
New submission from Ram Rachum : Currently, when you use an MSI installer (and possibly also EXE) for a Python module, it automatically detects the location of your various system's Python installations. This is very convenient. However, this can be a problem sometimes, if your Python installa

[issue12894] pydoc help("modules keyword") is failing when a module throws an exception at the import time

2011-09-04 Thread Christian S. Perone
New submission from Christian S. Perone : Pydoc is failing when running the ModuleScanner().run() when you execute: help("modules keyword") ... if some module throws an exception at the import time. See this example: >>> help("modules convolve") Here is a list of matching modules. Enter any

[issue11340] test_distutils fails because of borked compress program

2011-09-04 Thread Westley Martínez
Westley Martínez added the comment: I emailed the Arch Linux people to get more information on this particular issue. If they decide that the compress program will stay as is I will write attempt to write a patch to skip the test based on the output of compress's --version flag. --

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-09-04 Thread Westley Martínez
Westley Martínez added the comment: ¡Hola! Just checking in. The documentation is still incorrect for all versions. There's a patch that fixes it ready to be reviewed. -- ___ Python tracker

[issue12893] Invitation to connect on LinkedIn

2011-09-04 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[issue10914] Python sub-interpreter test

2011-09-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It is possible to install the _testembed.c file alongside xxmodule.c > and compile it at test time. We probably could, using the approach from the distutils patch. But it feels really quirky to me. Granted, the Makefile is quirky as well. > To test under Wi

[issue12871] Disable sched_get_priority_min/max if Python is compiled without threads

2011-09-04 Thread Remi Pointel
Remi Pointel added the comment: Hi, it seems to solve the problem (tested on OpenBSD 4.9 and OpenBSD-current). * test_posix.py on OpenBSD 4.9: [...] Ran 79 tests in 0.508s OK (skipped=35) * test_posix.py on OpenBSD-current: it continues to segfault, but I have opened an other ticket for this

[issue12885] distutils.filelist.findall() fails on broken symlink in Py2.x

2011-09-04 Thread Alexander Dutton
Alexander Dutton added the comment: I've come across it as I'm creating a Debian package of the Python package in the same tree — I'm happy to be told this is a Bad Idea and that they should be in different places. The broken symlinks are relative and in debian/tmp, and will point to location

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2011-09-04 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > > New submission from Ezio Melotti : > >>From Chapter 03 of the Unicode Standard 6[0], D91: > """ > • UTF-16 encoding form: The Unicode encoding form that assigns each Unicode > scalar value in the ranges U+..U+D7FF and U+E000..U

[issue12871] Disable sched_get_priority_min/max if Python is compiled without threads

2011-09-04 Thread Charles-François Natali
Charles-François Natali added the comment: Here's a patch adding a configure-time check. Since the functions are checked without being linked explicitely with pthread, it should do the trick (I couldn't test it on OpenBSD though). I also added a skipTest to test_posix.test_sched_priority(). ---

[issue11682] PEP 380 reference implementation for 3.3

2011-09-04 Thread Nick Coghlan
Nick Coghlan added the comment: Actually, not assigning to Raymond for review yet, after all - I just noticed there are some of Benjamin's review comments relating to cosmetic details rather than functionality that I still need to address. I'll kick it in Raymond's direction once I've dealt w

[issue11682] PEP 380 reference implementation for 3.3

2011-09-04 Thread Nick Coghlan
Nick Coghlan added the comment: Uploaded a patch that should be complete. Note that my pep380 branch is based on my get_opinfo branch (see #11816), so if you're applying patches manually rather than updating directly from my sandbox with hg, you'll need to apply the latest patch from #11816 b

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-09-04 Thread Nick Coghlan
Nick Coghlan added the comment: Regenerated the get_opinfo patch against current 3.3 tip. Still haven't fixed the missing doc updates mentioned in my last message, though. -- Added file: http://bugs.python.org/file23095/issue11816_get_opinfo_branch_20110904.diff

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2011-09-04 Thread Ezio Melotti
New submission from Ezio Melotti : >From Chapter 03 of the Unicode Standard 6[0], D91: """ • UTF-16 encoding form: The Unicode encoding form that assigns each Unicode scalar value in the ranges U+..U+D7FF and U+E000..U+ to a single unsigned 16-bit code unit with the same numeric value a

[issue11678] Add support for Arch Linux to platform.linux_distributions()

2011-09-04 Thread Westley Martínez
Westley Martínez added the comment: Is there anything preventing the patch from being committed? -- ___ Python tracker ___ ___ Python