[issue34822] Simplify AST for slices

2020-03-06 Thread Guido van Rossum
Guido van Rossum added the comment: Haven’t looked at the code but I welcome the simplification. -- nosy: +gvanrossum ___ Python tracker ___

[issue39886] Remove unused arg in config_get_stdio_errors in Python/initconfig.c

2020-03-06 Thread Andy Lester
Change by Andy Lester : -- keywords: +patch pull_requests: +18182 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18823 ___ Python tracker ___

[issue39886] Remove unused arg in config_get_stdio_errors in Python/initconfig.c

2020-03-06 Thread Andy Lester
New submission from Andy Lester : config_get_stdio_errors(const PyConfig *config) does not use its arg. Delete it. -- components: Interpreter Core messages: 363582 nosy: petdance priority: normal severity: normal status: open title: Remove unused arg in config_get_stdio_errors in

[issue39885] IDLE right click should clear any selection

2020-03-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe the following is true: when only one selection is allowed, the cursor is normally at one end or the other, and any cursor movement either clear the selection or changes its range. -- ___ Python tracker

[issue39885] IDLE right click should clear any selection

2020-03-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Mozilla) Thunderbird, unlike (Mozilla) Firefox, has move/clear right clicks. -- title: IDLE right click should unselect -> IDLE right click should clear any selection ___ Python tracker

[issue39852] IDLE: Goto should remove selection and update the status bar

2020-03-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed about right clicks. See new issue #39885. -- ___ Python tracker ___ ___ Python-bugs-list

[issue39885] IDLE right click should unselect

2020-03-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Spinoff from #39852. At least the selection clear code added there should be pulled into a module level function and tested. -- ___ Python tracker

[issue39885] IDLE right click should unselect

2020-03-06 Thread Terry J. Reedy
New submission from Terry J. Reedy : In text editors, right click commonly brings up a context menu, often including Cut, Copy, Paste, and Delete, with inapplicable entries grayed out. There are at least 2 'standard' behaviors (at least on Windows) with respect to the cursor and selections.

[issue39878] Remove unused args in Python/formatter_unicode.c

2020-03-06 Thread Andy Lester
Change by Andy Lester : -- pull_requests: +18181 pull_request: https://github.com/python/cpython/pull/18822 ___ Python tracker ___

[issue14126] Speed up list comprehensions by preallocating the list where possible

2020-03-06 Thread Ammar Askar
Ammar Askar added the comment: I believe this was implemented in issue33234 -- nosy: +ammar2 resolution: -> fixed stage: needs patch -> resolved status: open -> closed superseder: -> Improve list() pre-sizing for inputs with known lengths ___

[issue39884] "SystemError: bad call flags" exceptions added as part of BPO-33012 are difficult to debug

2020-03-06 Thread Enji Cooper
New submission from Enji Cooper : When a body of C extensions needs to be ported from python <3.8 to 3.8, one of the issues one might run into is improperly defined methods in a C extension, which results in SystemErrors stating: >>> SystemError: bad call flags This new behavior was added

[issue21401] python2 -3 does not warn about str/unicode to bytes conversions and comparisons

2020-03-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: Python 2 is done. -- nosy: +benjamin.peterson resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___

[issue39127] _Py_HashPointer's void * argument should be const

2020-03-06 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39883] Use BSD0 license for code in docs

2020-03-06 Thread Todd Jennings
New submission from Todd Jennings : Currently using code examples and recipes from the documentation is complicated by the fact that they are all under the Python 2.0 license. Putting them under a more permissive license, particular the BSD0 license, would make them much easier to use in

[issue39867] randrange(N) for N's in same dyadic blocs have excessive correlations when sharing identical seeds

2020-03-06 Thread Tim Peters
Tim Peters added the comment: I've been involved - usually very lightly, but sometimes deeply - with PRNGs for over 40 years. I've never seen anyone raise the kinds of concerns you're raising here, and, frankly, they don't make sense to me. But on the chance that I've missed recent

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-06 Thread miss-islington
miss-islington added the comment: New changeset d692d52f4aaeb6feaabb18f18d49907dd578fbeb by Miss Islington (bot) in branch '3.8': bpo-39837: Disable macOS tests on Azure Pipelines (GH-18818) https://github.com/python/cpython/commit/d692d52f4aaeb6feaabb18f18d49907dd578fbeb --

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-06 Thread miss-islington
miss-islington added the comment: New changeset 47b7c227048f2cb019cc3ec2fef7e867f1b232f3 by Miss Islington (bot) in branch '3.7': bpo-39837: Disable macOS tests on Azure Pipelines (GH-18818) https://github.com/python/cpython/commit/47b7c227048f2cb019cc3ec2fef7e867f1b232f3 --

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-06 Thread Steve Dower
Steve Dower added the comment: I've disabled macOS builds on Pipelines, so now they're essentially advisory through the GitHub Actions build. I also pinged some contacts about the not-very-useful behaviour of required checks vs. path filters. So will see what they say. -- versions:

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-06 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +18178 pull_request: https://github.com/python/cpython/pull/18820 ___ Python tracker

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +18179 pull_request: https://github.com/python/cpython/pull/18821 ___ Python tracker ___

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-06 Thread Steve Dower
Steve Dower added the comment: New changeset 31350f9af09dcff7cf6ff4b0a0a7ea595942372e by Steve Dower in branch 'master': bpo-39837: Disable macOS tests on Azure Pipelines (GH-18818) https://github.com/python/cpython/commit/31350f9af09dcff7cf6ff4b0a0a7ea595942372e --

[issue39882] Py_FatalError(): log automatically the function name

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9e5d30cc99e34f4c3e7b2cd851de20816c9d1927 by Victor Stinner in branch 'master': bpo-39882: Py_FatalError() logs the function name (GH-18819) https://github.com/python/cpython/commit/9e5d30cc99e34f4c3e7b2cd851de20816c9d1927 --

[issue39877] Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7b3c252dc7f44d4bdc4c7c82d225ebd09c78f520 by Victor Stinner in branch 'master': bpo-39877: _PyRuntimeState.finalizing becomes atomic (GH-18816) https://github.com/python/cpython/commit/7b3c252dc7f44d4bdc4c7c82d225ebd09c78f520 --

[issue39882] Py_FatalError(): log automatically the function name

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18177 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18819 ___ Python tracker ___

[issue39882] Py_FatalError(): log automatically the function name

2020-03-06 Thread STINNER Victor
New submission from STINNER Victor : Attached PR modify Py_FatalError() to log automatically the function name. -- components: C API messages: 363565 nosy: vstinner priority: normal severity: normal status: open title: Py_FatalError(): log automatically the function name versions:

[issue39573] Make PyObject an opaque structure in the limited C API

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 557287075c264d2458cd3e1b45e9b8ee5341e0a1 by Andy Lester in branch 'master': bpo-39573: Use Py_IS_TYPE() macro to check for types (GH-18809) https://github.com/python/cpython/commit/557287075c264d2458cd3e1b45e9b8ee5341e0a1 --

[issue39837] Remove Azure Pipelines from GitHub PRs

2020-03-06 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +18176 pull_request: https://github.com/python/cpython/pull/18818 ___ Python tracker ___

[issue18834] Add Clang to distutils to build C/C++ extensions

2020-03-06 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Oh my god this was still open? I think you can just use the CC variable, not sure what 6-years-younger-and-more-stupid me was thinking here. Sorry about the noise. -- stage: patch review -> resolved status: open -> closed

[issue21031] [patch] Add AlpineLinux to the platform module's supported distributions list

2020-03-06 Thread SilentGhost
Change by SilentGhost : -- versions: +Python 3.9 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39861] French doc __futur__: Bad URL

2020-03-06 Thread SilentGhost
Change by SilentGhost : -- assignee: docs@python -> components: -2to3 (2.x to 3.x conversion tool), Documentation resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue39881] Multiple Interpreters in the Stdlib (PEP 554) - High-level Implementation

2020-03-06 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +18175 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18817 ___ Python tracker

[issue39877] Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18174 pull_request: https://github.com/python/cpython/pull/18816 ___ Python tracker ___

[issue39868] Stale Python Language Reference docs (no walrus).

2020-03-06 Thread Brandt Bucher
Brandt Bucher added the comment: Great. Just replacing the TODO line with your new description (and maybe an example) should be perfect! -- keywords: -patch stage: patch review -> ___ Python tracker

[issue39880] string.lstrip() with leading '3's

2020-03-06 Thread Steven D'Aprano
Change by Steven D'Aprano : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39881] Multiple Interpreters in the Stdlib (PEP 554) - High-level Implementation

2020-03-06 Thread Joannah Nanjekye
New submission from Joannah Nanjekye : This is to track the high-level implementation of PEP 554. Please see the PEP here: https://www.python.org/dev/peps/pep-0554/ *** Note: PEP not accepted yet. -- assignee: nanjekyejoannah components: Interpreter Core messages: 363561 nosy:

[issue39127] _Py_HashPointer's void * argument should be const

2020-03-06 Thread Andy Lester
Andy Lester added the comment: Is there more to do here or can it be closed? -- ___ Python tracker ___ ___ Python-bugs-list

[issue27793] Double underscore variables in module are mangled when used in class

2020-03-06 Thread R. David Murray
R. David Murray added the comment: You are welcome to open a doc-enhancement issue for the global docs. For the other, as noted already if you want to advocate for a change to this behavior you need to start on python-ideas, but I don't think you will get any traction. Another possible

[issue39880] string.lstrip() with leading '3's

2020-03-06 Thread László Kiss Kollár
László Kiss Kollár added the comment: The argument in lstrip() is a set of characters which are stripped from the string and not a full substring. As the documentation states: "The chars argument is not a prefix; rather, all combinations of its values are stripped" See

[issue39809] argparse: add max_text_width parameter to ArgumentParser

2020-03-06 Thread Luca
Luca added the comment: The issue has been fixed in `typeshed`, so the following is now allowed: width = min(80, shutil.get_terminal_size().columns - 2) formatter_class = lambda prog: argparse.RawDescriptionHelpFormatter(prog, width=width)

[issue39791] New `files()` api from importlib_resources.

2020-03-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: The latest release, 1.3.0, includes extensibility support and has been merged with the cpython branch of the importlib_resources project. I believe that code is now synced with this project and ready to be applied here. I'm hoping benthayer can apply the

[issue39861] French doc __futur__: Bad URL

2020-03-06 Thread Matheus Vieira Portela
Matheus Vieira Portela added the comment: The PR has already been merged. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39880] string.lstrip() with leading '3's

2020-03-06 Thread Clayton Bingham
New submission from Clayton Bingham : Code to reproduce the behavior: ``` string = 'h.pt3dadd(.994527806812,7310.741605031661,-152.492,0.2815384615384615,sec=sectionList[1396])\n' print(string.lstrip('h.pt3dadd(').split(',')) ``` The lstrip method removed 'h.pt3dadd(' but also removes

[issue27793] Double underscore variables in module are mangled when used in class

2020-03-06 Thread Jan Christoph
Jan Christoph added the comment: In particular, this might conflict with the documentation of global, which states: > If the target is an identifier (name): > >If the name does not occur in a global statement in the current code > block: the name is bound to the object in the current

[issue38894] Path.glob() sometimes misses files that match

2020-03-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +18173 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18815 ___ Python tracker

[issue38894] Path.glob() sometimes misses files that match

2020-03-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ok, I managed to reproduce. This seems a regression introduced by https://github.com/python/cpython/pull/11988 in issue https://bugs.python.org/issue36035. -- ___ Python tracker

[issue38894] Path.glob() sometimes misses files that match

2020-03-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg363548 ___ Python tracker ___ ___ Python-bugs-list

[issue14126] Speed up list comprehensions by preallocating the list where possible

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21401] python2 -3 does not warn about str/unicode to bytes conversions and comparisons

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12238] Readline module loading in interactive mode

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21031] [patch] Add AlpineLinux to the platform module's supported distributions list

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19941] python -m imports non-ASCII .py file without encoding declaration

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37497] Add inspect.Signature.from_text().

2020-03-06 Thread Yury Selivanov
Yury Selivanov added the comment: I'd be fine with `Signature.from_text()`, but not with `Signature` constructor / `signature()` function accepting both callable and string arguments. Overall, I think that we ought to have a real need to add this new API, so unless there's a good (or any,

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- assignee: docs@python -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19533] Unloading docstrings from memory if -OO is given

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: Do note that .pyc files now encode their optimization levels, so the only thing to potentially do here is change the compiler to toss docstrings out and make sure they are freed when they are parsed to avoid holding on to them. --

[issue19533] Unloading docstrings from memory if -OO is given

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19531] Loading -OO bytecode files if -O was requested can lead to problems

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: .pyc files now include their optimization levels in their file names. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue38894] Path.glob() sometimes misses files that match

2020-03-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I fail to reproduce this last example: ~/github/python/master master* ❯ mkdir tmp ~/github/python/master master* ❯ cd tmp ~/github/python/master/tmp master* ❯ touch 1.txt ~/github/python/master/tmp master* ❯ ln -s

[issue19298] Use __attribute__(cleanup ...) to detect refleaks

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: This is still a neat idea. :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18862] Implement __subclasshook__() for Finders and Loaders in importlib.abc

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18961] Non-UTF8 encoding line

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18831] importlib.import_module() bypasses builtins.__import__

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: I'm calling it and saying people are not expecting these semantics. -- resolution: -> not a bug stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue18307] Relative path in co_filename for zipped modules

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18269] Add new parameter format for converter function w/ position number

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17848] can't compile with clang and build a shared lib due to libffi

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38894] Path.glob() sometimes misses files that match

2020-03-06 Thread Matt Wozniski
Matt Wozniski added the comment: A simple test case for this issue: ~>mkdir tmp ~>cd tmp tmp>touch 1.txt tmp>ln -s subdir/file 2.txt tmp>touch 3.txt tmp>ls -l total 0 -rw-rw-r-- 1 mwoznisk general 0 Mar 6 14:52 1.txt lrwxrwxrwx 1 mwoznisk general 11 Mar 6 14:52 2.txt -> subdir/file

[issue17296] Cannot unpickle classes derived from 'Exception'

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: As this was fixed in 3.3 that means all actively maintained versions have the fix, and so closing as fixed. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue17231] Mark __del__ not being called in cycles as an impl detail

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: I believe this is covered in the latest docs for (at least) 3.9. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue39875] urllib.request.urlopen sends POST data as query string

2020-03-06 Thread henrik242
henrik242 added the comment: Root cause for this seems to be https://bugs.python.org/issue12849 -- ___ Python tracker ___ ___

[issue19257] Sub-optimal error message when importing a non-package

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: I'm going to make a call and say the chained exception should stay. If people want to start the discussion again they can. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___

[issue12849] Cannot override 'connection: close' in urllib2 headers

2020-03-06 Thread henrik242
henrik242 added the comment: That mandatory "Connection: close" makes it impossible to POST a data request to Solr, as described in https://bugs.python.org/issue39875 It would be very helpful if it could be made optional. -- nosy: +henrik242 versions: +Python 3.7

[issue19081] zipimport behaves badly when the zip file changes while the process is running

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18834] Add Clang to distutils to build C/C++ extensions

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18717] test for request.urlretrieve

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18275] Make isinstance() work with super type instances

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: After 6 years and no really movement I don't think we are going to bother to change the semantics for this. :) -- resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue17716] From ... import fails when parent package failed but child module succeeded, yet works in std import case

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: Import now has proper messaging of the failure in the package and not an error about being unable to import the submodule. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue18114] Update PyImport_ImportFrozenModuleObject() to set __package__

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: Since there's work to drop __package__, closing as "won't fix". -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue17620] Python interactive console doesn't use sys.stdin for input

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38894] Path.glob() sometimes misses files that match

2020-03-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- assignee: -> pablogsal nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17004] Expand zipimport to include other compression methods

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16981] ImportError hides real error when there too many open files during an import

2020-03-06 Thread Brett Cannon
Brett Cannon added the comment: Now that importlib is import and it would raise OSError I'm closing this as fixed. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue16894] Function attribute access doesn't invoke methods in dict subclasses

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16891] Fix docs about module search order

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16845] warnings.simplefilter should validate input

2020-03-06 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39810] Generic script for finding bugs in get_source_segment

2020-03-06 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36144] Dictionary union. (PEP 584)

2020-03-06 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +18172 pull_request: https://github.com/python/cpython/pull/18814 ___ Python tracker ___

[issue37497] Add inspect.Signature.from_text().

2020-03-06 Thread Eric Snow
Eric Snow added the comment: Honestly, I don't recall exactly the concrete use case for which I opened this. :) I *think* it was related to applying a more restrictive signature onto an existing function (e.g. with a decorator). -- ___ Python

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread Eric Snow
Eric Snow added the comment: Thanks for fixing that, Caleb! FWIW, I've opened a separate issue (#39879) for adding a note in the language reference about dict ordering. Sorry for the confusion. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue39879] Update language reference to specify that dict is insertion-ordered.

2020-03-06 Thread Eric Snow
New submission from Eric Snow : As of 3.7 [1], dict is guaranteed to preserve insertion order: the insertion-order preservation nature of dict objects has been declared to be an official part of the Python language spec. However, at least one key part of the language reference [2] was

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread miss-islington
miss-islington added the comment: New changeset 6df0c47669031c6a8e9b1a07ec2c5813e4c10ee0 by Miss Islington (bot) in branch '3.8': bpo-17422: slightly more precise language (GH-18682) https://github.com/python/cpython/commit/6df0c47669031c6a8e9b1a07ec2c5813e4c10ee0 --

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread miss-islington
miss-islington added the comment: New changeset f1b79645cf18b2c212cd26d547cd1762fd534d4b by Miss Islington (bot) in branch '3.7': bpo-17422: slightly more precise language (GH-18682) https://github.com/python/cpython/commit/f1b79645cf18b2c212cd26d547cd1762fd534d4b --

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +18170 pull_request: https://github.com/python/cpython/pull/18812 ___ Python tracker ___

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +18171 pull_request: https://github.com/python/cpython/pull/18813 ___ Python tracker ___

[issue17422] language reference should specify restrictions on class namespace

2020-03-06 Thread miss-islington
miss-islington added the comment: New changeset e59334ebc9308b0f3ad048ef293c6b49e6456d1a by Caleb Donovick in branch 'master': bpo-17422: slightly more precise language (GH-18682) https://github.com/python/cpython/commit/e59334ebc9308b0f3ad048ef293c6b49e6456d1a --

[issue39873] Debug mode: check if objects are valid

2020-03-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9a73705a1d0cb8b89d0a20add2ffa2c4d32950ed by Victor Stinner in branch 'master': bpo-39873: Cleanup _PyObject_CheckConsistency() (GH-18807) https://github.com/python/cpython/commit/9a73705a1d0cb8b89d0a20add2ffa2c4d32950ed --

[issue36144] Dictionary union. (PEP 584)

2020-03-06 Thread Brandt Bucher
Brandt Bucher added the comment: My brother will have a ChainMap PR up soon. I'm just finishing up MappingProxyType, myself. Probably both this weekend. Then I'll move on to OrderedDict, which looks like it could be tricky. I'll need to familiarize myself with the implementation better

[issue36144] Dictionary union. (PEP 584)

2020-03-06 Thread Guido van Rossum
Guido van Rossum added the comment: Still waiting for ChainMap -- what else? -- ___ Python tracker ___ ___ Python-bugs-list

[issue39877] Daemon thread is crashing in PyEval_RestoreThread() while the main thread is exiting the process

2020-03-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18169 pull_request: https://github.com/python/cpython/pull/18811 ___ Python tracker ___

[issue36144] Dictionary union. (PEP 584)

2020-03-06 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 57c9d1725689dde068a7fccaa7500772ecd16d2e by Brandt Bucher in branch 'master': bpo-36144: Implement defaultdict union (GH-18729) https://github.com/python/cpython/commit/57c9d1725689dde068a7fccaa7500772ecd16d2e --

[issue39878] Remove unused args in Python/formatter_unicode.c

2020-03-06 Thread Andy Lester
Change by Andy Lester : -- keywords: +patch pull_requests: +18168 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18810 ___ Python tracker ___

[issue39878] Remove unused args in Python/formatter_unicode.c

2020-03-06 Thread Andy Lester
New submission from Andy Lester : The following functions have unused args: calc_number_widths -> PyObject *number fill_number -> Py_ssize_t d_end -- components: Interpreter Core messages: 363525 nosy: petdance priority: normal severity: normal status: open title: Remove unused args

  1   2   >