[issue15623] Init time relative imports no longer work from __init__.so modules

2012-08-15 Thread Stefan Behnel
Stefan Behnel added the comment: I tried it and it works to just insert the package module into sys.modules after creation if it's not there yet: #if PY_MAJOR_VERSION 3 __pyx_m = Py_InitModule4(__Pyx_NAMESTR(my_test_package), __pyx_methods, 0, 0, PYTHON_API_VERSION); #else __pyx_m =

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2012-08-15 Thread Ned Deily
New submission from Ned Deily: OS 10.8 Mountain Lion includes a new feature that helps protect users from downloading and installing malicious software by providing a mechanism for developers to sign their installable objects with a unique Apple-signed Developer ID certificate. The default

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2012-08-15 Thread Ned Deily
Ned Deily added the comment: An additional point: the 3.3.0 Installer README and python.org web pages need to be updated to incorporate 10.8 installation information as necessary prior to final release. (in progress) Also, s/singing/signing/ --

[issue15649] subprocess.Popen.communicate: accept str for input parameter if universal_newlines is False

2012-08-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: Uhum.. Universal Newlines is being deprecated. -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15649 ___

[issue15649] subprocess.Popen.communicate: accept str for input parameter if universal_newlines is False

2012-08-15 Thread R. David Murray
R. David Murray added the comment: No it isn't. There's some issue about a 'U' parameter somewhere that is being deprecated, but that has nothing to do with this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15649

[issue15390] PEP 3121, 384 refactoring applied to datetime module

2012-08-15 Thread Robin Schreiber
Robin Schreiber added the comment: I have now included the changes that Antoine suggested. The _Get_State was used for debugging purposes and is, as I think, no longer necessary. However we have yet to find a solution for the decref inside the dealloc methods. -- Added file:

[issue15655] PEP 384 Refactoring applied to json module

2012-08-15 Thread Robin Schreiber
Robin Schreiber added the comment: Removed C++ comment and corresponding codesnipped. Also changed bad-style macro definition. -- Added file: http://bugs.python.org/file26818/_json_pep384_v1.patch ___ Python tracker rep...@bugs.python.org

[issue15662] PEP 3121 refactoring applied to locale module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 have now been applied to the locale module! -- components: Extension Modules files: _locale_pep3121_v0.patch keywords: patch messages: 168268 nosy: Robin.Schreiber, loewis priority: normal severity: normal status: open

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2012-08-15 Thread Ned Deily
New submission from Ned Deily: The current situation with Tcl/Tk on OS X is less than ideal. The Apple-supplied versions of the Cocoa-based Aqua Tk 8.5 on 10.6 was unusable with IDLE and most Tkinter applications. The 10.7 and 10.8 versions are better but still have serious crashers that

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2012-08-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: A major reason for why the current installers don't install Tk as well is that this would significantly increase the size of the installer. There's also the question of what bits of Tcl/Tk should be bundled, although I guess we should ship a minimal install

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2012-08-15 Thread Ned Deily
Ned Deily added the comment: Yes, it would have to be a subset since some of the stuff in the ActiveTcl releases is unavailable anyway. But the current ActiveTcl installer dmgs are around 24Mb while the 3.3.0 installers are a little less than 20Mb. Even if it were to double the size, 40Mb

[issue15664] test_curses not run with 'make test'

2012-08-15 Thread Ronald Oussoren
New submission from Ronald Oussoren: I noticed that 'test_curses' is not started when performing make test on an OSX box: ... [ 42/369] test_curses test_curses skipped -- sys.__stdout__ is not a tty ... The host is a machine running OSX 10.8, fully up-to-date with patches and the current

[issue15535] Fix pickling of named tuples in 2.7.3

2012-08-15 Thread Thomas Miedema
Thomas Miedema added the comment: Attached is a script that shows the problem at hand. Note that my remark that this bug could result in very large pickled files when using nested namedtuples seems not te be true. -- Added file:

[issue15664] test_curses not run with 'make test'

2012-08-15 Thread Ned Deily
Ned Deily added the comment: This appears to be the same issue as raised in Issue12669. Apparently it is not fixed. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15664

[issue13370] test_ctypes fails when building python with clang

2012-08-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch syncs libffi_osx with the copy of libffi that's included with PyObjC. With this patch test_ctypes passes for me when using clang to build on OSX 10.8. I haven't run the tests with other python releases yet, and also not on a OSX 10.5

[issue15664] test_curses not run with 'make test'

2012-08-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: the test does get run with 'make buildbottest', and then fails with a ValueError exception: $ /Users/ronald/Projects/python/rw/default/tbuild/python.exe -W default -bb -E -R -m test -r -w -j 1 -u all -W --timeout=3600 test_curses Using random seed 2242495

[issue11062] mailbox fails to round-trip a file to a Babyl mailbox

2012-08-15 Thread Petri Lehtinen
Petri Lehtinen added the comment: This happens because of a bug in Babyl._install_message(). When adding a message from file, the *** EOOH *** line is written also after the second set of headers. -- nosy: +petri.lehtinen ___ Python tracker

[issue15664] test_curses not run with 'make test'

2012-08-15 Thread Ned Deily
Ned Deily added the comment: The chr() arg not in range(0x11) from test_unget_wch is due to a bug in ncurses 5.8; see Issue15037. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15664

[issue15664] test_curses not run with 'make test'

2012-08-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: I knew the test failure looked familiar, but couldn't find the issue in the tracker. This issue (test_curses not running with make test) is due to '-j0' in the arguments to the test runner: with -j0 the runner uses multiprocessing and the stdout and stderr

[issue15586] Provide some examples for usage of ElementTree methods/attributes

2012-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8d90fde35cc6 by Eli Bendersky in branch 'default': Issue #15586: typo fix. This commit is accompanied by an apology for all Liechtensteiners out there, and a thanks to Eric Araujo for noticing. http://hg.python.org/cpython/rev/8d90fde35cc6

[issue15586] Provide some examples for usage of ElementTree methods/attributes

2012-08-15 Thread Eli Bendersky
Eli Bendersky added the comment: Daniel, this looks good except that the section numbering is different from 3.3 where the object/function reference sections were nested under Reference. Could you fix your patch to align the 2.7 doc to this structure? P.S. Éric's comment also has to be fixed

[issue15656] Extending Python with C page needs update for 3.x

2012-08-15 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15656 ___ ___ Python-bugs-list

[issue11062] mailbox fails to round-trip a file to a Babyl mailbox

2012-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset ad8c9725c041 by Petri Lehtinen in branch '2.7': #11062: Fix adding a message from file to Babyl mailbox http://hg.python.org/cpython/rev/ad8c9725c041 New changeset cbc1dc8cda06 by Petri Lehtinen in branch '3.2': #11062: Fix adding a message from

[issue11062] mailbox fails to round-trip a file to a Babyl mailbox

2012-08-15 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11062 ___

[issue11062] mailbox fails to round-trip a file to a Babyl mailbox

2012-08-15 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11062 ___ ___ Python-bugs-list

[issue15656] Extending Python with C page needs update for 3.x

2012-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 599376deeeac by Eli Bendersky in branch '3.2': Issue #15656: fixing code sample in extending doc http://hg.python.org/cpython/rev/599376deeeac -- nosy: +python-dev ___ Python tracker

[issue15656] Extending Python with C page needs update for 3.x

2012-08-15 Thread Eli Bendersky
Eli Bendersky added the comment: Fixed, thanks for the report. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15656 ___

[issue15629] Run doctests in Doc/*.rst as part of regrtest

2012-08-15 Thread Eli Bendersky
Eli Bendersky added the comment: I think implementing this is very important, and +1 to Georg's suggestion, because no one is suddenly going to convert KLOCs of code samples to be testable (many code samples are partial, and will need to be completed in one way or another to be actually

[issue15629] Run doctests in Doc/*.rst as part of regrtest

2012-08-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: I would like the chance to try implementing this without depending on Sphinx and make doctest. I don't think it would take much work, and it would let us leverage and hook into regrtest's existing options (like test selection by name). I am also okay with

[issue15664] test_curses not run with 'make test'

2012-08-15 Thread R. David Murray
R. David Murray added the comment: So this should be closed as a duplicate of issue 12669? -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15664 ___

[issue15664] test_curses not run with 'make test'

2012-08-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: Yes. I'll add a message to that issue to note that is also affects 'make test' -- resolution: - duplicate stage: - committed/rejected status: open - closed type: - behavior ___ Python tracker

[issue12669] test_curses skipped on buildbots

2012-08-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: As noted in Issue15664 this issue also affects make test. -- nosy: +ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12669 ___

[issue15543] central documentation for 'universal newlines'

2012-08-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: Here is the patch for 2.7. -- Added file: http://bugs.python.org/file26822/issue-15543-6-py27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15543 ___

[issue12669] test_curses skipped on buildbots

2012-08-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: Nadeem: is the failure you show in msg141798 with a version of test_curses that uses pty.openpty? If it isn't: I'd expect more test failures on buildbot machines where the buildbot agent is started as a system daemon, in which case the process doesn't have

[issue15665] PEP 3121, 384 refactoring applied to lsprof module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the lsprof module! -- components: Extension Modules files: _lsprof_pep3121-384_v0.patch keywords: patch messages: 168292 nosy: Robin.Schreiber priority: normal severity: normal status:

[issue12669] test_curses skipped on buildbots

2012-08-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: BTW. the documentation for curses.setupterm says: curses.setupterm([termstr, fd]) The first argument is actually named term in the C code. -- ___ Python tracker rep...@bugs.python.org

[issue15666] PEP 3121, 384 refactoring applied to lzma module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the lzma module! -- components: Extension Modules files: _lzma_pep3121-384_v0.patch keywords: patch messages: 168294 nosy: Robin.Schreiber, nadeem.vawda priority: normal severity: normal

[issue15667] PEP 3121, 384 refactoring applied to pickle module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the pickle module! -- components: Extension Modules files: _pickle_pep3121-384_v0.patch keywords: patch messages: 168295 nosy: Robin.Schreiber priority: normal severity: normal status:

[issue15543] central documentation for 'universal newlines'

2012-08-15 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: Added file: http://bugs.python.org/file26826/issue-15543-6-py32.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15543 ___

[issue15543] central documentation for 'universal newlines'

2012-08-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: And here are the 3.2 patch and the 3.3 delta after forward-porting. Note that to forward-port the 3.2 patch to the default 3.3 branch, you can simply drop the changes to the file Doc/library/bz2.rst. I think that is the only conflict. -- Added

[issue15668] PEP 3121, 384 Refactoring applied to random module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the lsprof module! -- components: Extension Modules files: _random_pep3121-384_v0.patch keywords: patch messages: 168297 nosy: Robin.Schreiber, rhettinger priority: normal severity:

[issue15669] PEP 3121, 384 Refactoring applied to sre module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the sre module! -- components: Extension Modules files: _sre_pep3121-384_v0.patch keywords: patch messages: 168298 nosy: Robin.Schreiber priority: normal severity: normal status: open

[issue15668] PEP 3121, 384 Refactoring applied to random module

2012-08-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: Martin, does this patch match your intent with PEP3121 and PEP384? -- assignee: - loewis nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15668

[issue15643] Support OpenCSW in setup.py

2012-08-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15643 ___ ___ Python-bugs-list mailing

[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the ssl module! -- components: Extension Modules files: _ssl_pep3121-384_v0.patch keywords: patch messages: 168300 nosy: Robin.Schreiber priority: normal severity: normal status: open

[issue15573] Support unknown formats in memoryview comparisons

2012-08-15 Thread Stefan Krah
Stefan Krah added the comment: Here is a new patch that hopefully addresses all comments. -- Added file: http://bugs.python.org/file26831/issue15573-struct-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15573

[issue15623] Init time relative imports no longer work from __init__.so modules

2012-08-15 Thread Brett Cannon
Brett Cannon added the comment: I'm glad the work-around at least works, but I would still like to find out what the heck 3.2 is doing to see if it's reasonable to replicate in 3.3. -- ___ Python tracker rep...@bugs.python.org

[issue15671] PEP 3121, 384 Refactoring applied to struct module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the struct module! -- components: Extension Modules files: _struct_pep3121-384_v0.patch keywords: patch messages: 168302 nosy: Robin.Schreiber priority: normal severity: normal status:

[issue15672] PEP 3121, 384 Refactoring applied to testbuffer module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the testbuffer module! -- components: Extension Modules files: _testbuffer_pep3121-384_v0.patch keywords: patch messages: 168304 nosy: Robin.Schreiber priority: normal severity: normal

[issue15672] PEP 3121, 384 Refactoring applied to testbuffer module

2012-08-15 Thread Robin Schreiber
Changes by Robin Schreiber robin.schrei...@me.com: -- nosy: +skrah -Robin.Schreiber ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15672 ___ ___

[issue15672] PEP 3121, 384 Refactoring applied to testbuffer module

2012-08-15 Thread Robin Schreiber
Changes by Robin Schreiber robin.schrei...@me.com: -- nosy: +Robin.Schreiber ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15672 ___ ___

[issue15673] PEP 3121, 384 Refactoring applied to testcapi module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the testcapi module! -- components: Extension Modules files: _testcapi_pep3121-384_v0.patch keywords: patch messages: 168305 nosy: Robin.Schreiber priority: normal severity: normal

[issue15674] PEP 3121, 384 Refactoring applied to thread module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the thread module! -- components: Extension Modules files: _thread_pep3121-384_v0.patch keywords: patch messages: 168306 nosy: Robin.Schreiber priority: normal severity: normal status:

[issue15675] PEP 3121, 384 Refactoring applied to array module

2012-08-15 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the array module! -- components: Extension Modules files: array_pep3121-385_v0.patch keywords: patch messages: 168307 nosy: Robin.Schreiber priority: normal severity: normal status:

[issue15543] central documentation for 'universal newlines'

2012-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 273df9789796 by R David Murray in branch '3.2': #15543: glossary entry for and 'universal newlines', and links to it. http://hg.python.org/cpython/rev/273df9789796 New changeset e67042b6ad02 by R David Murray in branch '3.2': #15543: reflow

[issue15543] central documentation for 'universal newlines'

2012-08-15 Thread R. David Murray
R. David Murray added the comment: Thanks Chris. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15543

[issue15543] central documentation for 'universal newlines'

2012-08-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: Good work. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15543 ___ ___ Python-bugs-list mailing list

[issue15543] central documentation for 'universal newlines'

2012-08-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, David! Also, can/did you check that reflows like these still link to the glossary correctly? + :func:`input` function to allow opening files in binary or :term:`universal + newlines` mode. Another new parameter, *openhook*, lets you use a function

[issue15543] central documentation for 'universal newlines'

2012-08-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: Yes, it is processed correctly. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15543 ___ ___ Python-bugs-list

[issue15625] Support u and w codes in memoryview

2012-08-15 Thread Stefan Krah
Stefan Krah added the comment: Nick's comment in msg167963 got me thinking. Indeed, in Numpy the 'U' specifier is similar to the struct module's 's' format code, only for UCS4. So I'm questioning whether the current semantics of 'u' and 'w' used by array.array were ever intended by the PEP

[issue15676] mmap: add empty file check prior to offset check

2012-08-15 Thread Steven Willis
New submission from Steven Willis: There are a number of issues dealing with the offset and length checks in offset, such as issue12556. I'm running into this issue as well, but with a normal file that happens to be empty. I'm trying to access it with: mmap.mmap(f.fileno(), length=0,

[issue15643] Support OpenCSW in setup.py

2012-08-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: LGTM. In the usual case, it is harmless if the system is no Solaris, or OpenCSW is not installed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15643

[issue15346] Tkinter extention modules no documentation

2012-08-15 Thread Daniel Swanson
Daniel Swanson added the comment: For that matter, none of the following have docs: tkinter.colorchooser tkinter.commondialog tkinter.filedialog tkinter.font tkinter.messagebox tkinter.simpledialog tkinter.dnd Perhaps this should be remidied? One sentence usualy does not describe the use of an

[issue15346] Tkinter extention modules have no documentation

2012-08-15 Thread Daniel Swanson
Changes by Daniel Swanson popcorn.tomato.d...@gmail.com: -- title: Tkinter extention modules no documentation - Tkinter extention modules have no documentation ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15346

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: Antoine, can you explain why subprocess support for universal_newlines is broken? As I can see tests for universal_newlines passed and these looks correct. In general I like your idea to get rid of os.write, but maybe that patch should be landed in 3.4? If

[issue15625] Support u and w codes in memoryview

2012-08-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: Travis: can you please comment on what the intended semantics of the 'u' and 'w' specifiers is, in PEP 3118? More specifically: - an array/memoryview with format 'u' can support exactly one-character values (i.e. unicode strings of length 1): true or false?

[issue15656] Extending Python with C page needs update for 3.x

2012-08-15 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15656 ___ ___ Python-bugs-list mailing list

[issue15656] Extending Python with C page needs update for 3.x

2012-08-15 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Should this be applied to default (3.3) too? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15656 ___ ___

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: Andrew, I'm not sure if this is the issue, but it seems like the only tests in which input is passed to communicate() with universal newlines is when stdin is the only PIPE, i.e.: def test_universal_newlines_communicate_stdin(self): # universal

[issue15656] Extending Python with C page needs update for 3.x

2012-08-15 Thread Sandro Tosi
Sandro Tosi added the comment: It's fixed in default too: http://hg.python.org/cpython/rev/f46b4b7b817c It was not shown because the commit message misses the issue reference. -- ___ Python tracker rep...@bugs.python.org

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2012-08-15 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15661 ___ ___ Python-bugs-list mailing list

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: As Chris said. Look at the POSIX version of _communicate(), nowhere is input given the newlines/encoding treatment. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12623

[issue15676] mmap: add empty file check prior to offset check

2012-08-15 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15676 ___ ___ Python-bugs-list mailing list

[issue15676] mmap: add empty file check prior to offset check

2012-08-15 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I do agree. Solaris also returns an error if len=0. Could you please, provide patches for 2.7, 3.2 and 3.3? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15676

[issue11062] mailbox fails to round-trip a file to a Babyl mailbox

2012-08-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: Reopen the issue because Windows tests is failed. Commits for this issue breaks Windows buildbot for 3.2 and 3.3. Looks like problem is: Windows os.linesep different than Unix. I don't know what format expected by protocol. -- nosy: +asvetlov status:

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: I've pushed test for piping stdin, stdout and and stderr: 4af2c0687970 What other test we should to add? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12623

[issue11062] mailbox fails to round-trip a file to a Babyl mailbox

2012-08-15 Thread Petri Lehtinen
Petri Lehtinen added the comment: Yeah. Enabling the Babyl tests discovered yet another bug on a code path that wasn't excercised at all. I'll fix it. -- assignee: - petri.lehtinen resolution: fixed - ___ Python tracker rep...@bugs.python.org

[issue15666] PEP 3121, 384 refactoring applied to lzma module

2012-08-15 Thread Nadeem Vawda
Nadeem Vawda added the comment: Thanks for the patch. Unfortunately I don't have much free time at the moment, so it might be a few weeks before I get a chance to review it. -- ___ Python tracker rep...@bugs.python.org

[issue15664] test_curses not run with 'make test'

2012-08-15 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- superseder: - test_curses skipped on buildbots ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15664 ___

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: Оор. I see. Pushing to communicate input with \r (see attached patch) produces the error. Will work on fixing. Thanks. -- keywords: +patch Added file: http://bugs.python.org/file26837/issue12623_failing_test.diff

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: I like to set status for the issue to Release blocker if Georg Brandl agree with that. -- nosy: +georg.brandl priority: normal - release blocker ___ Python tracker rep...@bugs.python.org

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Оор. I see. Pushing to communicate input with \r (see attached patch) produces the error. Hmm, no, it's the reverse. Pushing input with \n should produce b\r\n on the other side, under Windows. -- ___ Python

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, it's not a regression and it may be slightly delicate, so I don't think it should be a release blocker. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12623

[issue15677] Gzip/zlib allows for compression level=0

2012-08-15 Thread Sandro Tosi
New submission from Sandro Tosi: As reported at http://mail.python.org/pipermail/docs/2012-August/009837.html gzip/zlib allows for a compression level=0 (that's basically no compression) so the documentation should mention that possibility too. -- assignee: docs@python components:

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: The main question: can be fix applied to 3.3 or it can wait for 3.4? 3.2 has the same problem BTW. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12623

[issue15390] PEP 3121, 384 refactoring applied to datetime module

2012-08-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: However we have yet to find a solution for the decref inside the dealloc methods. Perhaps ask for advice on python-dev? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15390

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: Pushing to communicate input with \r (see attached patch) produces the error. Is this a supported use case? In universal newlines, stdin line endings are supposed to be \n. From the subprocess documentation: For stdin, line ending characters '\n' in the

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: The real test should to put '\n' and subprocess should get '\r\n', right? Looking the code this test will fail on Windows. I cannot check it just now but looks like this is the problem. -- ___ Python tracker

[issue15604] PyObject_IsTrue failure checks

2012-08-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patches updated again. -- Added file: http://bugs.python.org/file26838/istrue_check-3.3_3.patch Added file: http://bugs.python.org/file26839/istrue_check-3.2_3.patch Added file: http://bugs.python.org/file26840/istrue_check-2.7_3.patch

[issue15490] Correct __sizeof__ support for StringIO

2012-08-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: storchaka - keywords: +needs review stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15490 ___

[issue12669] test_curses skipped on buildbots

2012-08-15 Thread Nadeem Vawda
Nadeem Vawda added the comment: Nadeem: is the failure you show in msg141798 with a version of test_curses that uses pty.openpty? Yes, I tried the following change: --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -328,11 +328,12 @@ curses.resetty()

[issue12669] test_curses skipped on buildbots

2012-08-15 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12669 ___ ___

[issue15604] PyObject_IsTrue failure checks

2012-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset ba1c48f8b571 by Antoine Pitrou in branch '2.7': Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly. http://hg.python.org/cpython/rev/ba1c48f8b571 New changeset 56dc7b09f390 by Antoine Pitrou in branch '3.2':

[issue12623] universal newlines subprocess support broken with select- and poll-based communicate()

2012-08-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: Looking the code this test will fail on Windows. I cannot check it just now but looks like this is the problem. Would it be possible to do something like the following to check this on a non-Windows machine (since the Python implementation of io respects

[issue15604] PyObject_IsTrue failure checks

2012-08-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Antoine. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15604

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2012-08-15 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15661 ___ ___ Python-bugs-list

[issue15543] central documentation for 'universal newlines'

2012-08-15 Thread Éric Araujo
Éric Araujo added the comment: Great patch! -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15543 ___ ___ Python-bugs-list

[issue12436] Missing items in installation/setup instructions

2012-08-15 Thread Éric Araujo
Éric Araujo added the comment: My computer currently doesn’t boot so I can’t check if I had started or not. You can propose a patch incorporating the various suggestions, or give me some days to read this again and make a summary of what I would have done. Thanks! --

[issue7231] Windows installer does not add \Scripts folder to the path

2012-08-15 Thread Éric Araujo
Éric Araujo added the comment: BTW, any reason to create python27.exe instead of python2.7.exe (so that the unix-centered docs about command lines would also apply to your Pythons)? -- ___ Python tracker rep...@bugs.python.org

[issue15625] Support u and w codes in memoryview

2012-08-15 Thread Nick Coghlan
Nick Coghlan added the comment: I admit that the main thing that bothers me with the proposal in PEP 3118 is the inconsistency between c - bytes, while u, w - str This was less of an issue in 2.x (which was the main frame of reference when the PEP was written), with implicit str/unicode

  1   2   >