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

2013-06-17 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15955 ___ ___ Python-bugs-list

[issue16043] xmlrpc: gzip_decode has unlimited read()

2013-06-17 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16043 ___ ___ Python-bugs-list

[issue18220] In itertools.islice() make prototype like in help()

2013-06-17 Thread py.user
Changes by py.user bugzilla-mail-...@yandex.ru: Added file: http://bugs.python.org/file30616/issue18220.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18220 ___

[issue18220] In itertools.islice() make prototype like in help()

2013-06-17 Thread py.user
Changes by py.user bugzilla-mail-...@yandex.ru: Removed file: http://bugs.python.org/file30599/issue18220.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18220 ___

[issue18220] In itertools.islice() make prototype like in help()

2013-06-17 Thread py.user
py.user added the comment: range and slice are normal in python3.4 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18220 ___ ___ Python-bugs-list

[issue17005] Add a topological sort algorithm

2013-06-17 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17005 ___ ___ Python-bugs-list

[issue18239] In itertools docstring update arguments in count() example

2013-06-17 Thread py.user
New submission from py.user: print(itertools.__doc__) Functional tools for creating and using iterators. Infinite iterators: count([n]) -- n, n+1, n+2, ... ... -- assignee: docs@python components: Documentation, Library (Lib) files: issue.patch keywords: patch messages: 191317 nosy:

[issue17925] asynchat.async_chat.initiate_send : del deque[0] is not safe

2013-06-17 Thread Xavier de Gaye
Xavier de Gaye added the comment: I think you mean: self.producer_fifo.extendleft([data, first]) Instead of: self.producer_fifo.extendleft([first, data]) No? No, I do mean: self.producer_fifo.extendleft([first, data]) See the documentation. Also: from collections

[issue17925] asynchat.async_chat.initiate_send : del deque[0] is not safe

2013-06-17 Thread Xavier de Gaye
Xavier de Gaye added the comment: After applying the last patch cpython.asyncore_3.patch (while cpython.asyncore_2.patch does not fail): == FAIL: test_simple_producer (test.test_asynchat.TestAsynchat)

[issue18237] unittest.assertRaisesRegex(p) example is wrong in docs

2013-06-17 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- versions: -Python 3.1, Python 3.2, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18237 ___

[issue18153] python imaplib - error 'unexpected repsonse'

2013-06-17 Thread tahnoon pasha
tahnoon pasha added the comment: Hi David Adding the following post and response from the davmail author/ maintainers site. He seems to have fixed it in davmail and suggests the following fix in imaplib.py if there is a desire to amend it to allow stray spaces Le 15/06/2013 08:19, tahnoon a

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18238 ___ ___ Python-bugs-list mailing

[issue18240] hmac unnecessarily restricts input to bytes

2013-06-17 Thread Jonas Borgström
New submission from Jonas Borgström: Problem: In hmac.py there's a type check that verifies that the msg parameter is of type bytes(). if not isinstance(msg, bytes): raise TypeError(expected bytes, but got %r % type(msg).__name__) That is incorrect. The hmac module should also work with

[issue18240] hmac unnecessarily restricts input to bytes

2013-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +christian.heimes, gregory.p.smith stage: - needs patch type: behavior - enhancement versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18240

[issue18234] Unicodedata module should provide access to codepoint aliases

2013-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +benjamin.peterson, ezio.melotti, lemburg, loewis, serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18234 ___

[issue18233] SSLSocket.getpeercertchain()

2013-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- dependencies: +SSL: diagnostic functions to list loaded CA certs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18233 ___

[issue18207] OpenSSL may ignore seconds in notAfter

2013-06-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm not sure we should care much about this, but feel free to improve the tests of course :-) -- components: +Tests -Extension Modules priority: normal - low type: - behavior ___ Python tracker

[issue17944] Refactor test_zipfile

2013-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Terry for review. Here is updated patch addressed Terry's comments. Now random datas for tests generated once per class (generating them once per module will be more cumbersome and will save less time). Arguments for zipfile.open() now generated

[issue18240] hmac unnecessarily restricts input to bytes

2013-06-17 Thread Christian Heimes
Christian Heimes added the comment: Good idea! We can also lift the restriction for ``key`` a bit. It can also take a bytearray as argument. bytearray has translate() and supports bytes + bytearay. -- assignee: - christian.heimes ___ Python

[issue17944] Refactor test_zipfile

2013-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: When applying first Terry's suggestion I found a bug. self.list_gen was a generator and when self.list_gen used second time it was exhausted. As result, some tests were skipped and a bug with concatenating bytes and '\n' was not exposed. This bug should be

[issue14653] Improve mktime_tz to use calendar.timegm instead of time.mktime

2013-06-17 Thread Jakub Wilk
Jakub Wilk added the comment: The documentations says Minor deficiency: mktime_tz() interprets the first 8 elements of tuple as a local time and then compensates for the timezone difference. This may yield a slight error around changes in daylight savings time, though not worth worrying about

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread STINNER Victor
STINNER Victor added the comment: test_signal.py wait_helper hangs on AIX. Why does the test hang? I prefer to only skip a test if I understood the issue (when it is not fixable in Python, like a bug in the kernel). -- ___ Python tracker

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-17 Thread Vinay Sajip
Vinay Sajip added the comment: With the attached patch, python -m test_idle test_logging passes (though test_idle still alters locale and environment). Running python -m idelib.idle, and using IDLE itself for inspection, the warnings.formatwarning is set to the implementation in idlelib.run.

[issue18223] Refactor test_tarfile

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4b2188b13dd2 by Serhiy Storchaka in branch '3.3': Issue #18223: Refactor test_tarfile. http://hg.python.org/cpython/rev/4b2188b13dd2 New changeset 5c0816e64aac by Serhiy Storchaka in branch 'default': Issue #18223: Refactor test_tarfile.

[issue18223] Refactor test_tarfile

2013-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Ezio and Zachary for review. I have included Zachary's patch for issue17689. In addition catching the FileNotFoundError exception used now in test_non_existent_targz_file instead of IOError/OSError + checking errno. -- resolution: - fixed

[issue18223] Refactor test_tarfile

2013-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18223 ___ ___

[issue18207] OpenSSL may ignore seconds in notAfter

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset c484ca129288 by Christian Heimes in branch 'default': Issue #18207: Fix test_ssl for some versions of OpenSSL that ignore seconds http://hg.python.org/cpython/rev/c484ca129288 -- nosy: +python-dev ___

[issue18167] cgi.FieldStorage fails to handle multipart/form-data when \r\n appears at end of 65535 bytes without other newlines

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 63058453a4cc by Serhiy Storchaka in branch '2.7': Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-data http://hg.python.org/cpython/rev/63058453a4cc New changeset a48f65bac986 by Serhiy Storchaka in branch '3.3': Issue #18167:

[issue18167] cgi.FieldStorage fails to handle multipart/form-data when \r\n appears at end of 65535 bytes without other newlines

2013-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18167

[issue18207] OpenSSL may ignore seconds in notAfter

2013-06-17 Thread Christian Heimes
Christian Heimes added the comment: Additional versions of OpenSSL may be affected by the issue. We can add these versions whenever we run into the issue again. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python

[issue18147] SSL: diagnostic functions to list loaded CA certs

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 38e759e4c9e6 by Christian Heimes in branch 'default': Issue #18147: Add diagnostic functions to ssl.SSLContext(). http://hg.python.org/cpython/rev/38e759e4c9e6 -- nosy: +python-dev ___ Python tracker

[issue18147] SSL: diagnostic functions to list loaded CA certs

2013-06-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- resolution: - fixed stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18147 ___

[issue18147] SSL: diagnostic functions to list loaded CA certs

2013-06-17 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18147 ___

[issue18113] Memory leak in curses.panel

2013-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I've attached a new version of the patch that does this check, and also adds a test. You are right. Your patch LGTM. (OTOH, looking at the ncurses 5.9 source code, set_panel_userptr() only returns an error if the panel object is NULL, which should

[issue18153] python imaplib - error 'unexpected repsonse'

2013-06-17 Thread R. David Murray
R. David Murray added the comment: I don't understand why his keepalive requires the extra spaces...and I'm not 100% sure that accepting them will fix the problem, though in theory it should. I still lean toward making the spaces fix in imaplib, based on the postel principle. I'd prefer to

[issue14653] Improve mktime_tz to use calendar.timegm instead of time.mktime

2013-06-17 Thread R. David Murray
R. David Murray added the comment: Since this issue has been closed, it would be great if you'd open a new issue just for the doc change. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14653

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-17 Thread R. David Murray
R. David Murray added the comment: Note that it is a known issue that tk (not python's bindings, tk itself) alters the locale. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18081 ___

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread David Edelsohn
David Edelsohn added the comment: I understand that this is a work-around and the intention is to investigate each error in the testsuite on AIX. But currently this bug eventually leads to a timeout in the testsuite and half of the tests are not run. I am trying to get the AIX buildbot

[issue18225] ctypes Structure data size is incorrect

2013-06-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: You can also use _pack_ = 1 to override the default alignment rules: http://docs.python.org/3/library/ctypes.html#ctypes.Structure._pack_ -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org

[issue18241] Add unique option to heapq functions

2013-06-17 Thread Antoine Pitrou
New submission from Antoine Pitrou: In one application, I would like to use a heap as an allocation pool. I also want to check that a given value isn't released twice, therefore that the heap contains unique values. My use case would be solved nicely if heappush() took an optional

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-17 Thread Brett Cannon
Brett Cannon added the comment: Another odd thing about this failure is that http://hg.python.org/cpython/rev/59a11c81dd3c should have fixed it as it should be setting warnings.showwarning() back to it's original value before the test began executing. So I checked PyShell again and found out

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-17 Thread Brett Cannon
Brett Cannon added the comment: And Lib/idlelib/run.py also does the substitution. I'll file a separate bug for all of this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18081 ___

[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-17 Thread Brett Cannon
New submission from Brett Cannon: Both idlelib.run and idlelib.PyShell replace warning.formatwarning which is a no-no. Only warning.showwarning is design to be replaced in any way. The proper solution is to replace warnings.showwarning with code that calls whatever formatting function you

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-17 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- dependencies: +IDLE should not be replacing warnings.formatwarning ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18081 ___

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-17 Thread Peter Santoro
Peter Santoro added the comment: As requested, I've attached a small test script called shadow.py. Steps to reproduce: 1) pyvenv.py bugtest 2) copy the attached shadow.py script to bugtest and bugtest\scripts 3) cd bugtest 4) run shadow.py (first entry in sys.path is refers to bugtest

[issue14653] Improve mktime_tz to use calendar.timegm instead of time.mktime

2013-06-17 Thread Jakub Wilk
Jakub Wilk added the comment: Fair enough, filed as issue #18243. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14653 ___ ___ Python-bugs-list

[issue18243] mktime_tz documentation out-of-date

2013-06-17 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email nosy: +barry, r.david.murray versions: +Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18243 ___

[issue18243] mktime_tz documentation out-of-date

2013-06-17 Thread Jakub Wilk
New submission from Jakub Wilk: email.utils.mktime_tz documentations says: Minor deficiency: mktime_tz() interprets the first 8 elements of tuple as a local time and then compensates for the timezone difference. This may yield a slight error around changes in daylight savings time, though not

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-17 Thread Vinay Sajip
Vinay Sajip added the comment: the fact that Python initializes sys.path[0] to contain the directory of the executing script Of course, silly me. Sorry. I would prefer to remove the pydoc script altogether. The other alternative would be to rename it to pydoc-script.py and have a pydoc.exe

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-17 Thread Vinay Sajip
Vinay Sajip added the comment: Rethinking, renaming seems more reasonable. I've posted about it to python-dev: http://mail.python.org/pipermail/python-dev/2013-June/126904.html -- ___ Python tracker rep...@bugs.python.org

[issue18206] license url in site.py should always use X.Y.Z form of version number

2013-06-17 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- keywords: +patch nosy: +berker.peksag stage: needs patch - patch review Added file: http://bugs.python.org/file30621/issue18206.diff ___ Python tracker rep...@bugs.python.org

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
New submission from Edward Catmur: Suppose we have a class C with MRO (C, B, A, object). C virtual-inherits an ABC V, while B virtual-inherits an unrelated ABC W: object / | \ A W | | .` / B` V | .` C` Recalling that per PEP 443

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Edward Catmur added the comment: Apologies, the linked repository is for the 2.x backport of singledispatch. I'll replace it with a proper Python repo. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18244

[issue18103] Create a GUI test framework for Idle

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan raaj...@gmail.com: -- nosy: +JayKrish ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18103 ___ ___ Python-bugs-list

[issue18233] SSLSocket.getpeercertchain()

2013-06-17 Thread Christian Heimes
Christian Heimes added the comment: As expected it is much harder to get the full certification chain from OpenSSL than I initially expected. SSL_get_peer_cert_chain() doesn't return the root CA's certificate. The new patch introduces a validation mode and uses

[issue18104] Idle: make human-mediated GUI tests usable

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan raaj...@gmail.com: -- nosy: +JayKrish ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18104 ___ ___ Python-bugs-list

[issue18231] What's new in Python should explain what's new in UCD

2013-06-17 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: MvL Are you sure that the permission to use KHMER VOWEL INHERENT AQ MvL in an identifier is worth mentioning? No, but it is worth mentioning that there are no more substantial changes. I don't think the change from 6.1.0 to 6.2.0 has any effect on

[issue12197] non-blocking SSL write fails if a partial write was issued

2013-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12197 ___ ___ Python-bugs-list

[issue15071] TLS get keys and randoms

2013-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15071 ___ ___ Python-bugs-list

[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2013-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10852 ___ ___ Python-bugs-list

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Changes by Edward Catmur e...@catmur.co.uk: -- keywords: +patch Added file: http://bugs.python.org/file30623/singledispatch-mro-18244.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18244

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Changes by Edward Catmur e...@catmur.co.uk: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18244 ___ ___ Python-bugs-list

[issue18245] In itertools.groupby() make data plural

2013-06-17 Thread py.user
New submission from py.user: http://en.wiktionary.org/wiki/data data (uncountable) or plural noun -- assignee: docs@python components: Documentation files: issue.diff keywords: patch messages: 191354 nosy: docs@python, py.user priority: normal severity: normal status: open title: In

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Edward Catmur added the comment: See attachment for patch and test. Note that reproducing the issue without access to singledispatch internals depends on iteration order of a dict of types and is thus intermittent/environment dependent. -- ___

[issue18245] In itertools.groupby() make data plural

2013-06-17 Thread Ned Batchelder
Ned Batchelder added the comment: Please don't make this change. Data is used as a singular collective noun, especially in software contexts. Data as a plural noun sounds archaic, or at best, scientific. -- nosy: +nedbat ___ Python tracker

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- components: +Library (Lib) -Extension Modules nosy: +lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18244 ___

[issue18228] AIX locale parsing failure

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00824f9e29f3 by Victor Stinner in branch 'default': Issue #18228: Fix locale test of test.regrtest.saved_test_environment http://hg.python.org/cpython/rev/00824f9e29f3 -- nosy: +python-dev ___ Python

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- assignee: - lukasz.langa stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18244 ___

[issue14030] Be more careful about selecting the compiler in distutils

2013-06-17 Thread dnozay
dnozay added the comment: affects PyPy, here are the downstream issues: - https://bugs.pypy.org/issue662 - https://bugs.pypy.org/issue674 - https://bugs.pypy.org/issue1057 -- nosy: +dnozay ___ Python tracker rep...@bugs.python.org

[issue18245] In itertools.groupby() make data plural

2013-06-17 Thread R. David Murray
R. David Murray added the comment: Yes, the way it is now is normal written english, regardless of what any older official stylebooks may say :) -- nosy: +r.david.murray resolution: - invalid stage: - committed/rejected status: open - closed type: - behavior

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread David Edelsohn
David Edelsohn added the comment: $ ./python -m test --timeout=60 -v test_signal == CPython 3.4.0a0 (default:00824f9e29f3+, Jun 17 2013, 16:44:41) [GCC 4.8.1] == AIX-1-00F84C0C4C00-powerpc-32bit big-endian == /home/dje/src/cpython/build/test_python_5832942 Testing with flags:

[issue17121] SSH upload for distutils

2013-06-17 Thread Éric Araujo
Éric Araujo added the comment: SSH upload is an acceptable new feature for Python 3.4, if it can be done without breaking compat or changing too many internals. (The distutils feature freeze was effectively lifted at PyCon; Nick Coghlan also has a PEP in the plans to discuss how to update

[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-17 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18242 ___

[issue17902] Document that _elementtree C API cannot use custom TreeBuilder for iterparse or IncrementalParser

2013-06-17 Thread Aaron Oakley
Aaron Oakley added the comment: So sorry, I just found the emails from the bug tracker in my spam folder. Anyhow, I've now signed the CLA. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17902

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: Indeed, after debugging, it is a stack overflow caused by the introduction of the different temporary variables in the Py_XINCREF, Py_XDECREF, and Py_DECREF macros. I've attached an updated patch that reuses the _py_tmp variable for those temporary assignments

[issue18245] In itertools.groupby() make data plural

2013-06-17 Thread Mark Dickinson
Mark Dickinson added the comment: In any case, the patch only gives half of the correction. The corrected test would have to be if *those* data are needed later rather than if that data are needed later. -- nosy: +mark.dickinson ___ Python tracker

[issue18245] In itertools.groupby() make data plural

2013-06-17 Thread Mark Dickinson
Mark Dickinson added the comment: Bah. s/test/text. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18245 ___ ___ Python-bugs-list mailing list

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread David Edelsohn
David Edelsohn added the comment: By the way, if I manually override _has_poll to False, the same test fails similarly in _communicate_with_select, so the failure is not limited to the implementation of poll(). -- ___ Python tracker

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: The from test.resource import requires give me errors saying no module named resource in test (Am I missing anything?) For the moment I use from test.support import requires as in test_delegator1.patch . from test.support import requires requires('gui')

[issue18228] AIX locale parsing failure

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6cbd992d3411 by Victor Stinner in branch 'default': Issue #18228: Use locale.setlocale(name, None) instead of http://hg.python.org/cpython/rev/6cbd992d3411 -- ___ Python tracker rep...@bugs.python.org

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan raaj...@gmail.com: Removed file: http://bugs.python.org/file30626/test_delegator1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18189 ___

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan raaj...@gmail.com: Added file: http://bugs.python.org/file30627/test_delegator1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18189 ___

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset a0e234e10da6 by Victor Stinner in branch '3.3': Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX http://hg.python.org/cpython/rev/a0e234e10da6 New changeset 8e277e6bd11b by Victor Stinner in branch 'default': (Merge 3.3) Issue

[issue18241] Add unique option to heapq functions

2013-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, it's impossible without additional structure. And with a set it is trivial. def uniqueheappush(heap, inheap, item): if id(item) in inheap: return False heappush(heap, item) inheap.add(id(item)) return True def uniqueheappop(heap,

[issue18246] tkinter.Text() add a newline to the content - bug?

2013-06-17 Thread Friedrich Spee von Langenfeld
New submission from Friedrich Spee von Langenfeld: Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:06:53) [MSC v.1600 64 bit (AMD64)] on win32 Type copyright, credits or license() for more information. from tkinter import* root = Tk() text = Text() text.pack() text.insert(1.0, Hello)

[issue18241] Add unique option to heapq functions

2013-06-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: No, it's impossible without additional structure. And with a set it is trivial. Yeah, I wanted to avoid the memory overhead of a set. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18241

[issue18240] hmac unnecessarily restricts input to bytes

2013-06-17 Thread Jonas Borgström
Changes by Jonas Borgström jo...@borgstrom.se: -- keywords: +patch Added file: http://bugs.python.org/file30628/hmac.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18240 ___

[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +kbk, roger.serwy, terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18242 ___

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, 'support', not 'resource'. However, re-read my message for properly using requires to avoid the traceback. def setUpModule(): requires('gui') may also work, but I am assuming that there might be non-gui test cases added later. --

[issue18239] In itertools docstring update arguments in count() example

2013-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18239 ___ ___ Python-bugs-list

[issue18240] hmac unnecessarily restricts input to bytes

2013-06-17 Thread Christian Heimes
Christian Heimes added the comment: Thanks for your patch! Please add tests for the new feature. The documentation needs versionchanged tags, too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18240

[issue17238] IDLE: Enhance import statement completion

2013-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17238 ___ ___

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I discovered by experiment, unittest.SkipTest and subclasses are only handled properly inside of functions recognized and called by unittest. This could be better documented. -- ___ Python tracker

[issue18014] Problem compiling on Windows, VC++Express 2010

2013-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Windows 3.3 build still failed today. So I updated back to time it worked, and them skipped forward every so ofter to current, compiling each time, and it worked each time except for one problem that was fixed in the next commit. No problems with 3.4

[issue18014] Problem compiling on Windows, VC++Express 2010

2013-06-17 Thread Ezio Melotti
Ezio Melotti added the comment: FYI hg bisect makes this kind of tests a lot easier. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18014 ___

[issue17222] py_compile.compile() replaces target files, breaking special files and symlinks

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset e2ccfb096e6a by Brett Cannon in branch 'default': Issue #17222: fix a mix-up in some exception messages. http://hg.python.org/cpython/rev/e2ccfb096e6a -- ___ Python tracker rep...@bugs.python.org

[issue17222] py_compile.compile() replaces target files, breaking special files and symlinks

2013-06-17 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17222 ___

[issue17222] py_compile.compile() replaces target files, breaking special files and symlinks

2013-06-17 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17222 ___

[issue13483] Use VirtualAlloc to allocate memory arenas

2013-06-17 Thread Trent Nelson
Changes by Trent Nelson tr...@snakebite.org: -- nosy: +trent ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13483 ___ ___ Python-bugs-list mailing

[issue3329] API for setting the memory allocator used by Python

2013-06-17 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Removed file: http://bugs.python.org/file30564/py_setallocators-4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3329 ___

  1   2   >