[Python-Dev] Re: Pull Request bpo-1812

2020-03-13 Thread Peter Donis
Is there any update on this? I have put the setup/teardown code in a context 
manager as Zach recommended. The setup/teardown code covers everything that 
could possibly be mutated by the test. It's probably not the most elegant way 
to do it, but all of the tests pass which indicates that it works. Github shows 
all checks passed and no conflicts with the base branch. I'm not sure what more 
would be needed at this point to make this ready to merge.
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/WMFLMU5PP2TKEOP7ULB3CAP22SVM4FYK/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Pull Request bpo-1812

2020-03-13 Thread Zachary Ware
On Fri, Mar 13, 2020 at 9:36 AM Peter Donis  wrote:
> Is there any update on this? I have put the setup/teardown code in a context 
> manager as Zach recommended. The setup/teardown code covers everything that 
> could possibly be mutated by the test. It's probably not the most elegant way 
> to do it, but all of the tests pass which indicates that it works. Github 
> shows all checks passed and no conflicts with the base branch. I'm not sure 
> what more would be needed at this point to make this ready to merge.

Sorry, I've been meaning to get back to this but have been short on
time :(.  I'd still like for someone with better knowledge of import
(and mocking thereof) to take a look, but if nobody steps forward in
the next few days I'll just merge it anyway :)
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/EGYNGQS3UKWDTYEDKVDLKXQT3C2BBS4W/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Summary of Python tracker Issues

2020-03-13 Thread Python tracker


ACTIVITY SUMMARY (2020-03-06 - 2020-03-13)
Python tracker at https://bugs.python.org/

To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.

Issues counts and deltas:
  open7357 ( -2)
  closed 44350 (+80)
  total  51707 (+78)

Open issues with patches: 2877 


Issues opened (52)
==

#14126: Speed up list comprehensions by preallocating the list where p
https://bugs.python.org/issue14126  reopened by vstinner

#26227: Windows: socket.gethostbyaddr(name) fails for non-ASCII hostna
https://bugs.python.org/issue26227  reopened by steve.dower

#39321: AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by S
https://bugs.python.org/issue39321  reopened by vstinner

#39829: __len__ called twice in the list() constructor
https://bugs.python.org/issue39829  reopened by eric.snow

#39879: Update language reference to specify that dict is insertion-or
https://bugs.python.org/issue39879  opened by eric.snow

#39881: Multiple Interpreters in the Stdlib (PEP 554) - High-level Imp
https://bugs.python.org/issue39881  opened by nanjekyejoannah

#39882: Py_FatalError(): log automatically the function name
https://bugs.python.org/issue39882  opened by vstinner

#39883: Use BSD0 license for code in docs
https://bugs.python.org/issue39883  opened by toddrjen

#39885: IDLE right click outside of any selection should clear it
https://bugs.python.org/issue39885  opened by terry.reedy

#39887: Duplicate C object description of vectorcallfunc
https://bugs.python.org/issue39887  opened by serhiy.storchaka

#39891: [difflib] Improve get_close_matches() to better match when cas
https://bugs.python.org/issue39891  opened by brian.gallagher

#39892: Enable DeprecationWarnings by default when not explicit in uni
https://bugs.python.org/issue39892  opened by gregory.p.smith

#39894: `pathlib.Path.samefile()` calls `os.stat()` without using acce
https://bugs.python.org/issue39894  opened by barneygale

#39895: `pathlib.Path.touch()` calls `os.close()` without using access
https://bugs.python.org/issue39895  opened by barneygale

#39897: `pathlib.Path.is_mount()` calls `Path(self.parent)` and theref
https://bugs.python.org/issue39897  opened by barneygale

#39901: `pathlib.Path.owner()` and `group()` use `pwd` and `grp` modul
https://bugs.python.org/issue39901  opened by barneygale

#39902: dis.Bytecode objects should be comparable
https://bugs.python.org/issue39902  opened by BTaskaya

#39906: pathlib.Path: add `follow_symlinks` argument to `stat()` and `
https://bugs.python.org/issue39906  opened by barneygale

#39908: Remove unused args from init_set_builtins_open and _Py_FatalEr
https://bugs.python.org/issue39908  opened by petdance

#39910: os.ftruncate on Windows should be sparse
https://bugs.python.org/issue39910  opened by Artoria2e5

#39912: warnings.py should not raise AssertionError when validating ar
https://bugs.python.org/issue39912  opened by remi.lapeyre

#39913: Document warnings.WarningMessage ?
https://bugs.python.org/issue39913  opened by blueyed

#39914: logging.config: '.' (dot) as a key is not documented
https://bugs.python.org/issue39914  opened by Yuta Okamoto

#39915: await_args_list in AsyncMock always refers to the last awaited
https://bugs.python.org/issue39915  opened by Mads Sejersen

#39917: new_compiler() called 2nd time causes error
https://bugs.python.org/issue39917  opened by televi

#39919: C extension code reliant on static flags/behavior with PY_DEBU
https://bugs.python.org/issue39919  opened by ngie

#39920: os.stat() and os.lstat() fail  with Windows device paths
https://bugs.python.org/issue39920  opened by Charles Machalow

#39924: pathlib handles missing `os.link`, `os.symlink` and `os.readli
https://bugs.python.org/issue39924  opened by barneygale

#39927: IDLE.app fails on macOS 10.15 if denied access to Documents
https://bugs.python.org/issue39927  opened by dd789

#39929: dataclasses.asdict will mangle collection.Counter instances
https://bugs.python.org/issue39929  opened by brad.scarl...@gmail.com

#39931: Global variables are not accessible from child processes (mult
https://bugs.python.org/issue39931  opened by agmt

#39932: test_multiprocessing_fork leaked [0, 2, 0] file descriptors on
https://bugs.python.org/issue39932  opened by vstinner

#39933: test_gdb fails on AMD64 FreeBSD Shared 3.x: ptrace: Operation 
https://bugs.python.org/issue39933  opened by vstinner

#39934: Fatal Python error "XXX block stack overflow" when exception s
https://bugs.python.org/issue39934  opened by myzhang1029

#39935: argparse: help parameter not documented in add_subparsers().ad
https://bugs.python.org/issue39935  opened by Nazime Koussaila Lakehal

#39937: Suggest the usage of Element.iter() instead of iter() in whats
https://bugs.python.org/issue39937  opened by rahul-kumi

#39939: Add str methods to remove prefixes or suffixes
https://bugs.python.org/issue39939  opened by Dennis Sweeney

#39940: Micro-optimizations to PySe

[Python-Dev] Re: Pull Request bpo-1812

2020-03-13 Thread Peter Donis
Ok, thanks for the update!
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/3BFH43ZXA5E3QJJIO2S2LNCEKBKPC2TJ/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: PEP 585: Type Hinting Generics In Standard Collections

2020-03-13 Thread Guido van Rossum
This now happened. Maybe you can just submit it to the SC for review? Or
did that already happen? (I no longer have any insight into the SC's queue.)

On Tue, Feb 25, 2020 at 2:40 PM Łukasz Langa  wrote:

>
> On 25 Feb 2020, at 16:22, Guido van Rossum  wrote:
>
> Łukasz, do you agree?
>
>
> As long as we include a form of Nick's explanation in the docs for the
> type, I'm fine with that.
>
> - Ł
>


-- 
--Guido van Rossum (python.org/~guido)
*Pronouns: he/him **(why is my pronoun here?)*

___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/ZPVJFR7FUA5RBDOH7EINSJ3NSNWCWALQ/
Code of Conduct: http://python.org/psf/codeofconduct/