Change by Allen Li :
--
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue32299>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Allen Li :
mock.patch.dict.__enter__ should return the patched dict/mapping object.
Currently it returns nothing (None).
This would make setting up fixtures more convenient:
with mock.patch.dict(some.thing):
some.thing['foo'] = 'bar'
with mock.p
Change by Allen Li :
--
nosy: +Allen Li
___
Python tracker
<https://bugs.python.org/issue9924>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Allen Li :
sqlite3.connect() should accept PathLike objects (objects that implement
__fspath__)
--
messages: 304773
nosy: Allen Li
priority: normal
severity: normal
status: open
title: sqlite3.connect() should accept PathLike objects
versions: Python 3.6
Change by Allen Li :
--
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue31843>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Allen Li :
It would be useful to document that urllib.parse.{Defrag,Split,Parse}Result are
namedtuples, and make that API officially public if it was not otherwise.
These classes are implemented as namedtuples in Python 2 and 3, and I am not
aware of a reason that that