[issue29347] Python could crash while creating weakref for a given object

2017-02-04 Thread Xiang Zhang
Xiang Zhang added the comment: After reading the code I could see the possibility. A weakref object gets two linkedlist pointers which are not initialized by new_weakref (actually they are initialized by insert_head or insert_after). But the weakref object is possible to be destroyed in [1] an

[issue29438] SIGSEGV in PyObject_Malloc on python 3.6 and 3.7

2017-02-04 Thread INADA Naoki
INADA Naoki added the comment: 4385 int was_shared = cached == ((PyDictObject *)dict)->ma_keys; 4386 res = PyDict_SetItem(dict, key, value); 4387 if (was_shared && cached != ((PyDictObject *)dict)->ma_keys) { 4388

[issue29347] Python could crash while creating weakref for a given object

2017-02-04 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +fdrake ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2017-02-04 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> subprocess.Popen(cwd) documentation ___ Python tracker ___

[issue29394] Cannot tunnel TLS connection through TLS connection

2017-02-04 Thread Maximilian Blochberger
Maximilian Blochberger added the comment: Yes. There should be at least an explanation of this behaviour in the documentation of the wrap_socket() function. I would additionally raise an exception if wrap_socket() is called and a socket is passed that is already wrapped. But I'm not sure if th

[issue29387] Tabs vs spaces FAQ out of date

2017-02-04 Thread Martin Panter
Martin Panter added the comment: Marco: I agree “Python reports an error” would have been simpler. That is what I meant to say. Anyway, perhaps we should put Python raises :exc:`IndentationError` if mixed tabs and spaces are causing problems in leading whitespace. In general, the exception se

[issue15451] PATH is not honored in subprocess.Popen in win32

2017-02-04 Thread Martin Panter
Martin Panter added the comment: Perhaps this is a duplicate of Issue 8557 -- nosy: +martin.panter ___ Python tracker ___ ___ Python-b

[issue15533] subprocess.Popen(cwd) documentation: Posix vs Windows

2017-02-04 Thread Martin Panter
Changes by Martin Panter : -- components: +Windows stage: test needed -> needs patch title: subprocess.Popen(cwd) documentation -> subprocess.Popen(cwd) documentation: Posix vs Windows ___ Python tracker _

[issue29411] Option --executable for entry_points

2017-02-04 Thread Michal Cyprian
Michal Cyprian added the comment: Yes, both references in my previous message point to the patch for setuptools, sorry for that. Here [3] is the patch that I prepared for distutils. I marked all the versions, because this functionality is missing in all of them. In my opinion it will be enough

[issue27867] various issues due to misuse of PySlice_GetIndicesEx

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7b637af5a7e by Serhiy Storchaka in branch '3.5': Issue #27867: Silenced may-be-used-uninitialized warnings after https://hg.python.org/cpython/rev/d7b637af5a7e New changeset 17d0cfc64a32 by Serhiy Storchaka in branch '2.7': Issue #27867: Silenced m

[issue27867] various issues due to misuse of PySlice_GetIndicesEx

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 110ec861e5ea by Serhiy Storchaka in branch '2.7': Issue #27867: Fixed merging error. https://hg.python.org/cpython/rev/110ec861e5ea -- ___ Python tracker _

[issue29300] Modify the _struct module to use FASTCALL and Argument Clinic

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9245894af223 by Serhiy Storchaka in branch 'default': Issue #29300: Use Argument Clinic for getting struct object from the format. https://hg.python.org/cpython/rev/9245894af223 -- ___ Python tracker

[issue29347] Python could crash while creating weakref for a given object

2017-02-04 Thread Saida Dhanavath
Saida Dhanavath added the comment: Hi xiang, I have already patched our build environment with the fix and tested it locally. Although I cannot test it in production, have taken out the code of new_weakref, init_weakref and clear_weakref from weakrefobject.c. Changed init_weakref to initiali

[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 50958e13c833 by Serhiy Storchaka in branch 'default': Issue #20185: Converted the gc module to Argument Clinic. https://hg.python.org/cpython/rev/50958e13c833 -- ___ Python tracker

[issue29438] SIGSEGV in PyObject_Malloc on python 3.6 and 3.7

2017-02-04 Thread STINNER Victor
STINNER Victor added the comment: You may try to reproduce with a release build and PYTHONMALLOC=debug to check for buffer over/underflow. -- ___ Python tracker ___ _

[issue29431] Add a PYTHONREVERSEDICTKEYORDER environment variable

2017-02-04 Thread lamby
lamby added the comment: > we're expecting we'll make that a language requirement Mmm, but only for (at least) 3.7+. It would still be very useful to find software that is relying on (currently) undefined behaviour, no? -- ___ Python tracker

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2017-02-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Argument Clinic generates incorrect parsing code for _csv.field_size_limit(). -- ___ Python tracker ___ __

[issue27867] various issues due to misuse of PySlice_GetIndicesEx

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset faa1891d4d1237d6df0af4622ff520ccd6768e04 by Serhiy Storchaka in branch 'master': Issue #27867: Silenced may-be-used-uninitialized warnings after https://github.com/python/cpython/commit/faa1891d4d1237d6df0af4622ff520ccd6768e04 New changeset 8bd58e

[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 725c112c941ca6ac7fb995449f85501ea100647e by Serhiy Storchaka in branch 'master': Issue #20185: Converted the gc module to Argument Clinic. https://github.com/python/cpython/commit/725c112c941ca6ac7fb995449f85501ea100647e -- _

[issue29300] Modify the _struct module to use FASTCALL and Argument Clinic

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset e21cda70a3a13eb6e6238e436a5c0e2c4e4bebef by Serhiy Storchaka in branch 'master': Issue #29300: Use Argument Clinic for getting struct object from the format. https://github.com/python/cpython/commit/e21cda70a3a13eb6e6238e436a5c0e2c4e4bebef --

[issue27867] various issues due to misuse of PySlice_GetIndicesEx

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 745dda46d2e3e27206bb33188c770e1f6c73766e by Serhiy Storchaka in branch '2.7': Issue #27867: Silenced may-be-used-uninitialized warnings after https://github.com/python/cpython/commit/745dda46d2e3e27206bb33188c770e1f6c73766e New changeset e9d77e9fc

[issue27867] various issues due to misuse of PySlice_GetIndicesEx

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset faa1891d4d1237d6df0af4622ff520ccd6768e04 by Serhiy Storchaka in branch '3.5': Issue #27867: Silenced may-be-used-uninitialized warnings after https://github.com/python/cpython/commit/faa1891d4d1237d6df0af4622ff520ccd6768e04 -- __

[issue26901] Argument Clinic test is broken

2017-02-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Any chance to fix Argument Clinic test? Without this we can't add new features, fix bugs and add tests for searching new bugs. This is critical for further converting to Argument Clinic. -- priority: high -> critical

[issue27867] various issues due to misuse of PySlice_GetIndicesEx

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset faa1891d4d1237d6df0af4622ff520ccd6768e04 by Serhiy Storchaka in branch '3.6': Issue #27867: Silenced may-be-used-uninitialized warnings after https://github.com/python/cpython/commit/faa1891d4d1237d6df0af4622ff520ccd6768e04 New changeset 8bd58e9c7

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2017-02-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The problem with lsprof_clinic.patch is that it exposes default value of _lsprof.Profiler.enable() parameters as -1. Actually _lsprof.Profiler.enable() should accept boolean arguments without default value. -- ___

[issue29347] Python could crash while creating weakref for a given object

2017-02-04 Thread Xiang Zhang
Xiang Zhang added the comment: Hmm, what's your test program? Would you mind show it? -- ___ Python tracker ___ ___ Python-bugs-list m

[issue29438] SIGSEGV in PyObject_Malloc on python 3.6 and 3.7

2017-02-04 Thread INADA Naoki
INADA Naoki added the comment: This is use after free, not overflow. This patch is based on Python 3.6, but I think 3.5 has same issue. I'll check it. -- keywords: +patch Added file: http://bugs.python.org/file46514/29438-sharedkey-useafterfree.patch

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7f8a3eb3459e by Serhiy Storchaka in branch 'default': Issue #20186: Converted the symtable module to Argument Clinic. https://hg.python.org/cpython/rev/7f8a3eb3459e -- ___ Python tracker

[issue29438] SIGSEGV in PyObject_Malloc on python 3.6 and 3.7

2017-02-04 Thread INADA Naoki
INADA Naoki added the comment: (PYTHONMALLOC=malloc valgrind find it soon. :) -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset e1df73b46094 by Serhiy Storchaka in branch 'default': Issue #20186: Converted the tracemalloc module to Argument Clinic. https://hg.python.org/cpython/rev/e1df73b46094 -- ___ Python tracker

[issue29347] Python could crash while creating weakref for a given object

2017-02-04 Thread Saida Dhanavath
Saida Dhanavath added the comment: Please find the test program attached. Readme.txt has steps to comiple and run program. -- Added file: http://bugs.python.org/file46515/verify_crash_in_weakref.zip ___ Python tracker

[issue15451] PATH is not honored in subprocess.Popen in win32

2017-02-04 Thread Eryk Sun
Eryk Sun added the comment: Sure, let's close this in favor of the older documentation issue 8557. -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> subprocess PATH semantics and portability ___ Python

[issue8557] subprocess PATH semantics and portability

2017-02-04 Thread Eryk Sun
Changes by Eryk Sun : -- versions: +Python 3.5, Python 3.6, Python 3.7 -Python 2.6, Python 3.1, Python 3.2 ___ Python tracker ___ ___

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset b0ef37ec83f337b4b77275b367288a5656a0682c by Serhiy Storchaka in branch 'master': Issue #20186: Converted the symtable module to Argument Clinic. https://github.com/python/cpython/commit/b0ef37ec83f337b4b77275b367288a5656a0682c New changeset 18a02e

[issue29347] Python could crash while creating weakref for a given object

2017-02-04 Thread Xiang Zhang
Xiang Zhang added the comment: But your weakref_crash.c doesn't look correct to me. Your test.object type doesn't support weak references at all. How could you use GET_WEAKREFS_LISTPTR then? See https://docs.python.org/3/extending/newtypes.html#weakref-support. --

[issue24905] Allow incremental I/O to blobs in sqlite3

2017-02-04 Thread Aviv Palivoda
Aviv Palivoda added the comment: Pinging again. I think this would be a great enhancement to the sqlite module. -- ___ Python tracker ___

[issue29431] Add a PYTHONREVERSEDICTKEYORDER environment variable

2017-02-04 Thread INADA Naoki
INADA Naoki added the comment: At least, ordering of namespace dict and kwargs dict are language spec for 3.6. This option breaks it. When this option is set, CPython 3.6 is not Python 3.6. -- ___ Python tracker _

[issue29414] Change 'the for statement is such an iterator' in Tutorial

2017-02-04 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: Agreed. The issue I see with the additional suggestions by you and Marco (p.s the English was perfect!) is the introduction of other functions and/or objects that haven't been introduced yet. If you want to draw parallels with tuples, you'll need to i

[issue29439] _decimal on Android requires linking with libm

2017-02-04 Thread Stefan Krah
Stefan Krah added the comment: Thanks. Strange that on other systems the compilers don't complain (usually they do). -- assignee: -> skrah ___ Python tracker ___ _

[issue29439] _decimal on Android requires linking with libm

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset b60b46ad8751 by Stefan Krah in branch '3.6': Issue29439: _decimal on Android requires linking with libm. https://hg.python.org/cpython/rev/b60b46ad8751 -- nosy: +python-dev ___ Python tracker

[issue29439] _decimal on Android requires linking with libm

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa26a5712a80849e968171b71b6bc8d9da3ac163 by Stefan Krah in branch 'master': Issue29439: _decimal on Android requires linking with libm. https://github.com/python/cpython/commit/aa26a5712a80849e968171b71b6bc8d9da3ac163 --

[issue29439] _decimal on Android requires linking with libm

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa26a5712a80849e968171b71b6bc8d9da3ac163 by Stefan Krah in branch '3.6': Issue29439: _decimal on Android requires linking with libm. https://github.com/python/cpython/commit/aa26a5712a80849e968171b71b6bc8d9da3ac163 -- ___

[issue29439] _decimal on Android requires linking with libm

2017-02-04 Thread Stefan Krah
Changes by Stefan Krah : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker ___

[issue29347] Python could crash while creating weakref for a given object

2017-02-04 Thread Xiang Zhang
Xiang Zhang added the comment: Saida, I changed your test program to use set instead of self created type (see attachment). I tested it under Py2.7 and it seems no crash happens. python test.py 1 1 2.7.10 (default, Oct 14 2015, 16:09:02) [GCC 5.2.1 20151010] 0x101010101010101 0x1010101010101 S

[issue29347] Python could crash while creating weakref for a given object

2017-02-04 Thread Saida Dhanavath
Saida Dhanavath added the comment: Xiang, Sure, I will run it with other python versions and post the results. -- ___ Python tracker ___ __

[issue29438] SIGSEGV in PyObject_Malloc on python 3.6 and 3.7

2017-02-04 Thread STINNER Victor
STINNER Victor added the comment: Please update the issue title. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15533] subprocess.Popen(cwd) documentation: Posix vs Windows

2017-02-04 Thread Eryk Sun
Eryk Sun added the comment: The Unix implementation of subprocess.Popen follows the behavior of os.execvpe, which is an outlier. Other execvpe implementations, such as the one added to glibc in 2009, search PATH in the current environment instead of the passed environment. As such, and given t

[issue29443] Re-running Windows installer should have option to set PATH

2017-02-04 Thread Dave Brondsema
New submission from Dave Brondsema: If you miss the checkbox to set the "PATH" when installing Python for the first time, there isn't any easy way to set it again. (And for new programmers, having it set automatically is extremely useful). Uninstalling and re-installing does work to get PATH

[issue29443] Re-running Windows installer should have option to set PATH

2017-02-04 Thread Dave Brondsema
Dave Brondsema added the comment: A colleague has pointed out to me that this is available in the 2nd step within "Modify". I didn't realize there were more options after the first "Modify" screen. So perhaps the UI could be improved, but the functionality is there. -- _

[issue29443] Re-running Windows installer should have option to set PATH

2017-02-04 Thread Eryk Sun
Eryk Sun added the comment: The user is presented with 3 buttons: Back, Next, and Cancel. The "Next" button is the only way forward to modify the installation. Did you assume "Next" would start the modification rather than take you to another dialog with options? How about if it had a more det

[issue29440] _dbm requires -lgdbm if gdbm is built as static libraries

2017-02-04 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Sorry, -lgdbm should come after -lgdbm_compat, or symbols in libgdbm.a are still not resolved. I don't know why - linking is a magic :( -- Added file: http://bugs.python.org/file46517/gdbm.patch ___ Python tracker

[issue29443] Re-running Windows installer should have option to set PATH

2017-02-04 Thread Dave Brondsema
Dave Brondsema added the comment: Yes, exactly. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29428] Doctest documentation unclear about multi-line fixtures

2017-02-04 Thread Marco Buttu
Marco Buttu added the comment: IMO if you would like to apply big changes to the current doc, as you wrote before, maybe is worth considering to propose a separate howto, instead of wide changes to the current page. I am suggesting this to you, because looking at the other modules of the stand

[issue29444] Out-of-bounds buffer access in match_getslice_by_index

2017-02-04 Thread WGH
New submission from WGH: In [1]: import re In [2]: b = bytearray(b'A'*100) In [3]: m = re.search(b'A*', b) In [4]: m.group() Out[4]: b'' In [5]: del b[:] In [6]: m.group() Out[6]: b'\x00\x00

[issue29444] Out-of-bounds buffer access in match_getslice_by_index

2017-02-04 Thread WGH
Changes by WGH : -- keywords: +patch Added file: http://bugs.python.org/file46518/match_getslice_by_index.patch ___ Python tracker ___ ___

[issue29439] _decimal on Android requires linking with libm

2017-02-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: > This wasn't fixed because _decimal didn't build before issue26846 lands. This is misleading, the problem went unnoticed when not linking with '-lm' because: * The _decimal extension module builds without any warning. * test_decimal does not fail. One way to

[issue29438] SIGSEGV in PyObject_Malloc on python 3.6 and 3.7

2017-02-04 Thread Ned Deily
Changes by Ned Deily : -- keywords: +3.6regression -patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue29438] SIGSEGV in PyObject_Malloc on python 3.6 and 3.7

2017-02-04 Thread Ned Deily
Changes by Ned Deily : -- keywords: +patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue29387] Tabs vs spaces FAQ out of date

2017-02-04 Thread Marco Buttu
Marco Buttu added the comment: I think you are right about the TAB model (Parser/tokenizer.c:40 and Lib/tokenize.py:215), that is why the difference between the two cases. In any case, I am not sure whether expliciting the type of the exeption is the best choice. So, to me +1 to just change "s

[issue29442] Use argparse and drop dirty optparse hacks in setup.py

2017-02-04 Thread Stefan Krah
Stefan Krah added the comment: I didn't look at this one, but some "hacks" are necessary in setup.py (example: usage of os.system() in some places). -- nosy: +skrah ___ Python tracker _

[issue29439] _decimal on Android requires linking with libm

2017-02-04 Thread Stefan Krah
Stefan Krah added the comment: Perhaps test_decimal should fail for CPython if _decimal can't be imported. All compilers that I tested seem to link fine without -lm in this case. -- ___ Python tracker

[issue29414] Change 'the for statement is such an iterator' in Tutorial

2017-02-04 Thread Marco Buttu
Marco Buttu added the comment: Even though the Terry suggestion is formally correct, we are just at the beginning of the tutorial, and unluckily the tuples have not been introduced yet. To avoid adding to much complication here, IMHO we can just left the preceding sentences as they are. -

[issue29387] Tabs vs spaces FAQ out of date

2017-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would add the exception type after testing all versions patched. -- ___ Python tracker ___ ___ Pyt

[issue29438] use after free in key sharing dict

2017-02-04 Thread INADA Naoki
INADA Naoki added the comment: I can reproduce it on Python 3.5 with attached script. I think this bug is from Python 3.3, since key-sharing dict is implemented. "Trigger key sharing dict resize while callbacks (weakref or __del__) called from setitem" is step to reproduce. It's not easy to exp

[issue29438] use after free in key sharing dict

2017-02-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is it related to issue27945? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-lis

[issue29438] use after free in key sharing dict

2017-02-04 Thread INADA Naoki
INADA Naoki added the comment: It's similar to issue27945, but different. I confirmed this issue is in 3.4 too. https://github.com/python/cpython/blob/3.4/Objects/dictobject.c#L3798 // _PyObjectDict_SetItem() if ((tp->tp_flags & Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {

[issue29444] Out-of-bounds buffer access in match_getslice_by_index

2017-02-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your patch WGH. It is correct and fixes out-of-bounds buffer access. But I don't know what would be the better solution: silently adjust indices or raise RuntimeError? -- nosy: +serhiy.storchaka versions: +Python 2.7 -Python 3.3, Python

[issue29444] Out-of-bounds buffer access in match_getslice_by_index

2017-02-04 Thread WGH
WGH added the comment: Python 2.7 (CPython and PyPy) and also PyPy's Python 3 adjust the indices, like my patch does, if that matters. -- ___ Python tracker ___

[issue29444] Out-of-bounds buffer access in match_getslice_by_index

2017-02-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ah, this is good reason. The patch LGTM. -- assignee: -> serhiy.storchaka stage: -> commit review versions: -Python 2.7 ___ Python tracker

[issue29445] http.client: missing response headers when malformed header is part of the response

2017-02-04 Thread Guillaume Boudreau
New submission from Guillaume Boudreau: Tested using urllib3 1.20 ``` >>> import urllib3 >>> http = urllib3.PoolManager() >>> r = http.request('GET', >>> 'https://online.chasecanada.ca/ChaseCanada_Consumer/Login.do') >>> r.status 200 >>> r.headers HTTPHeaderDict({'Date': 'Sat, 04 Feb 2017 20:09

[issue29431] Add a PYTHONREVERSEDICTKEYORDER environment variable

2017-02-04 Thread lamby
lamby added the comment: > ordering of namespace dict and kwargs dict are language spec for 3.6 Are they really _specced_ for 3.6? I was under the impression that it was just an implementation detail. -- ___ Python tracker

[issue18069] Subprocess searches special directories before PATH on Windows

2017-02-04 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue29444] Out-of-bounds buffer access in match_getslice_by_index

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e65d6c20dae by Serhiy Storchaka in branch '3.5': Issue #29444: Fixed out-of-bounds buffer access in the group() method of https://hg.python.org/cpython/rev/4e65d6c20dae New changeset 393969776989 by Serhiy Storchaka in branch '3.6': Issue #29444: F

[issue29445] http.client: missing response headers when malformed header is part of the response

2017-02-04 Thread R. David Murray
R. David Murray added the comment: This appears to be a duplicate of issue 24363. Does the patch there fix the problem for you? -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> httplib fails to handle semivalid HTTP headers

[issue29444] Out-of-bounds buffer access in match_getslice_by_index

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 83d13325dec591676eeafb12a4caa01a67ef2f7e by Serhiy Storchaka in branch '3.5': Issue #29444: Fixed out-of-bounds buffer access in the group() method of https://github.com/python/cpython/commit/83d13325dec591676eeafb12a4caa01a67ef2f7e -- _

[issue29444] Out-of-bounds buffer access in match_getslice_by_index

2017-02-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue29444] Out-of-bounds buffer access in match_getslice_by_index

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 83d13325dec591676eeafb12a4caa01a67ef2f7e by Serhiy Storchaka in branch '3.6': Issue #29444: Fixed out-of-bounds buffer access in the group() method of https://github.com/python/cpython/commit/83d13325dec591676eeafb12a4caa01a67ef2f7e New changeset

[issue29444] Out-of-bounds buffer access in match_getslice_by_index

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 83d13325dec591676eeafb12a4caa01a67ef2f7e by Serhiy Storchaka in branch 'master': Issue #29444: Fixed out-of-bounds buffer access in the group() method of https://github.com/python/cpython/commit/83d13325dec591676eeafb12a4caa01a67ef2f7e New changes

[issue29428] Doctest documentation unclear about multi-line fixtures

2017-02-04 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: Marco, thank you for the suggestion of a howto. That is a good idea. In parallel, I was thinking of some howto content that I would like to see documented. • How to decide what to test with doctests and what with unittests. I have a feeling that the sweet spo

[issue29443] Re-running Windows installer should have option to set PATH

2017-02-04 Thread Steve Dower
Steve Dower added the comment: I consider this another vote against putting the check box on the front page of the installer, rather than a positive vote for any particular change. There's no way to miss the screen with the real checkbox when you are modifying the install, and modifying PATH f

[issue29443] Re-running Windows installer should have option to set PATH

2017-02-04 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue29446] Improve tkinter 'import *' situation

2017-02-04 Thread Terry J. Reedy
New submission from Terry J. Reedy: Tkinter naming was designed so that 'from tkinter import *' can work, in the sense of not conflicting with built-in and stdlib module names. But there are currently two problems. 1. The current doc ...to use Tkinter all you need is a simple import statemen

[issue29446] Improve tkinter 'import *' situation

2017-02-04 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue29446] Improve tkinter 'import *' situation

2017-02-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is yet one name that doesn't make sense to import -- wantobjects. It can't be renamed. -- ___ Python tracker ___ __

[issue29409] Implement PEP 529 for io.FileIO

2017-02-04 Thread Steve Dower
Steve Dower added the comment: Merging this in now, along with a few other patches. This is the test I'm adding, in case anyone spots any problems with it before I push (copied from the test for pure-ASCII bytes): @unittest.skipIf(sys.getfilesystemencoding() != 'utf-8',

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 661c40ba59855ebe4967424fcabd41be6f799137 by Steve Dower in branch '3.6': Issue #29416: Prevent infinite loop in pathlib.Path.mkdir https://github.com/python/cpython/commit/661c40ba59855ebe4967424fcabd41be6f799137 New changeset 77da63372461ddeb82db

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 661c40ba59855ebe4967424fcabd41be6f799137 by Steve Dower in branch 'master': Issue #29416: Prevent infinite loop in pathlib.Path.mkdir https://github.com/python/cpython/commit/661c40ba59855ebe4967424fcabd41be6f799137 New changeset 77da63372461ddeb8

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 661c40ba59855ebe4967424fcabd41be6f799137 by Steve Dower in branch '3.5': Issue #29416: Prevent infinite loop in pathlib.Path.mkdir https://github.com/python/cpython/commit/661c40ba59855ebe4967424fcabd41be6f799137 -- _

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8061d0967988 by Steve Dower in branch '3.5': Issue #29416: Prevent infinite loop in pathlib.Path.mkdir https://hg.python.org/cpython/rev/8061d0967988 New changeset 3de58a54ed98 by Steve Dower in branch '3.6': Issue #29416: Prevent infinite loop in p

[issue29416] Path.mkdir can get into a recursive error loop

2017-02-04 Thread Steve Dower
Changes by Steve Dower : -- assignee: -> steve.dower stage: needs patch -> commit review ___ Python tracker ___ ___ Python-bugs-list

[issue29392] msvcrt.locking crashes python

2017-02-04 Thread Steve Dower
Changes by Steve Dower : -- assignee: -> steve.dower resolution: -> fixed stage: needs patch -> resolved ___ Python tracker ___ ___

[issue29392] msvcrt.locking crashes python

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset f48bdcd02b57 by Steve Dower in branch '3.5': Issue #29392: Prevent crash when passing invalid arguments into msvcrt module. https://hg.python.org/cpython/rev/f48bdcd02b57 New changeset 15bbb18d87fd by Steve Dower in branch '3.6': Issue #29392: Preve

[issue29409] Implement PEP 529 for io.FileIO

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0bf72810f8ea by Steve Dower in branch '3.6': Issue #29409: Implement PEP 529 for io.FileIO (Patch by Eryk Sun) https://hg.python.org/cpython/rev/0bf72810f8ea New changeset a5538734cc87 by Steve Dower in branch 'default': Merge issue #28164 and issue

[issue29409] Implement PEP 529 for io.FileIO

2017-02-04 Thread Steve Dower
Steve Dower added the comment: Committed, but I'll leave this open for a bit in case anyone wants to comment on the commit. -- stage: patch review -> commit review ___ Python tracker __

[issue28164] _PyIO_get_console_type fails for various paths

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset ed0c05c739c9 by Steve Dower in branch '3.6': Issue #28164: Correctly handle special console filenames (patch by Eryk Sun) https://hg.python.org/cpython/rev/ed0c05c739c9 New changeset a5538734cc87 by Steve Dower in branch 'default': Merge issue #2816

[issue29326] Blank lines in ._pth file are not ignored

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 54fea351e3f9 by Steve Dower in branch '3.6': Issue #29326: Ignores blank lines in ._pth files (Patch by Alexey Izbyshev) https://hg.python.org/cpython/rev/54fea351e3f9 New changeset a0ff777ab153 by Steve Dower in branch 'default': Issue #29326: Igno

[issue29326] Blank lines in ._pth file are not ignored

2017-02-04 Thread Steve Dower
Changes by Steve Dower : -- assignee: -> steve.dower resolution: -> fixed stage: needs patch -> resolved ___ Python tracker ___ ___

[issue29319] Embedded 3.6.0 distribution cannot run pyz files

2017-02-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset c6506f759db1 by Steve Dower in branch '3.5': Issue #29319: Prevent RunMainFromImporter overwriting sys.path[0]. https://hg.python.org/cpython/rev/c6506f759db1 New changeset 0965e2967056 by Steve Dower in branch '3.6': Issue #29319: Prevent RunMainFr

[issue29319] Embedded 3.6.0 distribution cannot run pyz files

2017-02-04 Thread Steve Dower
Steve Dower added the comment: That change fixes overwriting sys.path[0], the new logic is essentially: try: sys_path0 = sys.path[0] except: sys.path.append(argv0) else: if sys_path0: sys.path.insert(0, argv0) else: sys.path[0] = argv0 I'm leaving this open for t

[issue26876] Extend MSVCCompiler class to respect environment variables

2017-02-04 Thread Steve Dower
Steve Dower added the comment: Taking another look at the patch, I'm not real keen on the C/LDFLAGS section. I think if we want to support setting these, we should fully override the default settings (otherwise you can't specify certain options that are in the defaults), and avoid splitting th

  1   2   >