[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)

[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 ___

[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

[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 ___ ___

[issue22121] Start IDLE from icon in a better place.

2019-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Looking at the revised title, +1 for changing the IDLE Icon startup, but let's keep the command-line startup sticking with the current directory: $ mkdir pyclass $ cd pyclass $ python3.8 -m idlelib.idle # Should start in the pyclass directory

[issue13127] xml.dom.Attr.name is not labeled as read-only

2019-07-13 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: In https://github.com/python/cpython/pull/14757 I tried updating the implementation of `Attr._set_name` to remove and reset the attr node in the owner element. So now `Attr._set_name` behaves similarly to `Document.renameNode`. All existing tests are

[issue22121] Start IDLE from icon in a better place.

2019-07-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13127] xml.dom.Attr.name is not labeled as read-only

2019-07-13 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- keywords: +patch pull_requests: +14552 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14757 ___ Python tracker

[issue22121] Start IDLE from icon in a better place.

2019-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, there is a problem in both lines of this suggestion. if os.path.normcase(os.getcwd()) == os.path.normcase(sys.prefix): os.chdir(get_default_location(sys.platform)) On my 3.8 repository build, >>> import os; os.getcwd()

[issue37492] should email.utils.parseaddr treat a@b. as invalid email ?

2019-07-13 Thread jpic
jpic added the comment: Thanks for the heads up. There is still one last case where maybe parseaddr should return a tuple of empty strings, currently: >>> parseaddr('a@') ('', 'a@') Is this worth changing ? -- ___ Python tracker

[issue30550] Document order-preserving dictionary output in json

2019-07-13 Thread Kyle Stanley
Kyle Stanley added the comment: > The JSON encoder for dictionaries preserves the order of the items in a > dictionary >From what I can tell, the JSON encoder does nothing to preserve the order of >the keys. Although the default option is to not modify the existing >dictionary, the items()

[issue37492] should email.utils.parseaddr treat a@b. as invalid email ?

2019-07-13 Thread R. David Murray
R. David Murray added the comment: Right, those absolutely are valid addresses. A resolver will normally look up a name with an internal dot first as if it were an FQDN, but if it does so and does not get an answer it will then look it up again as a "local" address (appending in turn the

[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

[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 |

[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

[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

[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). --

[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 ___ ___

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

2019-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: > When I start IDLE ("python -m idle") from my project directory > I expect that it doesn't change current directory and I can > access files in this directory by short relative name. I rely on this behavior when teaching Python courses. IIRC, David

[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

[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

[issue37563] Documentation - default for StreamHandler

2019-07-13 Thread Vinay Sajip
Vinay Sajip added the comment: > This is a fallacy. What fallacy? I was responding to "does anyone else have opinions on this?" I can't read minds of people all over the world, so I have to go by my best guess, which is based on how many times this issue has been reported before - which I

[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 ___

[issue25998] doctest terminates when accessing __wrapped__ raises an error

2019-07-13 Thread Mickaël Schoentgen
Change by Mickaël Schoentgen : -- keywords: +patch pull_requests: +14551 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14756 ___ Python tracker

[issue37521] importlib examples have their exec_module()/sys.modules assignment lines reversed

2019-07-13 Thread Benjamin Mintz
Benjamin Mintz added the comment: Hmm, why is the assignment to sys.modules necessary at all, if module_from_spec() always does so? -- ___ Python tracker ___

[issue37573] asyncio: freeze when using MultiLoopChildWatcher on Solaris

2019-07-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks for the report. -- assignee: -> asvetlov ___ Python tracker ___ ___ Python-bugs-list

[issue35409] Async generator might re-throw GeneratorExit on aclose()

2019-07-13 Thread Vincent Michel
Change by Vincent Michel : -- pull_requests: +14550 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14755 ___ Python tracker ___

[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

[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

[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

[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)

[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

[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 ___

[issue37358] Use vectorcall for functools.partial

2019-07-13 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[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:

[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 ___

[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)

[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? --

[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

[issue37587] JSON loads performance improvement for long strings

2019-07-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2019-07-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ 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 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)

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

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

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

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

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

2019-07-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: In response to msg282272: That day has come, the beta for 10.15 contains Python 3.7.3. -- ___ Python tracker ___

[issue37587] JSON loads performance improvement for long strings

2019-07-13 Thread Marco Paolini
New submission from Marco Paolini : I analysed the performance of json.loads in one production workload we have. Spy-py tells me the majority of time is spent into C json module (see events.svg) Digging deeper, linux perf tells me hottest loop (where 20%+ of the time is spent) in

[issue37358] Use vectorcall for functools.partial

2019-07-13 Thread miss-islington
miss-islington added the comment: New changeset ed184c06e2e610e12050c5d5c9b0c1c2ecabb930 by Miss Islington (bot) (Jeroen Demeyer) in branch 'master': bpo-37358: Use vectorcall for functools.partial (GH-14284) https://github.com/python/cpython/commit/ed184c06e2e610e12050c5d5c9b0c1c2ecabb930

[issue18049] Re-enable threading test on macOS

2019-07-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've converted the patch to a pull request (and closed to other issue because that has a patch that is less complete). I'm not sure if it is acceptable to backport this patch to 3.8 at this time. -- title: Re-enable threading test on OSX ->

[issue37572] email lib bug

2019-07-13 Thread SilentGhost
SilentGhost added the comment: This seems to be a duplicate of #34424. You'd have to upgrade to the latest 3.7 to get the fix. -- nosy: +SilentGhost resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Unicode names break email header type: ->

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2019-07-13 Thread Carl Bordum Hansen
Carl Bordum Hansen added the comment: I think changing the message will break a lot of tests. Here are some examples just from CPython: https://github.com/python/cpython/blob/master/Lib/test/test_dataclasses.py#L2655 https://github.com/python/cpython/blob/master/Lib/test/test_extcall.py It

[issue18049] Re-enable threading test on OSX

2019-07-13 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +14543 pull_request: https://github.com/python/cpython/pull/14748 ___ Python tracker ___

[issue30588] Missing documentation for codecs.escape_decode

2019-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I disagree. We can change, rename or remove it because it is not public function and never was. But we can not just remove it while it is used in the pickle module, and there is no reason to change it as it works pretty good for its purpose. If you want

[issue37572] email lib bug

2019-07-13 Thread famu xu
famu xu added the comment: import smtplib from email.message import EmailMessage from email.utils import formataddr server = smtplib.SMTP('smtp.xxx.com',port=25) server.login('y...@xxx.com', 'password') msg = EmailMessage() #if address username include Chinese or other multibytes language, it

[issue30588] Missing documentation for codecs.escape_decode

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

[issue34264] Inconsistency between stack size in main thread and secondary threads on macOS

2019-07-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is a duplicate of 18049, which has a more complete patch. -- resolution: -> duplicate stage: patch review -> resolved superseder: -> Re-enable threading test on OSX ___ Python tracker

[issue34264] Inconsistency between stack size in main thread and secondary threads on macOS

2019-07-13 Thread Ronald Oussoren
Change by Ronald Oussoren : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-07-13 Thread Larry Hastings
Larry Hastings added the comment: Maynard is unsupported; it only understands the old bytecode format, pre-3.6 16-bit "wordcode". https://docs.python.org/3.6/whatsnew/3.6.html#optimizations -- ___ Python tracker

[issue37548] Document range of atan, acos and asin

2019-07-13 Thread Mark Dickinson
Mark Dickinson added the comment: Done for 3.9; closing. Thank you for the contribution! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37548] Document range of atan, acos and asin

2019-07-13 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset dc3f99fa77f415077c20a9c2b3e953e5cd894076 by Mark Dickinson (Giovanni Cappellotto) in branch 'master': bpo-37548: Document range of atan, acos and asin (GH-14717) https://github.com/python/cpython/commit/dc3f99fa77f415077c20a9c2b3e953e5cd894076

[issue37579] Difference in equality check between C and Python implementation for datetime module's timedelta and time

2019-07-13 Thread miss-islington
miss-islington added the comment: New changeset 143672cf028740fc549e532c049559c522930c95 by Miss Islington (bot) in branch '3.8': bpo-37579: Improve equality behavior for pure Python datetime and time (GH-14726)

[issue34722] Non-deterministic bytecode generation

2019-07-13 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I encounter another case that leads to non-deterministic bytecode. For example, with commit e6b46aafad3427463d6264a68824df4797e682f1 + PR 9472, I got: $ cat foobar.py _m = None $ PYTHONHASHSEED=0 ./python -m compileall --invalidation-mode=unchecked-hash

[issue37586] macOS: posix_spawn(..., setsid=True)

2019-07-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is not a bug in Xcode 11. Xcode 11 includes definitions for new flags that get picked up by Python's build, but only work on a new version of macOS. I guess this could be seen as a bug in macOS 10.14 (and earlier) because it ignores an unknown flag

[issue37579] Difference in equality check between C and Python implementation for datetime module's timedelta and time

2019-07-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +14541 pull_request: https://github.com/python/cpython/pull/14745 ___ Python tracker ___

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

2019-07-13 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +14540 pull_request: https://github.com/python/cpython/pull/14744 ___ Python tracker ___

[issue37579] Difference in equality check between C and Python implementation for datetime module's timedelta and time

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

[issue37555] _CallList.__contains__ doesn't always respect ANY.

2019-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Would be nice to report a bug in Django. -- ___ Python tracker ___ ___ Python-bugs-list

[issue37575] Python Documentation on strings (tutorial section 3.1.2.)

2019-07-13 Thread Mark Dickinson
Change by Mark Dickinson : -- resolution: -> not a bug status: open -> pending type: resource usage -> ___ Python tracker ___ ___

[issue37586] macOS: posix_spawn(..., setsid=True)

2019-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: File a bug in Xcode 11? If it will not be fixed we will need to add a workaround (like checking the macOS version explicitly). -- nosy: +serhiy.storchaka ___ Python tracker

[issue37586] macOS: posix_spawn(..., setsid=True)

2019-07-13 Thread Ronald Oussoren
New submission from Ronald Oussoren : The Xcode 11 beta introduced a definition for POSIX_SPAWN_SETSID, but that flag is only supported on macOS 10.15 (also beta), not on earlier versions. Because of this the testsuite will have failures when you build using Xcode 11 on macOS 10.14. I'm

[issue37579] Difference in equality check between C and Python implementation for datetime module's timedelta and time

2019-07-13 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset e6b46aafad3427463d6264a68824df4797e682f1 by Paul Ganssle (Xtreak) in branch 'master': bpo-37579: Improve equality behavior for pure Python datetime and time (GH-14726)

[issue34697] ctypes: Crash if manually-created CField instance is used

2019-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Is this issue worth fixing? Definitely yes. > If so, is the correct way to set tp_new slot to NULL and fix the internal > callers so that users wouldn't be able to create CField instances? I think yes. Do you mind to create a PR? --

[issue37579] Difference in equality check between C and Python implementation for datetime module's timedelta and time

2019-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do you mind to fix also other similar cases if they are? __lt__ and others should have the same property. -- ___ Python tracker ___

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

2019-07-13 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +14538 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14742 ___ Python tracker ___

[issue28269] [MinGW] Can't compile Python/dynload_win.c due to static strcasecmp

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

[issue28269] [MinGW] Can't compile Python/dynload_win.c due to static strcasecmp

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

[issue28269] [MinGW] Can't compile Python/dynload_win.c due to static strcasecmp

2019-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 05f2d84cae4ba1ff15b7a1d0347305393f4bdcc5 by Serhiy Storchaka (Minmin Gong) in branch 'master': bpo-28269: Replace strcasecmp with system function _stricmp. (GH-13095)

[issue37578] Change Glob: Allow Recursion for Hidden Files

2019-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is an interesting question. What other implementations behave? -- ___ Python tracker ___

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

2019-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are hundreds or thousands of private names in other modules. Do you propose to change them all? I afraid that this will cause more harm than benefit. -- ___ Python tracker

[issue37574] Mention spec_from_loader() in Finder.find_spec() docs.

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

[issue37580] Markup typo in http.cookiejar doc

2019-07-13 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37585] Comparing PyDictValues does not give expected results

2019-07-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> dict view values objects are missing tp_richcmp and tp_as_number ___ Python tracker

[issue35476] _imp_create_dynamic_impl() does not clear error.

2019-07-13 Thread Batuhan
Batuhan added the comment: Can you give me the case so i can reproduce this and test it. -- nosy: +BTaskaya ___ Python tracker ___

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

2019-07-13 Thread Sviatoslav Sydorenko
Sviatoslav Sydorenko added the comment: Hi, I've tried clarifying this in docs as suggested @ https://github.com/python/cpython/pull/1163 -- ___ Python tracker ___

[issue37585] Comparing PyDictValues does not give expected results

2019-07-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue12445 which was a similar proposal rejected in the past. -- nosy: +inada.naoki, xtreak ___ Python tracker ___

[issue35476] _imp_create_dynamic_impl() does not clear error.

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

[issue37585] Comparing PyDictValues does not give expected results

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

[issue37585] Comparing PyDictValues does not give expected results

2019-07-13 Thread Kristian Klette
New submission from Kristian Klette : As a user, I expect to be able to compare the different parts a `dict` in the same manner. Currently, `PyDictValues` does not implement the `dictview_richcompare`, causing the `__eq__` to always return false, even if the values are identical. ```

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2019-07-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: As promised there is now a pull request. I'd love a review (and a change to approve the pull request when reviewers are happy, I'm trying to get back into actively contributing). --- I now understand why locale.getdefaultlocale() fails even when LC_CTYPE

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2019-07-13 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +14530 pull_request: https://github.com/python/cpython/pull/14736 ___ Python tracker ___

[issue9938] Documentation for argparse interactive use

2019-07-13 Thread Milan Oberkirch
Milan Oberkirch added the comment: This issue is a duplicate of issue 9112 which was resolved by commit 9375492b -- nosy: +zvyn ___ Python tracker ___

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2019-07-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: LC_CTYPE=UTF-8 is a valid configuration on macOS, and is in the default environment when you install a fresh system. This includes the beta's for macOS 10.15 and is therefore unlikely to change anytime soon. Interestingly enough I get this error even when

[issue7202] "python setup.py cmd --verbose" does not set verbosity

2019-07-13 Thread Milan Oberkirch
Milan Oberkirch added the comment: The help states: > usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] so I would argue that setup.py ignoring global_opts after cmd1 is not a bug. But I do think that the fact that "python setup.py build --dry-run" does not prevent the

[issue37584] Multiple test failures with OSError: [Errno 84] Invalid or incomplete multibyte or wide character on ZFS with utf8only=on

2019-07-13 Thread Dimiter Naydenov
Dimiter Naydenov added the comment: Here's some additional information I found for that specific attribute: >From the documentation at http://dlc.sun.com/osol/docs/content/ZFSADMIN/gazss.html (link is dead, but here's where I found the section below:

[issue37562] PEP 590 implementation may have introduced a performance regression

2019-07-13 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +14529 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14735 ___ Python tracker ___

[issue37583] Got a 113 error when running the test_socket

2019-07-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Victor handled similar errors in issue36629 where this helper was introduced. -- nosy: +vstinner, xtreak type: -> enhancement versions: +Python 3.9 ___ Python tracker

[issue37563] Documentation - default for StreamHandler

2019-07-13 Thread Jonathan
Jonathan added the comment: > I'm not sure your tone is particularly constructive here. Apologies, my bad. > Which code are you looking at? The documentation code: `class logging.StreamHandler(stream=None)`. Sorry, I don't know what you'd call that. I'm not referring to the code proper. >

[issue37580] Markup typo in http.cookiejar doc

2019-07-13 Thread miss-islington
miss-islington added the comment: New changeset 5da83b417e48aecd7698387d3f37c603162fd46e by Miss Islington (bot) in branch '3.8': bpo-37580: Fix typo in http.cookiejar documentation (GH-14731) https://github.com/python/cpython/commit/5da83b417e48aecd7698387d3f37c603162fd46e --

  1   2   >