[issue24523] coroutine asyncio.wait() does not preserve order of elements

2015-06-28 Thread Guido van Rossum
Guido van Rossum added the comment: The docs say that it returns two *sets* and Python's set datatype is unordered. So that's all you need to know. I don't think there's anything else needed in the docs. -- resolution: -> not a bug status: open -> closed _

[issue24481] hotshot pack_string Heap Buffer Overflow

2015-06-28 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24521] Integer overflow in _pickle.c

2015-06-28 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24522] Integer overflow in _json_encode_unicode leads to crash (heap-buffer-overflow)

2015-06-28 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue23670] Modifications to support iOS as a cross-compilation target

2015-06-28 Thread Russell Keith-Magee
file: http://bugs.python.org/file39824/20150628.diff ___ Python tracker <http://bugs.python.org/issue23670> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue24336] Allow arbitrary keywords to @contextmanager functions

2015-06-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset f0053d05ed6d by Serhiy Storchaka in branch '3.4': Issue #24336: The contextmanager decorator now works with functions with https://hg.python.org/cpython/rev/f0053d05ed6d New changeset 20aa7083057e by Serhiy Storchaka in branch '3.5': Issue #24336: T

[issue24336] Allow arbitrary keywords to @contextmanager functions

2015-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Martin for your patch. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ _

[issue24456] audioop.adpcm2lin Buffer Over-read

2015-06-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1f6c096ee772 by Serhiy Storchaka in branch '2.7': Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() https://hg.python.org/cpython/rev/1f6c096ee772 New changeset fd17e168b59f by Serhiy Storchaka in branch '3.4': Issue #2445

[issue24456] audioop.adpcm2lin Buffer Over-read

2015-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch for 2.7 also fixed SystemError and possible memory leak. -- ___ Python tracker ___ ___ P

[issue20387] tokenize/untokenize roundtrip fails with tabs

2015-06-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset b784c842a63c by Jason R. Coombs in branch '3.4': Issue #20387: Add test capturing failure to roundtrip indented code in tokenize module. https://hg.python.org/cpython/rev/b784c842a63c New changeset 49323e5f6391 by Jason R. Coombs in branch '3.4': I

[issue23906] poplib maxline behaviour may be wrong

2015-06-28 Thread R. David Murray
R. David Murray added the comment: The RFC is in fact not clear on this point. It is entirely possible to read it as saying that each line of a mulitline response is limited to 512 octets. I agree, however, that that is not the most reasonable interpretation. Instead, the line length of RET

[issue23906] poplib maxline behaviour may be wrong

2015-06-28 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.4, Python 3.5, Python 3.6 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list

[issue20387] tokenize/untokenize roundtrip fails with tabs

2015-06-28 Thread Jason R. Coombs
Jason R. Coombs added the comment: Patch and test applied to 3.4+. I'm inclined to backport this to Python 2.7, as that was where I encountered it originally. -- versions: +Python 3.5 -Python 3.3 ___ Python tracker

[issue20387] tokenize/untokenize roundtrip fails with tabs

2015-06-28 Thread Jason R. Coombs
Jason R. Coombs added the comment: Benjamin, any objections to a backport of this patch? -- nosy: +benjamin.peterson ___ Python tracker ___ __

[issue18578] Rename and document test.bytecode_helper as test.support.bytecode_helper

2015-06-28 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue24456] audioop.adpcm2lin Buffer Over-read

2015-06-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ __

[issue20387] tokenize/untokenize roundtrip fails with tabs

2015-06-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 524a0e755797 by Jason R. Coombs in branch '2.7': Issue #20387: Backport test from Python 3.4 https://hg.python.org/cpython/rev/524a0e755797 New changeset cb9df1ae287b by Jason R. Coombs in branch '2.7': Issue #20387: Backport fix from Python 3.4 htt

[issue24467] bytearray pop and remove Buffer Over-read

2015-06-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka stage: -> patch review versions: +Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___ _

[issue20387] tokenize/untokenize roundtrip fails with tabs

2015-06-28 Thread Jason R. Coombs
Jason R. Coombs added the comment: For the sake of expediency, I've gone ahead and backported and pushed the fix to 2.7. Please back out the changes if appropriate. -- resolution: -> fixed ___ Python tracker

[issue24462] bytearray.find Buffer Over-read

2015-06-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

[issue24485] Function source inspection fails on closures

2015-06-28 Thread Meador Inge
Meador Inge added the comment: Here is a first cut patch that moves things back to using a syntax-level analysis instead of a bytecode-level one. I extended `BlockFinder` to skip decorators. -- keywords: +patch nosy: +meador.inge stage: test needed -> patch review Added file: http://bug

[issue21217] inspect.getsourcelines finds wrong lines when lambda used argument to decorator

2015-06-28 Thread Meador Inge
Meador Inge added the comment: FYI, I posted a patch to handle this case and the regression noted in issue24485 on issue24485. -- ___ Python tracker ___ _

[issue24467] bytearray pop and remove Buffer Over-read

2015-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The bytearray object allocates one byte more for trailing null byte. ob_size always should be less than ob_alloc if ob_alloc != 0. But in rare cases when the bytearray is initialized with an iterator, this rule can be violated. Following patch restores this

[issue24524] python crash using Tkinter

2015-06-28 Thread Tomas Nordin
New submission from Tomas Nordin: $ python Python 2.7.9 (default, Mar 1 2015, 18:22:53) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. The readline tab completion thing should be loaded. (pythonstartup.py @home) >>> import Tkinter as tk >>> import t

[issue24467] bytearray pop and remove Buffer Over-read

2015-06-28 Thread DmitryJ
DmitryJ added the comment: If this is the case, then issue24462 should be fixed by this patch as well. I'm sorry about missing the root cause here. -- ___ Python tracker ___ ___

[issue24033] Update _test_multiprocessing.py to use script helpers

2015-06-28 Thread Christie
Christie added the comment: If #18576 gets merged before this does, I have some updated docs for the new helper functions. -- ___ Python tracker ___

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2015-06-28 Thread Christie
Christie added the comment: Hello all! So the following are waiting for review: * #24033 * #23981 * #24279 I'm going to hold off on continuing to refactor any other modules for the moment, would be great to get the above wrapped up and eventually merged when possible. Thanks! - Christie ---

[issue18576] Document test.support.script_helper

2015-06-28 Thread Christie
Christie added the comment: Hey @vadmium! I've finally responded to your review feedback. I've attached a new patch, hopefully this time actually review-able. I've removed the docs for methods I added in @24033 so that this could be merged without it. Let me know if you have any more feedback

[issue17546] Document the circumstances where the locals() dict get updated

2015-06-28 Thread Martin Panter
Martin Panter added the comment: Here is another attempt with different words: ''' .. note:: The dictionary returned by :func:`locals` is an accurate snapshot of the local namespace at the time it is called. If the namespace changes after the call, the dictionary may become out of date, bu