[issue27464] Document that SplitResult & friends are namedtuples

2016-07-07 Thread Mikhail Korobov
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

[issue22003] BytesIO copy-on-write

2015-02-09 Thread Mikhail Korobov
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

[issue22003] BytesIO copy-on-write

2014-07-18 Thread Mikhail Korobov
Changes by Mikhail Korobov : -- nosy: +kmike ___ Python tracker <http://bugs.python.org/issue22003> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18473] some objects pickled by Python 3.x are not unpicklable in Python 2.x because of incorrect REVERSE_IMPORT_MAPPING

2013-07-16 Thread Mikhail Korobov
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 <

[issue18473] some objects pickled by Python 3.x are not unpicklable in Python 2.x because of incorrect REVERSE_IMPORT_MAPPING

2013-07-16 Thread Mikhail Korobov
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

[issue6784] byte/unicode pickle incompatibilities between python2 and python3

2012-12-17 Thread Mikhail Korobov
Changes by Mikhail Korobov : -- nosy: +kmike ___ Python tracker <http://bugs.python.org/issue6784> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15027] Faster UTF-32 encoding

2012-07-17 Thread Mikhail Korobov
Changes by Mikhail Korobov : -- nosy: +kmike ___ Python tracker <http://bugs.python.org/issue15027> ___ ___ Python-bugs-list mailing list Unsubscribe: