[issue36144] Dictionary addition.

2019-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > * It is natural to expect the plus operator to be commutative, but this > operation would necessarily be non-commutative. In Python, the plus operator for sequences (strings, lists, tuples) is non-commutative. But I have other arguments against it: *

[issue36144] Dictionary addition.

2019-02-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: For the record, I'm opposed to the idea. * Use of the + operator is a temptation to produce new dictionaries rather than update an existing dict in-place which is usually what you want. * We already have ChainMap() which presents a single view of

[issue36144] Dictionary addition.

2019-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I believe it was proposed and rejected multiple times. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue33944] Deprecate and remove pth files

2019-02-27 Thread Peter L
Peter L added the comment: +1 for python -v listing .pth files found and loaded. For debugging, I just add a: import sys; print('Loading mypth.pth') to the start of the pth file. A plain print doesn't work(?). breakpoint() doesn't work(?). It would be nice to be able to get the filename

[issue36144] Dictionary addition.

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Python ideas discussion in 2015 : https://mail.python.org/pipermail/python-ideas/2015-February/031748.html LWN summary : https://lwn.net/Articles/635397/ -- nosy: +xtreak ___ Python tracker

[issue33085] *** Error in `python': double free or corruption (out): 0x00007ff5254d50d0 ***

2019-02-27 Thread chenkai
chenkai <13016135...@163.com> added the comment: OS: (python36) [root@localhost ~]# uname -a Linux localhost.localdomain 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Python 3.6.5 (default, Feb 28 2019, 01:43:16) [GCC 4.8.5 20150623 (Red Hat

[issue33944] Deprecate and remove pth files

2019-02-27 Thread Peter L
Change by Peter L : -- nosy: +Peter L3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Mika Fischer
Mika Fischer added the comment: The easiest workaround I found (on Windows 10) is to use ``` certutil -generateSSTFromWU roots.sst && certutil -addstore -f root roots.sst && del roots.sst ``` before using Python... -- ___ Python tracker

[issue13850] Summary tables for argparse add_argument options

2019-02-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I like the idea of having various summary tables for argparse, but the one in the PR isn't visually attractive or self-explanatory. -- ___ Python tracker

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Mika Fischer
Mika Fischer added the comment: > This is probably a duplicate of #36137. I think you mixed up the issue number, #36137 is this issue. > Windows doesn't have CA certs pre-installed. They are downloaded from the > update server on demand. Python doesn't trigger the update but only uses >

[issue36144] Dictionary addition.

2019-02-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I believe that Guido rejected this when it was proposed a few years ago. -- nosy: +gvanrossum ___ Python tracker ___

[issue36131] test.test_urllib2net.TimeoutTest ftp related tests fail due to ftp://www.pythontest.net/ being unavailable

2019-02-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: That was my impression. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue30235] Validate shutil supports path-like objects, update docs accordingly

2019-02-27 Thread Thrlwiti
Change by Thrlwiti : -- nosy: +THRlWiTi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36131] test.test_urllib2net.TimeoutTest ftp related tests fail due to ftp://www.pythontest.net/ being unavailable

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just curious if it was some regression or infrastructure related issue in pythontest.net ? -- ___ Python tracker ___

[issue35975] Put back the ability to parse files where async/await aren't keywords

2019-02-27 Thread Yury Selivanov
Yury Selivanov added the comment: > And the same tokenizer trick that detects 'async def' could detect 'async > for' easily. Exactly. I just never thought that we could support async generator expressions with the kind of hacks in tokenizer we had in 3.5-3.6. FWIW I still believe that

[issue36144] Dictionary addition.

2019-02-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36143] Auto-generate Lib/keyword.py

2019-02-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cheryl.sabella ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36143] Auto-generate Lib/keyword.py

2019-02-27 Thread Zachary Ware
Zachary Ware added the comment: Lib/keyword.py already regenerates itself from Python/graminit.c when run as a script, but there should be a `regen-keyword.py` target added to Makefile.pre.in and included as a dependency of the `regen-all` target. Agreed that this is a good starting issue,

[issue36144] Dictionary addition.

2019-02-27 Thread Brandt Bucher
Change by Brandt Bucher : -- keywords: +patch pull_requests: +12098 stage: -> patch review ___ Python tracker ___ ___

[issue36144] Dictionary addition.

2019-02-27 Thread Brandt Bucher
New submission from Brandt Bucher : ...as discussed in python-ideas. Semantically: d1 + d2 <-> d3 = d1.copy(); d3.update(d2); d3 d1 += d2 <-> d1.update(d2) Attached is a working implementation with new/fixed tests for consideration. I've also updated collections.UserDict with the new

[issue36143] Auto-generate Lib/keyword.py

2019-02-27 Thread Arfrever Frehtes Taifersar Arahesis
Change by Arfrever Frehtes Taifersar Arahesis : -- title: AUto-generate Lib/keyword.py -> Auto-generate Lib/keyword.py ___ Python tracker ___

[issue36143] AUto-generate Lib/keyword.py

2019-02-27 Thread Guido van Rossum
New submission from Guido van Rossum : The stdib keyword.py module must be regenerated after adding/removing keywords from the grammar. While this is rare, we now generate everything else derived from the grammar. Hopefully someone can add some rules to the Makefile to auto-generate this one

[issue24740] make patchcheck doesn't detect changes if commit is done first

2019-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am pretty sure I have done the same after making all commits to the local branch. Plus we have the better workflow. So closing until there is a confirmed problem with the new workflow. -- resolution: -> out of date stage: needs patch ->

[issue35975] Put back the ability to parse files where async/await aren't keywords

2019-02-27 Thread Guido van Rossum
Guido van Rossum added the comment: And the same tokenizer trick that detects 'async def' could detect 'async for' easily. See https://github.com/python/cpython/pull/12086/files#diff-30b8266a4285de981f8b1b82a8cc6231R1418 -- ___ Python tracker

[issue36046] support dropping privileges when running subprocesses

2019-02-27 Thread Patrick McLean
Patrick McLean added the comment: I have updated the pull request to include 'group' and 'extra_groups' as separate parameters. -- ___ Python tracker ___

[issue22213] Make pyvenv style virtual environments easier to configure when embedding Python

2019-02-27 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-36142: "Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings". -- ___ Python tracker

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-02-27 Thread STINNER Victor
STINNER Victor added the comment: PR 12087 is a WIP change which implements everything as a single commit. I'm not 100% sure yet that it's best approach for Python initialization, but I'm sure that it solves real interdependencies issues between _PyCoreConfig parameters. IHMO have a

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-02-27 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12097 stage: -> patch review ___ Python tracker ___ ___

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-02-27 Thread STINNER Victor
New submission from STINNER Victor : I added a _PyCoreConfig structure to Python 3.7 which contains almost all parameters used to configure Python. Problems: _PyCoreConfig uses bytes and Unicode strings (char* and wchar_t*) whereas it is also used to setup the memory allocator and

[issue27640] add the '--disable-test-suite' option to configure

2019-02-27 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35975] Put back the ability to parse files where async/await aren't keywords

2019-02-27 Thread Yury Selivanov
Yury Selivanov added the comment: > But why would we? I already have a working solution. I've heard some complaints that it's hard to migrate to Python 3.7 because async and await are keywords (although I think by now all popular libraries have migrated already), so in case you ever

[issue34095] [2.7] Seg fault on archlinux 32 when run tests with xvfb-run

2019-02-27 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23794] http package should support HTTP/2

2019-02-27 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29397] linux/random.h present but cannot be compiled

2019-02-27 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35975] Put back the ability to parse files where async/await aren't keywords

2019-02-27 Thread Guido van Rossum
Guido van Rossum added the comment: But why would we? I already have a working solution. (Literally reverting Jelle's PR won't work anyway, because Serhiy changed how regen-token works.) -- ___ Python tracker

[issue35975] Put back the ability to parse files where async/await aren't keywords

2019-02-27 Thread Yury Selivanov
Yury Selivanov added the comment: Actually, I think we could revert to old lexer hacks in 3.8 if we modify them to treat 'async for' tocken sequence as one meta-tocken. -- ___ Python tracker

[issue24740] make patchcheck doesn't detect changes if commit is done first

2019-02-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: I believe this issue has been resolved under the new Github workflow. I ran `make patchcheck` on a commit that had been pushed and it identified the changes. -- nosy: +cheryl.sabella ___ Python tracker

[issue35975] Put back the ability to parse files where async/await aren't keywords

2019-02-27 Thread Guido van Rossum
Change by Guido van Rossum : -- keywords: +patch pull_requests: +12096 stage: needs patch -> patch review ___ Python tracker ___

[issue35975] Put back the ability to parse files where async/await aren't keywords

2019-02-27 Thread Guido van Rossum
Guido van Rossum added the comment: That should still work. The strategy is as follows: - For Python 3.7 or higher, 'async' and 'await' are *always* recognized. - For Python 3.5 and 3.6, the hacks from the PEP are used. -- ___ Python tracker

[issue35975] Put back the ability to parse files where async/await aren't keywords

2019-02-27 Thread Yury Selivanov
Yury Selivanov added the comment: Well, it's not just rolling back async/await from being keywords. Since 3.7 it's possible to create async generator expressions in non-async functions. This wasn't possible to do with old hacks on the lexer. So if you want to revert the change you risk

[issue36132] Python cannot access hci_channel field in sockaddr_hci

2019-02-27 Thread Andrew P. Lentvorski, Jr.
Andrew P. Lentvorski, Jr. added the comment: It's up to you how you folks want to deal with this, but classifying it as a "bug" for those versions in bugfix is likely acceptable. You already have to call bind with a tuple, so as long as it is *optional* to add an extra field to that tuple

[issue30406] async and await should be keywords in 3.7

2019-02-27 Thread Guido van Rossum
Guido van Rossum added the comment: Sadly if I get my way this will all be reverted -- see https://bugs.python.org/issue35975. I'm working on a PR. -- ___ Python tracker

[issue36128] ResourceReader for FileLoader inconsistently handles path separators

2019-02-27 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36116] test_multiprocessing_spawn fails on AMD64 Windows8 3.x

2019-02-27 Thread Eryk Sun
Eryk Sun added the comment: > And depending on the OS, abort() calls (via Py_FatalError) sometimes > appear to be segfaults, so it could be any number of issues. > (Aside - I'd love to replace the abort() calls with specific exit > codes for configuration errors - they really mess up the

[issue36141] configure: error: could not find pthreads on your system during cross compilation

2019-02-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: What is the NDK version ? There is no Android pthread library. It is possible that the failure comes from the fact that the first configure test on pthread_create links with pthread and that the Android linker fails now instead of ignoring this error as it

[issue13501] Make libedit support more generic; port readline / libedit to FreeBSD

2019-02-27 Thread Robert Marshall
Robert Marshall added the comment: I have rebased this to recent master hash 53b9e1a1c1 and submitted a pull request. It built in my CI environment, so seems to be OK as far as compiling. I'll run the test suite against it later this evening when I have time to stand up a quick build

[issue25737] array is not a Sequence

2019-02-27 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23864] issubclass without registration only works for "one-trick pony" collections ABCs.

2019-02-27 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36141] configure: error: could not find pthreads on your system during cross compilation

2019-02-27 Thread muhzi
Change by muhzi : -- type: -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36141] configure: error: could not find pthreads on your system during cross compilation

2019-02-27 Thread muhzi
Change by muhzi : -- components: +Cross-Build nosy: +Alex.Willmer ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36141] configure: error: could not find pthreads on your system during cross compilation

2019-02-27 Thread muhzi
New submission from muhzi : I am facing a problem while trying to compile Python for android armv7a using the latest NDK version (clang). The configure script fails to find pthread library, which should be bundled in libc. Here is the full configure output: Building for

[issue35360] Update SQLite to 3.26 in Windows and macOS installer builds

2019-02-27 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36116] test_multiprocessing_spawn fails on AMD64 Windows8 3.x

2019-02-27 Thread Steve Dower
Steve Dower added the comment: It's also possible that the child process is causing the segfault because of misconfiguration (e.g. broken environment variables). And depending on the OS, abort() calls (via Py_FatalError) sometimes appear to be segfaults, so it could be any number of issues.

[issue36096] IDLE: Refactor class variables to instance variables in colorizer

2019-02-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36096] IDLE: Refactor class variables to instance variables in colorizer

2019-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 488aabafe2f1c5db05a6c1a7a8b49d7b89b1f36b by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': bpo-36096: IDLE: Refactor class variables in colorizer (GH-12002) (GH-12075)

[issue36096] IDLE: Refactor class variables to instance variables in colorizer

2019-02-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +12094 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36140] An incorrect check in _msi.c's msidb_getsummaryinformation()

2019-02-27 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12093 stage: -> patch review ___ Python tracker ___ ___

[issue36140] An incorrect check in _msi.c's msidb_getsummaryinformation()

2019-02-27 Thread Zackery Spytz
New submission from Zackery Spytz : msidb_getsummaryinformation() checks the wrong variable after calling PyObject_NEW(). -- components: Windows messages: 336776 nosy: ZackerySpytz, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: An

[issue36139] release GIL on mmap dealloc

2019-02-27 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +12092 stage: -> patch review ___ Python tracker ___ ___

[issue36139] release GIL on mmap dealloc

2019-02-27 Thread Davide Rizzo
New submission from Davide Rizzo : munmap() can take a long time. I think mmap_object_dealloc can trivially release the GIL around this operation. Something similar was already mentioned in https://bugs.python.org/issue1572968 but a general patch was never provided. The dealloc case alone is

[issue36116] test_multiprocessing_spawn fails on AMD64 Windows8 3.x

2019-02-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Adding Łukasz, as I think this is a release blocker (the Windows 8 and 7 multiprocessing module may be causing segfaults). -- nosy: +lukasz.langa priority: normal -> high ___ Python tracker

[issue36131] test.test_urllib2net.TimeoutTest ftp related tests fail due to ftp://www.pythontest.net/ being unavailable

2019-02-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Almost all buildbots have failed due to this issue. It seems that is fixed now: ❯ ./python.exe -m test -v test_urllib2net -u all == CPython 3.8.0a2+ (heads/master:d5a551c269, Feb 27 2019, 09:17:08) [Clang 10.0.0 (clang-1000.10.44.4)] ==

[issue23607] Inconsistency in datetime.utcfromtimestamp(Decimal)

2019-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, the bug is not fixed, and this is not easy issue. You should use non-integer Decimals to reproduce it. In 3.8 this emits a deprecation warning: >>> import datetime >>> from decimal import Decimal as D >>>

[issue23607] Inconsistency in datetime.utcfromtimestamp(Decimal)

2019-02-27 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +remi.lapeyre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23607] Inconsistency in datetime.utcfromtimestamp(Decimal)

2019-02-27 Thread Paul Ganssle
Paul Ganssle added the comment: Oh actually that's my mistake. I can't reproduce the failure in the constructor in the Python version of the module, and also it seems to be fixed in the pure Python version as of at least 3.6: Python 3.6.7 (default, Oct 25 2018, 16:11:17) [GCC 8.2.1

[issue28441] Change sys.executable to include executable suffix

2019-02-27 Thread Ned Deily
Change by Ned Deily : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31078] pdb's debug command (Pdb.do_debug) doesn't use rawinput even if the parent pdb uses rawinput

2019-02-27 Thread daniel hahler
daniel hahler added the comment: I can confirm that this fixes cursor keys not working properly after "debug foo()" (recursive debugging) with pdb. -- nosy: +blueyed versions: +Python 3.8 ___ Python tracker

[issue23607] Inconsistency in datetime.utcfromtimestamp(Decimal)

2019-02-27 Thread Paul Ganssle
Paul Ganssle added the comment: I'm not sure if either of these patches got merged, but at some point this was fixed: Python 3.7.2 (default, Feb 9 2019, 13:18:43) [GCC 8.2.1 20181127] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from

[issue15237] Add capsule API to _decimal

2019-02-27 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22194] access to cdecimal / libmpdec API

2019-02-27 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36121] csv: Non global alternative to csv.field_size_limit

2019-02-27 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- components: +Library (Lib) -Extension Modules ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36121] csv: Non global alternative to csv.field_size_limit

2019-02-27 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch pull_requests: +12091 stage: -> patch review ___ Python tracker ___ ___

[issue36138] Improve documentation about converting datetime.timedelta to scalars

2019-02-27 Thread Fred L. Drake, Jr.
Change by Fred L. Drake, Jr. : -- nosy: +fdrake ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13850] Summary tables for argparse add_argument options

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: just for 2.7, 3.7 & 3.8 because they are in bugfix mode. -- versions: +Python 3.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker ___

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Christian Heimes
Christian Heimes added the comment: This is probably a duplicate of #36137. Windows doesn't have CA certs pre-installed. They are downloaded from the update server on demand. Python doesn't trigger the update but only uses certs that are already present. It's a design flaw in my

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Tianon
Change by Tianon : -- nosy: +tianon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: sure, I have just confirmed that this error does not occur with the last python 3.8a2 and that I don't have a Windows system for an eventual debugging session. -- ___ Python tracker

[issue36138] Improve documentation about converting datetime.timedelta to scalars

2019-02-27 Thread Paul Ganssle
New submission from Paul Ganssle : In a recent python-dev thread, there was some confusion about how to get something like `timedelta.total_microseconds()`. There is already an existing, supported idiom for this, which is that `timedelta` implements division: td = timedelta(hours=1)

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Mika Fischer
Mika Fischer added the comment: Sorry if I wasn't completely clear. This issue occurs only on Windows and only when running python inside a windows docker container. The question is what is python using on Windows to verify SSL certificates and what might be different inside the container

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I can't reproduce it with python 3.8a2 and I don't have a laptop with Windows. -- nosy: +matrixise ___ Python tracker ___

[issue35417] Double parenthesis in print function running 2to3 in already correct call

2019-02-27 Thread Paul Ganssle
Paul Ganssle added the comment: > 2to3 is designed as a tool to convert a Python 2 code base to Python 3 at > once. I understand that once the code base is converted, you may want to > revert some unwanted "useless" changes. While this problem is likely to show up because someone has run

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Mika Fischer
New submission from Mika Fischer : Inside a windows docker container, SSL verification fails for some but not all hosts. See this issue over in the docker repo: https://github.com/docker-library/python/issues/359 Maybe you guys could shed some light on what could be the possible. To

[issue36136] Windows: python._pth sets isolated mode late during Python initialization

2019-02-27 Thread STINNER Victor
New submission from STINNER Victor : The read_pth_file() of PC/getpathp.c sets Py_IsolatedFlag and Py_NoSiteFlag to 1 in Python 3.6. calculate_path() checked if a file with a "._pth" extension exists in "dllpath" or "progpath". I refactored deeply the Python initialization in Python 3.7 and

[issue36135] altinstall error Makefile:1140: recipe for target 'altinstall' failed

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This might help : https://devguide.python.org/setup/#install-dependencies -- nosy: +xtreak ___ Python tracker ___

[issue13850] Summary tables for argparse add_argument options

2019-02-27 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +12090 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36134] test failure : test_re; recipe for target 'test' failed

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the details. This seems to be the same as issue29571 where the issue was reported on Ubuntu for en_IN but not happening in Gentoo. -- ___ Python tracker

[issue36096] IDLE: Refactor class variables to instance variables in colorizer

2019-02-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +12089 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36096] IDLE: Refactor class variables to instance variables in colorizer

2019-02-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: New changeset ed1deb0719f0ac1b08a374e30ad26a701d4d51a2 by Cheryl Sabella in branch 'master': bpo-36096: IDLE: Refactor class variables in colorizer (GH-12002) https://github.com/python/cpython/commit/ed1deb0719f0ac1b08a374e30ad26a701d4d51a2 --

[issue36127] Argument Clinic: inline parsing code for functions with keyword parameters

2019-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In addition, this change can allow us to get rid of large and complex functions _PyArg_ParseTupleAndKeywordsFast() and _PyArg_ParseStackAndKeywords(). The former is no longer used in CPython, and the latter is still used in few places to support some

[issue36134] test failure : test_re; recipe for target 'test' failed

2019-02-27 Thread Apoorv Sachan
Apoorv Sachan added the comment: ###the outputs for the commands: user@host $ python -m test.pythoninfo /usr/bin/python: No module named test.pythoninfo -- user@host $ locale LANG=en_IN LANGUAGE=en_IN:en LC_CTYPE="en_IN" LC_NUMERIC="en_IN" LC_TIME="en_IN"

[issue36127] Argument Clinic: inline parsing code for functions with keyword parameters

2019-02-27 Thread STINNER Victor
STINNER Victor added the comment: About the stack memory usage, in the past, I used a subfunction tagged with _Py_NO_INLINE to work on temporary stack but then drop it: void function() { subfunction(); /* use temporary stack */ /* don't waste stack memory */ ... } I'm not sure if

[issue36127] Argument Clinic: inline parsing code for functions with keyword parameters

2019-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As for depending the optimization on the size of CPU cache, I have repeated mickrobenchmarks on the computer with 6 MiB cache and two computers with 512 KiB caches (64- and 32-bit). Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (cache size: 6144 KB):

[issue36135] altinstall error Makefile:1140: recipe for target 'altinstall' failed

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: fix your compilation with the zlib headers zipimport.ZipImportError: can't decompress data; zlib not available not related to python itself. -- nosy: +matrixise resolution: -> rejected stage: -> resolved status: open -> closed

[issue36134] test failure : test_re; recipe for target 'test' failed

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Search gives me issue29571 that looks similar to this report. This seems to be locale specific and information on your locale, OS etc would be helpful. Can you please add the output of below? * python -m test.pythoninfo * locale * ./python -m test

[issue35431] Add a function for computing binomial coefficients to the math module

2019-02-27 Thread Yash Aggarwal
Yash Aggarwal added the comment: @mark.dickinson Ok, then I will work on comb for now then. -- ___ Python tracker ___ ___

[issue36135] altinstall error Makefile:1140: recipe for target 'altinstall' failed

2019-02-27 Thread Apoorv Sachan
New submission from Apoorv Sachan : #as directed in the README.rst file #doing a 'make altinstall' instead of install to install python3.7.2 along side other versions this is to be performed after './configure' 'make' and 'make test' commands. please refer issue 36134 :titled :: (two

[issue36127] Argument Clinic: inline parsing code for functions with keyword parameters

2019-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good questions Josh! The size of the python binary has been increased from 17494944 bytes (17085 KiB) to 17657112 bytes (17243 KiB) -- by 1%. I think that this change can not increase memory consumption, because the new code does not use the heap (the

[issue36134] test failure : test_re; recipe for target 'test' failed

2019-02-27 Thread Apoorv Sachan
New submission from Apoorv Sachan : ## while building python3.7 from source code on debian9.8 stretch. hardware : intel corei5 3337U 4 Gib -- physical ram//4 Gib -- swap space following the instructions given in the README.rst file: user@host $ ./configure --enable-optimizations #---works fine

[issue36131] test.test_urllib2net.TimeoutTest ftp related tests fail due to ftp://www.pythontest.net/ being unavailable

2019-02-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Right now, ftp://www.pythontest.net/ fails with "500 OOPS: vsf_sysutil_bind" > according to Firefox. It's not the first time that I see this error. Related issue in the past due to disk space issue35386 . When I first created the issue opening

[issue36133] ThreadPoolExecutor and ProcessPoolExecutor, dynamic worker count

2019-02-27 Thread Fabian Dill
New submission from Fabian Dill : The request is, that the _max_workers attribute of the pools are exposed as a proper interface, that would allow changing of the worker amount after initialisation. -- components: Library (Lib) messages: 336745 nosy: Fabian Dill priority: normal

  1   2   >