[issue20992] reading individual bytes of multiple binary files using the Python module fileinput

2014-03-24 Thread Josh Rosenberg
Josh Rosenberg added the comment: And of course, missed another typo. open's first arg should be file, not filename. -- ___ Python tracker ___ __

[issue21044] tarfile does not handle file .name being an int

2014-03-24 Thread Antoine Pietri
Antoine Pietri added the comment: Well, this behavior seems pretty inconsistent to me, it means that every library has to check if the name attribute is actually a string (which would correspond to a path) or an int (that would mean a fd), and I think a "fd" attribute would seem more consiste

[issue21054] Improve indexing of syntax symbols

2014-03-24 Thread Terry J. Reedy
New submission from Terry J. Reedy: Since I will post multiple patches for review on separate issues, this is an index issue that will have multiple dependencies. -- messages: 214761 nosy: terry.reedy priority: normal severity: normal status: open title: Improve indexing of syntax symbo

[issue21043] Stop recommending CACert.org in the SSL documentation

2014-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6f776c91da08 by Donald Stufft in branch '3.4': Issue #21043: Remove the recommendation for specific CA organizations http://hg.python.org/cpython/rev/6f776c91da08 -- nosy: +python-dev ___ Python tracker

[issue21055] Index (augmented) assignment symbols

2014-03-24 Thread Terry J. Reedy
New submission from Terry J. Reedy: Dependency of 21054 -- files: index-assign.diff keywords: patch messages: 214763 nosy: terry.reedy priority: normal severity: normal stage: patch review status: open title: Index (augmented) assignment symbols type: behavior versions: Python 2.7, Pytho

[issue21043] Stop recommending CACert.org in the SSL documentation

2014-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0485552b487e by Donald Stufft in branch 'default': Merge in 3.4 to bring forward the Issue #21043 changes. http://hg.python.org/cpython/rev/0485552b487e -- ___ Python tracker

[issue21043] Stop recommending CACert.org in the SSL documentation

2014-03-24 Thread Donald Stufft
Changes by Donald Stufft : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue21043] Stop recommending CACert.org in the SSL documentation

2014-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7ef262eafecd by Donald Stufft in branch '2.7': Issue #21043 - Remove CACert.org from the recommendations http://hg.python.org/cpython/rev/7ef262eafecd -- ___ Python tracker

[issue20469] ssl.getpeercert() should include extensions

2014-03-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you can, write test code that fails now and indicate what success would look like. It can start as a separate file rather than a patch to test_ssl. It does not have to use unittest, though that would be helpful. -- nosy: +terry.reedy stage: -> test

[issue20469] ssl.getpeercert() should include extensions

2014-03-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: test needed -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20469] ssl.getpeercert() should include extensions

2014-03-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: The ssl module doesn't return all cert contents simply because it isn't easy to do so, or at least AFAICT it isn't. If you look at _decode_certificate() in Modules/_ssl.c you'll see the kind of code that is needed for the few fields that Python currently retur

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Mon, Mar 24, 2014, at 14:56, Martin v. Löwis wrote: > > Martin v. Löwis added the comment: > > What triggered my interpretation might have been this conversation: > > https://mail.python.org/pipermail/python-dev/2002-May/023998.html > https://mail.python

[issue20951] SSLSocket.send() returns 0 for non-blocking socket

2014-03-24 Thread Nikolaus Rath
Nikolaus Rath added the comment: (refreshed patch) -- Added file: http://bugs.python.org/file34608/issue20951.diff ___ Python tracker ___

[issue15955] gzip, bz2, lzma: add option to limit output size

2014-03-24 Thread Nikolaus Rath
Nikolaus Rath added the comment: Thanks Nadeem. I'll get going. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue15955] gzip, bz2, lzma: add option to limit output size

2014-03-24 Thread Nikolaus Rath
Nikolaus Rath added the comment: I have attached a patch adding the max_length parameter to LZMADecompressor.decompress(). I have chosen to store the pointer to any unconsumed input in the lzma stream object itself. The new convention is: if lzs.next_in != NULL, then there is valid data that

[issue21056] csv documentation is incorrect

2014-03-24 Thread NRGunby
New submission from NRGunby: The documentation for the csv reader objects next() method is incorrect. It states ' csvreader.next() Return the next row of the reader’s iterable object as a list, parsed according to the current dialect.' Either the documentation for DictReader objects needs to

[issue21057] TextIOWrapper does not support reading bytearrays or memoryviews

2014-03-24 Thread Nikolaus Rath
New submission from Nikolaus Rath: In Python 3.4, TextIOWrapper can not read from streams that return bytearrays or memoryviews: from io import TextIOWrapper, BytesIO class MyByteStream(BytesIO): def read1(self, len_): return memoryview(super().read(len_)) bs = MyByteStream(b'some d

[issue21057] TextIOWrapper does not support reading bytearrays or memoryviews

2014-03-24 Thread Nikolaus Rath
Nikolaus Rath added the comment: If someone is willing to review, I'd be happy to write a patch for this. -- ___ Python tracker ___ __

[issue21058] tempfile.NamedTemporaryFile leaks file descriptor when fdopen fails

2014-03-24 Thread tholzer
New submission from tholzer: The NamedTemporaryFile inside the standard tempfile library leaks an open file descriptor when fdopen fails. Test case: # ulimit -SHn 50 # python test1.py from tempfile import NamedTemporaryFile while 1: try: NamedTemporaryFile(mode='x') except Va

<    1   2