New submission from Mikhail Korobov:
Docs currently say that urllib.parse.SplitResult is a subclass of tuple,
without saying that it is namedtuple. What do you think about documenting it as
a namedtuple? It has an useful _replace method which allows to change some part
of URL before passing
Mikhail Korobov added the comment:
Shouldn't this fix be mentioned in
https://docs.python.org/3.5/whatsnew/3.5.html#optimizations ?
--
___
Python tracker
<http://bugs.python.org/is
Changes by Mikhail Korobov :
--
nosy: +kmike
___
Python tracker
<http://bugs.python.org/issue22003>
___
___
Python-bugs-list mailing list
Unsubscribe:
Mikhail Korobov added the comment:
my copy-paste went wrong, last statement in the example should be
>>> pickle.dumps(dct, protocol=1, fix_imports=False)
b'ccollections\ndefaultdict\nq\x00)Rq\x01.'
--
___
Python tracker
<
New submission from Mikhail Korobov:
I think REVERSE_IMPORT_MAPPING is wrong (see
http://hg.python.org/cpython/file/7272ef213b7c/Lib/_compat_pickle.py#l80 ). It
relies on dictionary items order and maps 'collections' module to either
UserString or UserList. This makes it imp
Changes by Mikhail Korobov :
--
nosy: +kmike
___
Python tracker
<http://bugs.python.org/issue6784>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Mikhail Korobov :
--
nosy: +kmike
___
Python tracker
<http://bugs.python.org/issue15027>
___
___
Python-bugs-list mailing list
Unsubscribe: