[issue15633] httplib.response is not closed after all data has been read

2012-08-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue15496] harden directory removal for tests on Windows

2012-08-13 Thread Tim Golden
Tim Golden added the comment: Fine with me -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue15633] httplib.response is not closed after all data has been read

2012-08-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Do you call read() or read()? Please inspect at least the "fp", "length", "chunked" and "chunk_left" attributes. -- nosy: +pitrou ___ Python tracker _

[issue15631] Python 3.3 beta 1 installation issue lib/lib64 folders

2012-08-13 Thread Matthias Klose
Matthias Klose added the comment: please could you attach the configure options, generated _sysconfigdata.py and a log of the install step? -- ___ Python tracker ___ ___

[issue15631] Python 3.3 beta 1 installation issue lib/lib64 folders

2012-08-13 Thread Matthias Klose
Matthias Klose added the comment: > File "/etc/pythonstart", line 5, in and this seems to be a patched/distro installation. Do you see this with an unpatched one as well? -- ___ Python tracker __

[issue15496] harden directory removal for tests on Windows

2012-08-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset fcad4566910b by Brian Curtin in branch '3.2': Fix #15496. Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth http://hg.python.org/cpython/rev/fcad4566910b -- nosy: +python-dev _

[issue15643] Support OpenCSW in setup.py

2012-08-13 Thread Floris Bruynooghe
New submission from Floris Bruynooghe: This patch proposes to add out of the box support for building against OpenCSW libraries on Solaris. It makes building all the extension modules a lot simpler since the CSW repositories provide almost all required libaries. The order of preference is /us

[issue15496] harden directory removal for tests on Windows

2012-08-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset c863dadc65eb by Brian Curtin in branch '2.7': Fix #15496. Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth http://hg.python.org/cpython/rev/c863dadc65eb -- ___ Pyt

[issue15496] harden directory removal for tests on Windows

2012-08-13 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> brian.curtin components: +Windows resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue15631] Python 3.3 beta 1 installation issue lib/lib64 folders

2012-08-13 Thread ita1024
ita1024 added the comment: I have not modified anything related to python on my opensuse install, i have only grabbed the latest tarball, compiled and installed. Here is the result with python 3.3.0 beta 2 ./configure make (sudo make install) > log I am observing the same outputs: $ /usr/local

[issue15631] Python 3.3 beta 1 installation issue lib/lib64 folders

2012-08-13 Thread ita1024
ita1024 added the comment: Here is the generated Lib/_sysconfigdata.py file -- Added file: http://bugs.python.org/file26791/_sysconfigdata.py ___ Python tracker ___ _

[issue15269] Document dircmp.left and dircmp.right

2012-08-13 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue15364] sysconfig confused by relative paths

2012-08-13 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15322] sysconfig.get_config_var('srcdir') returns unexpected value

2012-08-13 Thread Richard Oudkerk
Richard Oudkerk added the comment: I think #15364 is a duplicate of this. It should be fixed now. Can you check again. -- nosy: +sbt resolution: -> duplicate stage: -> committed/rejected status: open -> pending superseder: -> sysconfig confused by relative paths type: -> behavior

[issue15322] sysconfig.get_config_var('srcdir') returns unexpected value

2012-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: It seems to be fixed now. Thanks. -- status: pending -> open ___ Python tracker ___ ___ Python-bugs

[issue15322] sysconfig.get_config_var('srcdir') returns unexpected value

2012-08-13 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15543] central documentation for 'universal newlines'

2012-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: Updating patch to latest again. -- nosy: +asvetlov Added file: http://bugs.python.org/file26792/issue-15543-3.patch ___ Python tracker ___ _

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

2012-08-13 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +cjerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9161] add_option in optparse no longer accepts unicode string

2012-08-13 Thread R. David Murray
R. David Murray added the comment: @Michael: Thanks for working on this. I don't see a patch attached to the issue, though. -- ___ Python tracker ___ ___

[issue9161] add_option in optparse no longer accepts unicode string

2012-08-13 Thread Michael Johnson
Michael Johnson added the comment: Huh, let me try that again! I'm not sure how the attachment got dropped. -- keywords: +patch Added file: http://bugs.python.org/file26793/issue9161_test.diff ___ Python tracker ___

[issue15543] central documentation for 'universal newlines'

2012-08-13 Thread R. David Murray
R. David Murray added the comment: Thanks for working on this. I see nothing wrong with using 'universal newlines mode' as the term, which would simplify the markup. -- nosy: +r.david.murray ___ Python tracker __

[issue9161] add_option in optparse no longer accepts unicode string

2012-08-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4c86a860e3d2 by R David Murray in branch '2.7': #9161: add test for the bug fixed by r82581. http://hg.python.org/cpython/rev/4c86a860e3d2 -- nosy: +python-dev ___ Python tracker

[issue9161] add_option in optparse no longer accepts unicode string

2012-08-13 Thread R. David Murray
R. David Murray added the comment: Thanks! -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___

[issue15642] Integrate pickle protocol version 4 GSoC work by Stefan Mihaila

2012-08-13 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Added file: http://bugs.python.org/file26794/pickle4.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue15642] Integrate pickle protocol version 4 GSoC work by Stefan Mihaila

2012-08-13 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Removed file: http://bugs.python.org/file26794/pickle4.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue15642] Integrate pickle protocol version 4 GSoC work by Stefan Mihaila

2012-08-13 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Added file: http://bugs.python.org/file26795/pickle4.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue15543] central documentation for 'universal newlines'

2012-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: Sure, you're welcome. And sounds good, I'll change it. The singular was the prevailing form, but you're right that there is no reason we can't change it. -- ___ Python tracker _

[issue15543] central documentation for 'universal newlines'

2012-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: Is it worth standardizing on "universal newlines mode" in the code as well (docstrings, etc)? There are about ten occurrences of "universal newline mode" that would need to be changed. -- ___ Python tracker

[issue6033] LOOKUP_METHOD and CALL_METHOD optimization

2012-08-13 Thread R. David Murray
R. David Murray added the comment: Benjamin confirms a regression in his patch, and the other patch was not intended for CPython. So I'm closing this issue. -- nosy: +r.david.murray stage: patch review -> committed/rejected status: open -> closed __

[issue15543] central documentation for 'universal newlines'

2012-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: Here is a new patch with David's suggested change (just for doc files though). -- Added file: http://bugs.python.org/file26796/issue-15543-4.patch ___ Python tracker __

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

2012-08-13 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> Windows installer should add Python and Scripts directories to the PATH environment variable ___ Python tracker

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

2012-08-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset fc66730dae4c by Eli Bendersky in branch 'default': Issue #15586: add some examples to ElementTree documentation. Patch by Daniel Ellis. http://hg.python.org/cpython/rev/fc66730dae4c -- nosy: +python-dev

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

2012-08-13 Thread Eli Bendersky
Eli Bendersky added the comment: I committed your patch to default (3.3) with some minor fixes. Please go over them as you will need to apply them to the 2.7 patch. I've reviewed the 2.7 patch as well - it's an initial review. Did you execute all the code samples on 2.7? -- _

[issue15644] after _bytesio.seek(0), _bytesio.getvalue() returned reversed data.

2012-08-13 Thread umedoblock
New submission from umedoblock: import io _bytesio = io.BytesIO() _bytesio.write(b'abc') _bytesio.write(b'def') _bytesio.seek(0) _bytesio.write(b'xyz') print(_bytesio.read(2)) print(_bytesio.read(2)) print(_bytesio.getvalue()) # output b'de' b'f' b'xyzdef' # where is the b'abc' ? -- c

[issue15642] Integrate pickle protocol version 4 GSoC work by Stefan Mihaila

2012-08-13 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: I get warnings when compiling with the patch: /home/avassalotti/pickle4/Modules/_pickle.c: In function ‘save_global_binary’: /home/avassalotti/pickle4/Modules/_pickle.c:2952: warning: pointer targets in passing argument 2 of ‘_Pickler_Write’ differ in si

[issue15642] Integrate pickle protocol version 4 GSoC work by Stefan Mihaila

2012-08-13 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: There are reference leaks in the _pickle.c part that will need to be fixed too. 22:36:29 [~/pickle4]$ ./python -m test.regrtest -R :: test_pickle [1/1] test_pickle beginning 9 repetitions 123456789 . test_pickle leaked [14780, 14780, 14780, 14780

[issue15644] after _bytesio.seek(0), _bytesio.getvalue() returned reversed data.

2012-08-13 Thread Ned Deily
Ned Deily added the comment: The program works as expected. After the first two writes, the buffer contains b'abcdef'. Then the seek(0) moves the stream pointer to the beginning of the buffer and the next write overwrites buffer positions 0 through 2, replacing b'abc' with b'xyz'. So now th

[issue15634] synchronized decorator for the threading module

2012-08-13 Thread Juan Javier
Juan Javier added the comment: Ok, you are right, serialized is the right name. Also, passing the lock to the decorator will the correct option. -- ___ Python tracker ___ __

<    1   2