[issue24470] ctypes incorrect handling of long int on 64bits Linux
Marco Clemencic added the comment: Hi, apologies for the very late answer, but I just discovered that the mails got flagged as spam :( In any case, I do not know where I got this args from, but I can confirm that the problem is just a bug on my side. Thanks Marco -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24470 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24470] ctypes incorrect handling of long int on 64bits Linux
Terry J. Reedy added the comment: Thank you for following up on this. -- stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24470 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19663] Not so correct error message when initializing defaultdict
Milan Oberkirch added the comment: *ping* This is still a reasonable patch. Would be great if you can apply it :) -- nosy: +zvyn versions: +Python 3.5, Python 3.6 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19663 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24665] CJK support for textwrap
Florent Gallaire added the comment: Bad wrapping of CJK chars is a bug. I don't understand why Python2 should be broken forever! -- versions: +Python 2.7 -Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24665 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22609] Constructors of some mapping classes don't accept `self` keyword argument
Serhiy Storchaka added the comment: Ping again. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22609 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24668] Deprecate 00000 as a synonym for 0
New submission from Steven D'Aprano: As discussed on the python-ideas list here: Subject: Disallow 0 as a synonym for 0 https://mail.python.org/pipermail/python-ideas/2015-July/034631.html and on Stackoverflow, leading zeroes are forbidden for ints, due to the possible confusion with C-style octal literals e.g. 007 raises syntax error. However, zero itself allows an arbitrary number of leading zeroes, e.g. 000 is accepted. Nobody seems to know why this special case was allowed in the first place, or come up with a use-case for it. I propose deprecating this: 0 will be the one canonical way to write a zero int in base 10. 00 000 etc should raise a compile-time deprecation warning, to be eventually turned into a syntax error same as 01 002 etc. Float literals, string conversions, and bin/oct/hex literals will remain unchanged. Cons: if there is anyone out there typing `000` when `0` will do, this will complain noisily. Pros: cleaner syntax; some typos which may be silently accepted (`00` for `90`) will be caught. -- messages: 246939 nosy: steven.daprano priority: normal severity: normal status: open title: Deprecate 0 as a synonym for 0 type: behavior versions: Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24668 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24667] OrderedDict.popitem() raises KeyError
New submission from Fabian: While testing pywikibot using requests and urllib3 on Python 3.6 we got an interesting error: == ERROR: testQueryApiGetter (tests.wikidataquery_tests.TestApiSlowFunctions) Test that we can actually retreive data and that caching works. -- Traceback (most recent call last): File /home/travis/build/xZise/pywikibot-core/tests/wikidataquery_tests.py, line 252, in testQueryApiGetter data = w.query(q) File /home/travis/build/xZise/pywikibot-core/pywikibot/data/wikidataquery.py, line 601, in query data = self.getDataFromHost(fullQueryString) File /home/travis/build/xZise/pywikibot-core/pywikibot/data/wikidataquery.py, line 563, in getDataFromHost resp = http.fetch(url) File /home/travis/build/xZise/pywikibot-core/pywikibot/comms/http.py, line 359, in fetch error_handling_callback(request) File /home/travis/build/xZise/pywikibot-core/pywikibot/comms/http.py, line 276, in error_handling_callback raise request.data File /home/travis/build/xZise/pywikibot-core/pywikibot/comms/http.py, line 255, in _http_process auth=auth, timeout=timeout, verify=True) File /home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/requests/sessions.py, line 465, in request resp = self.send(prep, **send_kwargs) File /home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/requests/sessions.py, line 573, in send r = adapter.send(request, **kwargs) File /home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/requests/adapters.py, line 337, in send conn = self.get_connection(request.url, proxies) File /home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/requests/adapters.py, line 251, in get_connection conn = self.poolmanager.connection_from_url(url) File /home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/requests/packages/urllib3/poolmanager.py, line 139, in connection_from_url return self.connection_from_host(u.host, port=u.port, scheme=u.scheme) File /home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/requests/packages/urllib3/poolmanager.py, line 125, in connection_from_host self.pools[pool_key] = pool File /home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/requests/packages/urllib3/_collections.py, line 66, in __setitem__ _key, evicted_value = self._container.popitem(last=False) KeyError: ('https', 'eu.wiktionary.org', 443) Now that doesn't make much sense, as OrderedDict.popitem() only returns a KeyError if it's empty but then not with that error message. Unfortunately I can't reproduce it without doing the complete pywikibot test suite. When I only execute the tests where it occurred I don't get any failures. So I modified the output in urllib3 and returned the key as well as the content before popitem(last=False) is called (I shortened the values): Key: ('https', 'bn.wikipedia.org', 443) Content: OrderedDict([(('https', 'bn.wikipedia.org', 443), requests.packages.urllib3.connectionpool.HTTPSConnectionPool object at 0x7fe483d991d0), (('https', 'bs.wikipedia.org', 443), …0x7fe483d99470), (('https', 'ca.wikipedia.org', 443), …0x7fe483da0e10), (('https', 'cs.wikipedia.org', 443), …0x7fe483dfc908), (('https', 'da.wikipedia.org', 443), …0x7fe483d98c88), (('https', 'de.wikipedia.org', 443), …0x7fe4911e06a0), (('https', 'diq.wikipedia.org', 443), …0x7fe483d6b400), (('https', 'dsb.wikipedia.org', 443), …0x7fe483d6bcf8), (('https', 'en.wikipedia.org', 443), …0x7fe483dc1da0), (('https', 'eo.wikipedia.org', 443), …0x7fe483d6cf28), (('https', 'es.wikipedia.org', 443), …0x7fe483d6b4a8), (('https', 'fa.wikipedia.org', 443), …0x7fe483d27278), (('https', 'fi.wikipedia.org', 443), …0x7fe483d6ce10), (('https', 'fr.wikipedia.org', 443), …0x7fe483e24cf8), (('https', 'frr.wikipedia.org', 443), …0x7fe483d39390), (('https', 'ga.wikipedia.org', 443), …0x7fe483c99668), (('https', 'gl.wikipedia.org', 443), …0x7fe483ca3f98), (('https', 'als.wikipedia.org', 443), …0x7fe483c4fcf8), (('https', 'hu.wikipedia.org', 443), …0x7fe483cd09e8)]) As you can see it is not empty and the key in the KeyError is the first key in the OrderedDict. Also the key there is different from the key in the original exception I noticed so it's not a specific key that failed. I don't think versions before Python 3.6 are affected as we had tests running on Python 3.5 (before Travis switched to 3.6 recently) and these all worked. Also not all popitem() calls in that line fail. I'm using Python 3.6.0a0 (default:d6c91b8242d2, Jul 18 2015, 16:36:01). See also: https://github.com/shazow/urllib3/issues/680 and https://phabricator.wikimedia.org/T106212 -- components: Library (Lib) messages: 246937 nosy: xZise priority: normal severity: normal status: open title: OrderedDict.popitem() raises KeyError
[issue23496] Steps for Android Native Build of Python 3.4.2
Cyd Haselton added the comment: UPDATE: Haven't forgotten about this; I'm currently (thanks to Android's new mandatory PIE binaries requirement) rebuilding all of the necessary utilities (openssl, curl, git, etc) so that I can clone and test. Between the above and a sharp increase in workload at the day job, expect a few weeks delay between now and continued work on this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23496 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24667] OrderedDict.popitem() raises KeyError
Changes by John Mark Vandenberg jay...@gmail.com: -- nosy: +John.Mark.Vandenberg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24668] Deprecate 00000 as a synonym for 0
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24668 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24667] OrderedDict.popitem() raises KeyError
Changes by Cory Benfield c...@lukasa.co.uk: -- nosy: +Lukasa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24667] OrderedDict.popitem() raises KeyError
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24669] inspect.getsource() returns the wrong lines for coroutine functions
Changes by Kai Groner k...@gronr.com: -- components: Library (Lib) nosy: groner priority: normal severity: normal status: open title: inspect.getsource() returns the wrong lines for coroutine functions type: behavior versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24669 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24661] CGIHTTPServer: premature unescaping of query string
John S added the comment: Image you had the following URL. http://localhost:8000/cgi-bin/test.cgi?q=Dolce%26Gabbanap=1 os.environ['QUERY_STRING'] would hold the value q=DolceGabbanap=1 If you ran the following code, you would be unable to get the value of the q paramater in full. import cgi form = cgi.FieldStorage() print form[q].value # Outputs Dolce without the Gabbbana -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24661 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24669] inspect.getsource() returns the wrong lines for coroutine functions
New submission from Kai Groner: inspect.findsource() looks for lines that start with `def`. This patch adds a clause to the regex so lines starting with `async def` will also be recognized. -- keywords: +patch Added file: http://bugs.python.org/file39950/inspect-getsource-asyncdef.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24669 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24667] OrderedDict.popitem() raises KeyError
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - eric.snow nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24668] Deprecate 00000 as a synonym for 0
Raymond Hettinger added the comment: Since is unambiguous, I propose leaving this alone unless some actual harm can be shown. The leading zeros for floats have proven to be harmless, 00.0 is valid. I see no reason to churn the code, go through deprecation effort, burden the docs with a X-stopped-being-valid-in-version-Y. Unless Georg states that this was a flat-out mistake, I vote -1 based on there being insufficient motivation to undo an already released implementation decision. -- assignee: - georg.brandl nosy: +georg.brandl, rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24668 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24669] inspect.getsource() returns the wrong lines for coroutine functions
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +yselivanov stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24669 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24671] idlelib 2.7: finish converting print statements
New submission from Terry J. Reedy: Porting patches from 3.x to 2.7 would be much easier if print were always a function and not a statement in 2.7. Two modules, configHandler and PyShell, have been converted to print functions (from __future__ import print_function and () added). GrepDialog has parentheses added everywhere, WidgetRedirector has them in 1 of 2 places. Both could use the import so print(a,b) is not printed as a tuple when not intended to. I intend to patch these separately. These modules only have print statements: ColorDelegator, EditorWindow, FileList, MultiCall, Percolator, ScrolledList, UndoDelegator, WindowList, rpc.py, run.py. I believe these could all be patched correctly most easily with the help of 2to3 with just the print fixer used. The last two use file. MultiCall also has commented-out prints. RemoteDebugger only has such. These could be uncommented, fixed, and recommented in a separate patch. Any adjustment of print args to match 3.x should at least be a separate patch, if not issue. -- components: IDLE messages: 246950 nosy: serhiy.storchaka, terry.reedy priority: normal severity: normal stage: needs patch status: open title: idlelib 2.7: finish converting print statements type: enhancement versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24671 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24642] Will there be an MSI installer?
Changes by Alex Walters tritium-l...@sdamon.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24642 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24097] Use after free in PyObject_GetState
Serhiy Storchaka added the comment: Here is a test for this issue. -- stage: test needed - patch review Added file: http://bugs.python.org/file39953/test_issue24097.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24097 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24649] python -mtrace --help is wrong
Alexander Belopolsky added the comment: Maybe it is time to rewrite trace module argument parser using argparse and get an always correct auto-generated help for free? -- keywords: +easy stage: - needs patch versions: +Python 3.6 -Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24649 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24671] idlelib 2.7: finish converting print statements
Roundup Robot added the comment: New changeset 949ba97beece by Terry Jan Reedy in branch '2.7': Issue #24671: Finish print conversion, idlelib GrepDialog and WidgetRedirector. https://hg.python.org/cpython/rev/949ba97beece -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24671 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24654] PEP 492 - example benchmark doesn't work (TypeError)
Marcin Szewczyk added the comment: Thanks for the update. Regarding the plain generator part -- am I right thinking it's simply a generator not decorated with @asyncio.coroutine? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24654 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24667] OrderedDict.popitem()/__str__() raises KeyError
Fabian added the comment: Looking further into this issue, OrderedDict.pop() using the key returned from the KeyError (using eval(str(error))) also yields a KeyError. And OrderedDict.popitem() does not change the dictionary (so it's not like the KeyError is raised even though it worked). Also it appears to be empty actually. list(OrderedDict) returns an empty list even though str(OrderedDict) does not. So maybe some operations do only remove entries from one part of the data so that popitem() still thinks it's in the cache. Now I'm not familiar with urllib3 so I'm not sure how that internal OrderedDict is used to narrow down what might cause that issue. And additionally I tried to output keys(), items() and values() separately and suddenly I get a KeyError even when I just do str(): conn = self.poolmanager.connection_from_url(url) File /home/xzise/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/requests/packages/urllib3/poolmanager.py, line 139, in connection_from_url return self.connection_from_host(u.host, port=u.port, scheme=u.scheme) File /home/xzise/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/requests/packages/urllib3/poolmanager.py, line 125, in connection_from_host self.pools[pool_key] = pool File /home/xzise/.pyenv/versions/3.6-dev/lib/python3.6/site-packages/requests/packages/urllib3/_collections.py, line 66, in __setitem__ __before = str(self._container) KeyError: ('https', 'ru.wikipedia.org', 443) -- title: OrderedDict.popitem() raises KeyError - OrderedDict.popitem()/__str__() raises KeyError ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24667] OrderedDict.popitem() raises KeyError
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24670] os.chdir breaks result of os.path.abspath(__file__) and os.path.realpath(__file__)
New submission from LordBlick: The use of methods path.chdir () corrupts the subsequent ability to detect the file path which is interpreted. I've made simple example, which is atached: $ cd ~/tmp $ ./test_os_path.py abspath:~/tmp/test_os_path.py weak abspath: ~/tmp/test_os_path.py realpath: ~/tmp/subtemp/test_os_path.py weak realpath: ~/tmp/subtemp/test_os_path.py $ cd /usr $ ~/tmp/test_os_path.py abspath:~/tmp/test_os_path.py weak abspath: ~/tmp/test_os_path.py realpath: ~/tmp/subtemp/test_os_path.py weak realpath: ~/tmp/subtemp/test_os_path.py $ cd ~ $ tmp/test_os_path.py abspath:~/tmp/test_os_path.py weak abspath: ~/tmp/tmp/test_os_path.py realpath: ~/tmp/subtemp/test_os_path.py weak realpath: ~/tmp/tmp/test_os_path.py -- components: Library (Lib) files: test_os_path.py messages: 246942 nosy: LordBlick priority: normal severity: normal status: open title: os.chdir breaks result of os.path.abspath(__file__) and os.path.realpath(__file__) type: behavior versions: Python 2.7 Added file: http://bugs.python.org/file39951/test_os_path.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24670 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24583] set.update(): Crash when source set is changed during merging
Serhiy Storchaka added the comment: 5c3812412b6f caused a refleak. $ ./python -m test.regrtest -uall -R 3:3 test_set [1/1] test_set beginning 6 repetitions 123456 .. test_set leaked [23561, 24961, 23961] references, sum=72483 test_set leaked [785, 787, 787] memory blocks, sum=2359 1 test failed: test_set Proposed patch fixes this. -- priority: high - release blocker resolution: fixed - status: closed - open Added file: http://bugs.python.org/file39952/set_add_entry_leak.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24583 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24668] Deprecate 00000 as a synonym for 0
Georg Brandl added the comment: I don't recall the reason for this deliberate change (as seen from the docs change). I'm unable to come up with a good reason for this change now, but on the other hand I can't come up with a good reason for code churn and adding deprecationg warnings for a minor detail just as Raymond says. Since the direction we're going is to allow leading zeros for all decimal literals in Python 4 (if it ever comes around), that's another reason for the status quo to win. -- resolution: - rejected status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24668 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4395] Document auto __ne__ generation; provide a use case for non-trivial __ne__
Martin Panter added the comment: Nick seemed to approve of this, so perhaps it is ready to commit? The new patch just resolves a minor conflict with the current code. -- stage: patch review - commit review versions: +Python 3.6 Added file: http://bugs.python.org/file39954/default-ne-reflected-priority.v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4395 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24583] set.update(): Crash when source set is changed during merging
Roundup Robot added the comment: New changeset acb5b177dd4e by Raymond Hettinger in branch 'default': Issue #24583: Fix refcount leak. https://hg.python.org/cpython/rev/acb5b177dd4e -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24583 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and NetBSD w/ FFS, Solaris w/ UFS)
Martin Panter added the comment: This patch defeats the warnings -- status: closed - open Added file: http://bugs.python.org/file39955/stat-times-deprecated.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15745 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4395] Document auto __ne__ generation; provide a use case for non-trivial __ne__
Serhiy Storchaka added the comment: Added comments on Rietveld. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4395 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24583] set.update(): Crash when source set is changed during merging
Raymond Hettinger added the comment: Added a patch to neaten it up a bit by naming the exit conditions and avoiding the unnecessary extra incref/decref pair around the resize call. -- Added file: http://bugs.python.org/file39956/set_named_exits.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24583 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22609] Constructors of some mapping classes don't accept `self` keyword argument
Serhiy Storchaka added the comment: I was pinging Raymond. He is maintainer of the collections module, this issue is assigned to his, and he had valid objections to previous version of the patch. Even one of this reason is enough to wait his review before committing. Thank you Raymond. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22609 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24583] set.update(): Crash when source set is changed during merging
Serhiy Storchaka added the comment: AFAIK 3.5+ (not tested). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24583 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5315] signal handler never gets called
Terry J. Reedy added the comment: This was turned into a doc issue, with no patch forthcoming, but Devin has submitted a bugfix. Should this be turned back into a bug issue? -- nosy: +terry.reedy stage: - patch review versions: +Python 3.4, Python 3.5, Python 3.6 -Python 2.6, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5315 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24583] set.update(): Crash when source set is changed during merging
Raymond Hettinger added the comment: Added a variant patch that brings the steps together in a more logical manner (single entry point at the top and the named exits at the bottom, brings refcount adjustment logic together in a more coherent way). The restart target is done the same way as the top target in dictobject.c. Added a comment explaining why the pre-increment is necessary. -- Added file: http://bugs.python.org/file39957/set_self_contained.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24583 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23496] Steps for Android Native Build of Python 3.4.2
Changes by Alex Walters tritium-l...@sdamon.com: -- nosy: +tritium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23496 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24656] remove assret from mock error checking
Nick Coghlan added the comment: Marking as rejected by the module maintainer. -- resolution: - rejected stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24656 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22609] Constructors of some mapping classes don't accept `self` keyword argument
Martin Panter added the comment: Who are you pinging? I did just notice a minor English grammar problem (“one arguments”). But as far as I am concered you could have already committed the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22609 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22609] Constructors of some mapping classes don't accept `self` keyword argument
Raymond Hettinger added the comment: I will look at this more when I get a chance (likely this week). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22609 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24583] set.update(): Crash when source set is changed during merging
Raymond Hettinger added the comment: 3.6 only. Correct? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24583 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24668] Deprecate 00000 as a synonym for 0
Changes by Mark Dickinson dicki...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24668 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24668] Deprecate 00000 as a synonym for 0
Mark Dickinson added the comment: [Raymond] I propose leaving this alone unless some actual harm can be shown. +1. -- nosy: +mark.dickinson status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24668 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com