[issue30869] IDLE: Don't touch .idlerc when testing.

2019-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed PR 2614 in response to Victor's comments, in particular his preference that tests not even read .idlerc. Since we do not want tests to depend on the contents, there is no need to even read the contents. (And the exception of testing write-read rou

[issue36312] Invalid flag for some code page decoders

2019-03-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +12427 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36312] Invalid flag for some code page decoders

2019-03-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c1e2c288f41cdc1c6e6e09d9a5277a58232ceb03 by Serhiy Storchaka in branch 'master': bpo-36312: Fix decoders for some code pages. (GH-12369) https://github.com/python/cpython/commit/c1e2c288f41cdc1c6e6e09d9a5277a58232ceb03 -- __

[issue36285] Integer overflow in array.array.remove()

2019-03-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset aa3ecb80416958eb6fe8cc1b0dfbbfdfbcccead1 by Serhiy Storchaka (sth) in branch 'master': bpo-36285: Fix integer overflow in the array module. (GH-12317) https://github.com/python/cpython/commit/aa3ecb80416958eb6fe8cc1b0dfbbfdfbcccead1

[issue33964] IDLE maxosc.overrideRootMenu: remove unused menudict

2019-03-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: Since there's a `self.menudict` in the editor, I wonder if this was intended for that. The `self.menudict` is used in `ApplyKeyBindings`, which is called when the key bindings change in configdialog. So, if the mac OS menu isn't added to `self.menudict`, d

[issue36324] Inverse cumulative normal distribution function

2019-03-20 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +12428 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue26103] Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)

2019-03-20 Thread Aaron Hall
Change by Aaron Hall : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue31753] Unnecessary closure in ast.literal_eval

2019-03-20 Thread Aaron Hall
Aaron Hall added the comment: No need to keep this open, I agree with the core developers this shouldn't be changed. -- status: open -> closed ___ Python tracker ___

[issue36324] Inverse cumulative normal distribution function

2019-03-20 Thread miss-islington
miss-islington added the comment: New changeset 2afb59861827a23c1b50e44022bb77291351c2f1 by Miss Islington (bot) (Raymond Hettinger) in branch 'master': bpo-36324: NormalDist() add more tests and update comments (GH-12476) https://github.com/python/cpython/commit/2afb59861827a23c1b50e44022bb7

[issue28859] os.path.ismount sometimes raises FileNotFoundError on Windows

2019-03-20 Thread Christoph Reiter
Change by Christoph Reiter : -- versions: +Python 3.7 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue7936] sys.argv contains only scriptname

2019-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this because there is no identifiable issue with the current installers. Initial issues were reported fixed. The most recent issue reported by Alecz was that installing 2.7 after 3.4 caused python files to be opened by 2.7. This is what shoul

[issue29301] decimal: Use FASTCALL and/or Argument Clinic

2019-03-20 Thread STINNER Victor
STINNER Victor added the comment: > Also, the performance improvements are in argument parsing, but not when you > have numerical code like a * b, where a and b are already decimals. If the function call takes around 100 ns, the benefit of FASTCALL and the new more efficient function to par

[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2019-03-20 Thread Joel Croteau
New submission from Joel Croteau : I understand to a certain extent the logic in not allowing IPv4 octets that might ambiguously be octal, but in practice, it just seems like it creates additional parsing hassle needlessly. I have never in many years of working on many networked systems seen

[issue36085] Enable better DLL resolution

2019-03-20 Thread Steve Dower
Steve Dower added the comment: I think we'll be keeping Win7 with the KB. However, we've discovered in the PR that changing the default DLL lookup may cause Python to crash when accessing HKEY_PERFORMANCE_DATA (which fails to delay-load a DLL). This occurs because accessing that key enumerat

[issue36256] parser module fails on legal input

2019-03-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +12429 stage: -> patch review ___ Python tracker ___ ___ Pytho

[issue36355] Remove documentation and internal use of the *RESTRICTED constants for PyMemberDef's flags field

2019-03-20 Thread Josh Rosenberg
Josh Rosenberg added the comment: Yes, they're set. They're never *read* anywhere. My suggestion was to stop setting them (because it gives the impression they do something when reading the docs, when in fact they do nothing), and remove them from the docs. -- __

[issue29301] decimal: Use FASTCALL and/or Argument Clinic

2019-03-20 Thread STINNER Victor
STINNER Victor added the comment: Hum, after reading again my previous, I'm not sure that my intent was clear. I'm fine with Stefan rejecting the optimization. He is the maintainer of decimal. I just wanted to comment what he said ;-) -- ___ Pytho

[issue36355] Remove documentation and internal use of the *RESTRICTED constants for PyMemberDef's flags field

2019-03-20 Thread Josh Rosenberg
Josh Rosenberg added the comment: Sorry, that should have been "it gives the impression they do something when reading the *source code*" -- ___ Python tracker ___ __

[issue36385] Add ``elif`` sentence on to avoid multiple ``if``

2019-03-20 Thread Emmanuel Arias
New submission from Emmanuel Arias : Currently, when arguments on Parser/asdl_c.py are parsed ìf sentence is used. This PR(https://github.com/python/cpython/pull/12478) Propose to use elif to avoid multiple evaluting of the ifs. -- messages: 338519 nosy: eamanu priority: normal severity

[issue36385] Add ``elif`` sentence on to avoid multiple ``if``

2019-03-20 Thread Emmanuel Arias
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +12430 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue14934] generator objects can clear their weakrefs before being resurrected

2019-03-20 Thread Windson Yang
Windson Yang added the comment: The fixed looks easy, we call `PyObject_CallFinalizerFromDealloc` before PyObject_ClearWeakRefs. But I can't come up with the use case for testing when generator resurrects from `PyObject_CallFinalizer`. Any ideas? -- _

[issue36386] segfault on PyUnicode_DecodeFSDefaultAndSize for uninitialized Py

2019-03-20 Thread anthony shaw
New submission from anthony shaw : If for whatever reason, Py_Initialize() has not been run or failed to run, any call to Py_CompileStringFlags will call PyUnicode_DecodeFSDefault and the reference to interp will be NULL. There is currently no null reference check in PyUnicode_DecodeFSDefault

[issue36312] Invalid flag for some code page decoders

2019-03-20 Thread miss-islington
miss-islington added the comment: New changeset 74829b7323642739cdc439c2c88d406daf92075b by Miss Islington (bot) in branch '3.7': bpo-36312: Fix decoders for some code pages. (GH-12369) https://github.com/python/cpython/commit/74829b7323642739cdc439c2c88d406daf92075b -- nosy: +miss-

[issue36385] Add ``elif`` sentence on to avoid multiple ``if``

2019-03-20 Thread miss-islington
miss-islington added the comment: New changeset ed5e29cba500c2336aacdb7c77953f1064235b72 by Miss Islington (bot) (Emmanuel Arias) in branch 'master': bpo-36385: Add ``elif`` sentence on to avoid multiple ``if`` (GH-12478) https://github.com/python/cpython/commit/ed5e29cba500c2336aacdb7c77953f

[issue36385] Add ``elif`` sentence on to avoid multiple ``if``

2019-03-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the patch. -- nosy: +rhettinger resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36323] IDLE: always display full grep path

2019-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. I somehow never marked it for IDLE. Using groupby components, I discovered another +-10 and marked them and included in my list. -- ___ Python tracker ___

[issue33950] IDLE htest: remove spec for deleted tabbedpages.py

2019-03-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue28523] Idlelib.configdialog: use 'color' insteadof 'colour'

2019-03-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue27372] Test_idle should stop changing locale

2019-03-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue18316] Idle 2.7: update to simplify cross-version patches

2019-03-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue28514] Python (IDLE?) freezes on file save on Windows

2019-03-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-

[issue36375] PEP 499 implementation: "python -m foo" binds the main module as both __main__ and foo in sys.modules

2019-03-20 Thread Cameron Simpson
Cameron Simpson added the comment: I've withdrawn the PR; I hadn't run the full test suite and there are things to fix. - Cameron -- ___ Python tracker ___ __

[issue36387] Refactor getenvironment() in _winapi.c

2019-03-20 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Function getenvironment() in Modules/_winapi.c is used for converting the environment mapping to the wchar_t string for passing to CreateProcessW(). It performs the following steps: * Allocate a Py_UCS4 buffer and copy all keys and values, converting the

[issue36346] Prepare for removing the legacy Unicode C API

2019-03-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Refactor getenvironment() in _winapi.c ___ Python tracker ___ ___ Python-bugs-list ma

[issue36387] Refactor getenvironment() in _winapi.c

2019-03-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8 -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

<    1   2