[issue7940] re.finditer and re.findall should support negative end positions

2019-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: -1 on the proposal. We don't know of any strong use cases, so there isn't a real problem being solved here. Rather than providing a benefit, this feature request makes it more likely that people will write convoluted code or that it will let bugs pass

[issue36608] Replace bundled pip and setuptools with a downloader in the ensurepip module

2019-07-13 Thread Sviatoslav Sydorenko
Sviatoslav Sydorenko added the comment: Thanks for the feedback! I've changed it a bit to have a separate command for downloading bundles to the source tree. It'd work as in `python -m ensurepip.bundle` (needs a better name/CLI args probably). Does it sound better now? --

[issue37587] JSON loads performance improvement for long strings

2019-07-13 Thread Marco Paolini
Change by Marco Paolini : -- keywords: +patch pull_requests: +14547 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14752 ___ Python tracker ___

[issue22121] IDLE should start with HOME as the initial working directory

2019-07-13 Thread Andy Harrington
Andy Harrington added the comment: This is really important for newbies. They have no business being in the system Python folder. And Idle is for newbies! I was teaching an intro Python class, and tried to help a student who had been writing programs in Idle, but now could not get Python

[issue12217] Cross-link docs for faulthandler, traceback and pdb

2019-07-13 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +14549 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14754 ___ Python tracker

[issue25998] doctest terminates when accessing __wrapped__ raises an error

2019-07-13 Thread Mickaël Schoentgen
Mickaël Schoentgen added the comment: Attached a simple reproduction script. -- Added file: https://bugs.python.org/file48477/unwrapable_ob.py ___ Python tracker ___

[issue28292] Make Calendar.itermonthdates() behave consistently in edge cases

2019-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Do you propose to change them all? No. But we have precedent in this module and should maintain it. FWIW, there are a number of modules that have been conscientious in this regard (for example, collections and random). --

[issue30088] mailbox.Maildir doesn't create subdir structure when create=True and base dir exists

2019-07-13 Thread miss-islington
miss-islington added the comment: New changeset e44184749c2fd0921867ea5cd20b8e226c2146c2 by Miss Islington (bot) (Sviatoslav Sydorenko) in branch 'master': bpo-30088: Document that existing dir structure isn't verified by mailbox.Maildir (GH-1163)

[issue37587] JSON loads performance improvement for long strings

2019-07-13 Thread Marco Paolini
Change by Marco Paolini : -- nosy: +ezio.melotti, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28440] ensurepip and pip install failures on macOS Sierra with non-system Python 2.7.x

2019-07-13 Thread Ned Deily
Ned Deily added the comment: > That day has come, the beta for 10.15 contains Python 3.7.3. Yay! FTR, 763f094b1f0ce2a07768828e78afe9687e9ad3bb was released in 3.7.0. The only reason I have left this issues open was that I also wanted to make sure that ensurepip failures in the post-install

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-07-13 Thread Larry Hastings
Larry Hastings added the comment: New changeset 221178aea686abf13ff92b7e2b5ed3e739a53b3f by larryhastings (Gregory P. Smith) in branch '3.5': [3.5] bpo-36816: Update the self-signed.pythontest.net cert (GH-13192) (#13200)

[issue37563] Documentation - default for StreamHandler

2019-07-13 Thread Jonathan
Jonathan added the comment: >What fallacy? You appeared to be saying (to paraphrase) "no-one else has ever reported this, so it's never been a problem". That's a fallacy. > I was responding to "does anyone else have opinions on this?" I was asking if anyone else wanted to chime in with an

[issue25433] whitespace in strip()/lstrip()/rstrip()

2019-07-13 Thread Ulf Rompe
Ulf Rompe added the comment: Using a re.sub() call as documentation: 1. wouldn't be helpful for many developers. If they need to look up the documentation of a simple method they shouldn't be forced to learn about a more complex one as well to understand it. 2. would be wild guessing since

[issue36261] email examples should not gratuitously mess with preamble

2019-07-13 Thread Carl Bordum Hansen
Carl Bordum Hansen added the comment: I also only found the one case. Submitted a patch. -- nosy: +carlbordum ___ Python tracker ___

[issue36261] email examples should not gratuitously mess with preamble

2019-07-13 Thread Carl Bordum Hansen
Change by Carl Bordum Hansen : -- keywords: +patch pull_requests: +14546 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14751 ___ Python tracker

[issue30088] mailbox.Maildir doesn't create subdir structure when create=True and base dir exists

2019-07-13 Thread miss-islington
miss-islington added the comment: New changeset d1524148cd08f00c0b7c1dfdf698bf96c246350d by Miss Islington (bot) in branch '3.7': bpo-30088: Document that existing dir structure isn't verified by mailbox.Maildir (GH-1163)

[issue30088] mailbox.Maildir doesn't create subdir structure when create=True and base dir exists

2019-07-13 Thread miss-islington
miss-islington added the comment: New changeset b815669c833c543b0f6696c3121a179f6b2383a6 by Miss Islington (bot) in branch '3.8': bpo-30088: Document that existing dir structure isn't verified by mailbox.Maildir (GH-1163)

[issue37587] JSON loads performance improvement for long strings

2019-07-13 Thread Marco Paolini
Marco Paolini added the comment: Also on my real workload (loading 60GB jsonl file containing mostly strings) I measured a 10% improvement -- ___ Python tracker ___

[issue25433] whitespace in strip()/lstrip()/rstrip()

2019-07-13 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +14548 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14753 ___ Python tracker

[issue37588] Py_DEPRECATED and unavoidable warnings

2019-07-13 Thread Phil Thompson
New submission from Phil Thompson : I have a number of static PyTypeObject declarations. In order to avoid compiler warnings about missing field initialisers I always provide explicit 0 values for unused fields (protected by #if PY_HEX_VERSION >= ...). However with v3.8b2 this triggers new

[issue33326] Convert collections (cmp_op, hasconst, hasname and others) in opcode module to more optimal type

2019-07-13 Thread Raymond Hettinger
Change by Raymond Hettinger : -- versions: +Python 3.9 -Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33326] Convert collections (cmp_op, hasconst, hasname and others) in opcode module to more optimal type

2019-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 for switching to sets or frozensets. -- nosy: +rhettinger ___ Python tracker ___ ___

[issue37587] JSON loads performance improvement for long strings

2019-07-13 Thread Marco Paolini
Marco Paolini added the comment: Here's the real world example $ ls -hs events-100k.json 84M events-100k.json +---+-+-+ | Benchmark | vanilla-bpo-events-100k | patched-bpo-events-100k |

[issue37559] IDLE: Scrolling issues with code context shown

2019-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I repeated Tal's experiment, on Windows, and added more. I list below multiple issues related to code context and scrolling, and possible solutions. 1: two geometry modes. After the text height is set on start up or by restore height, CC height is added

[issue28292] Make Calendar.itermonthdates() behave consistently in edge cases

2019-07-13 Thread Kyle Stanley
Kyle Stanley added the comment: >But we have precedent in this module and should maintain it. In general, applying different rules to standard library modules and changing private function naming conventions on a case-by-case basis creates rather drastic inconsistency. There definitely

[issue26967] argparse: allow_abbrev=False stops -vv from working

2019-07-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +14553 pull_request: https://github.com/python/cpython/pull/14759 ___ Python tracker ___

[issue26967] argparse: allow_abbrev=False stops -vv from working

2019-07-13 Thread miss-islington
miss-islington added the comment: New changeset dffca9e925ee5c3072663cbe8d4d4768406d5307 by Miss Islington (bot) (Zac Hatfield-Dodds) in branch 'master': bpo-26967: fix flag grouping with allow_abbrev=False (GH-14316)

[issue37583] Got a 113 error when running the test_socket

2019-07-13 Thread hai shi
hai shi added the comment: So I add this 113 error in `get_socket_conn_refused_errs` too ;) -- ___ Python tracker ___ ___

<    1   2