5f1a5187f72acb75d59fa67286ecf5c186bae619 |
|
11-Sep-2016 |
Serhiy Storchaka <storchaka@gmail.com> |
Use sequence repetition instead of bytes constructor with integer argument.
/external/python/cpython3/Lib/pickletools.py
|
1ce738e08f147beb724f22a9411724a955cd418d |
|
08-May-2016 |
Martin Panter <vadmium+py@gmail.com> |
Merge typo fixes from 3.5
|
4c35964b764540988bfb342bffc7c4b1cb674031 |
|
08-May-2016 |
Martin Panter <vadmium+py@gmail.com> |
Corrections for a/an in code comments and documentation
/external/python/cpython3/Lib/pickletools.py
|
860c8a404ae540e5db076b2ca9b0605c30728dd9 |
|
29-Oct-2015 |
Benjamin Peterson <benjamin@python.org> |
merge 3.5 (#25502)
|
669ff66c326a0e5e0bed0619b691725f76ac3d04 |
|
29-Oct-2015 |
Benjamin Peterson <benjamin@python.org> |
remove duplicated imports (closes #25502)
/external/python/cpython3/Lib/pickletools.py
|
dbc517c2dd273f70d2608fd514477fbac459fcab |
|
13-Oct-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #25382: pickletools.dis() now outputs implicit memo index for the MEMOIZE opcode.
/external/python/cpython3/Lib/pickletools.py
|
5805ddeedb5624aa6677f5e03e6f505c9920495f |
|
13-Oct-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in pickletools.opcodes.
/external/python/cpython3/Lib/pickletools.py
|
05dadcfb28b815c9558fe2a6a74cd3ce7df62577 |
|
16-Dec-2014 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #19858: pickletools.optimize() now aware of the MEMOIZE opcode, can produce more compact result and no longer produces invalid output if input data contains MEMOIZE opcodes together with PUT or BINPUT opcodes.
/external/python/cpython3/Lib/pickletools.py
|
d05c9ff84501d93b13de40a9c7b0360c7d2ebada |
|
07-Dec-2013 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Issue #6784: Strings from Python 2 can now be unpickled as bytes objects. Initial patch by Merlijn van Deen. I've added a few unrelated docstring fixes in the patch while I was at it, which makes the documentation for pickle a bit more consistent.
/external/python/cpython3/Lib/pickletools.py
|
02066d3fbd419066ac1dc03e51ab7412996fa418 |
|
02-Dec-2013 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Issue #19754: Fix typo.
/external/python/cpython3/Lib/pickletools.py
|
28d271ef6b0eb37e27b5b3234ba146922b11d89f |
|
02-Dec-2013 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Issue #19754: Make pickletools.optimize respect the frame size target.
/external/python/cpython3/Lib/pickletools.py
|
057e58dc01f7b1aa7fa847ffe53f742c13ee70a3 |
|
23-Nov-2013 |
Gregory P. Smith <greg@krypto.org> |
Fix test_pickletools.py doctest's on 32-bit platforms. I hate doctests.
/external/python/cpython3/Lib/pickletools.py
|
c9dc4a2a8a6dcfe1674685bea4a4af935c0e37ca |
|
23-Nov-2013 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #17810: Implement PEP 3154, pickle protocol 4. Most of the work is by Alexandre.
/external/python/cpython3/Lib/pickletools.py
|
46e1ce214b5711e8dae63a1b5a0a7aafb371baf0 |
|
27-Aug-2013 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #18783: Removed existing mentions of Python long type in docstrings, error messages and comments.
|
9594942716a8f9c557b85d31751753d89cd7cebf |
|
27-Aug-2013 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #18783: Removed existing mentions of Python long type in docstrings, error messages and comments.
/external/python/cpython3/Lib/pickletools.py
|
9a3777e525b389ec5881c3f80a482fb821ab3ea5 |
|
17-Aug-2013 |
Ezio Melotti <ezio.melotti@gmail.com> |
#18705: merge with 3.3.
|
30b9d5d3af043fc2687ad11a188a34fe355e20ef |
|
17-Aug-2013 |
Ezio Melotti <ezio.melotti@gmail.com> |
#18705: fix a number of typos. Patch by Févry Thibault.
/external/python/cpython3/Lib/pickletools.py
|
96d6a78ce03e3642e83fe80cad3ef549cf8717ed |
|
14-Apr-2013 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Merge 3.3
|
8db89ca56c681de67fa4e64907dce5bbc0ac9e6b |
|
14-Apr-2013 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Issue #16550: Update the opcode descriptions of pickletools to use unsigned integers where appropriate. Initial patch by Serhiy Storchaka.
/external/python/cpython3/Lib/pickletools.py
|
765531d2d083c7a4e9478fcd960eebe04ac6b192 |
|
26-Mar-2013 |
Victor Stinner <victor.stinner@gmail.com> |
Issue #17516: use comment syntax for comments, instead of multiline string
/external/python/cpython3/Lib/pickletools.py
|
a23d65ccfe3b8f618bf3dde4d0d27895e764367e |
|
13-Dec-2011 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Merge 3.2
|
3bfc65a25ba2e010ef12db0cff006c2cbbeb18f9 |
|
13-Dec-2011 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Issue #13505: Make pickling of bytes object compatible with Python 2. Initial patch by sbt.
/external/python/cpython3/Lib/pickletools.py
|
aa6c1d240fc4dd883b4c5a1564182e8fa90de496 |
|
12-Dec-2011 |
Florent Xicluna <florent.xicluna@gmail.com> |
Issue #13575: there is only one class type.
/external/python/cpython3/Lib/pickletools.py
|
2bb96f593a067dafc7f02fef659ff22994b83399 |
|
23-Oct-2011 |
Florent Xicluna <florent.xicluna@gmail.com> |
Cleanup code: remove int/long idioms and simplify a while statement.
/external/python/cpython3/Lib/pickletools.py
|
3b3499ba69341a49fc842ce0d4a2f66fcb249a04 |
|
16-Mar-2011 |
Ezio Melotti <ezio.melotti@gmail.com> |
#11565: Merge with 3.1.
|
13925008dc11f2a235627dc8c0440c0ce99171d9 |
|
16-Mar-2011 |
Ezio Melotti <ezio.melotti@gmail.com> |
#11565: Fix several typos. Patch by Piotr Kasprzyk.
/external/python/cpython3/Lib/pickletools.py
|
b4efb3d81e8a22f553d92cfb924258f9c3bca415 |
|
14-Aug-2010 |
Florent Xicluna <florent.xicluna@gmail.com> |
Merged revisions 83212,83829,83833,83838-83839,83878,84019,84025,84028,84032,84036 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83212 | florent.xicluna | 2010-07-28 18:39:41 +0200 (mer., 28 juil. 2010) | 2 lines Syntax cleanup. ........ r83829 | florent.xicluna | 2010-08-08 18:16:07 +0200 (dim., 08 août 2010) | 2 lines Use unittest specific methods for some urllib test cases. And replace urllib2 with urllib.request in comments. ........ r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608. ........ r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines Typo. ........ r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines Issue #7564: Skip test_ioctl if another process is attached to /dev/tty. ........ r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest). ........ r84019 | florent.xicluna | 2010-08-14 17:56:42 +0200 (sam., 14 août 2010) | 11 lines Merged manually from 2.7 branch to 3.x trunk. ------------------------------------------------------------------------ r79925 | nick.coghlan | 2010-04-10 16:24:36 +0200 (sam. 10 avril 2010) Try to turn some buildbots green by allowing test_multiprocessing to pass even if it hits the sys.exc_clear code in the threading module, and improve the test coverage by making the ctypes dependencies a bit more granular (two of the cited ctypes objects don't exist on my system) ------------------------------------------------------------------------ ........ r84025 | florent.xicluna | 2010-08-14 18:56:27 +0200 (sam., 14 août 2010) | 1 line List Misc/python-config.in in Misc/README. Fix few typos. ........ r84028 | florent.xicluna | 2010-08-14 19:02:49 +0200 (sam., 14 août 2010) | 1 line Fix order. ........ r84032 | florent.xicluna | 2010-08-14 19:15:31 +0200 (sam., 14 août 2010) | 1 line Convert to spaces. ........ r84036 | florent.xicluna | 2010-08-14 20:03:19 +0200 (sam., 14 août 2010) | 1 line Remove bad merge (from svnmerge r82301) ........
/external/python/cpython3/Lib/pickletools.py
|
02ea12b29196ae002e26061eb0afb96db0cf889b |
|
28-Jul-2010 |
Florent Xicluna <florent.xicluna@gmail.com> |
Syntax cleanup.
/external/python/cpython3/Lib/pickletools.py
|
929d3840589cf8159520e4082467d7cab6d5a57f |
|
17-Jul-2010 |
Alexander Belopolsky <alexander.belopolsky@gmail.com> |
Issue #9268: Add annotation option to pickletools.dis
/external/python/cpython3/Lib/pickletools.py
|
bd39f9553a30edaa8aa298d946e0d8f2b14d9886 |
|
16-Jul-2010 |
Alexander Belopolsky <alexander.belopolsky@gmail.com> |
Merged revisions 82915 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82915 | alexander.belopolsky | 2010-07-16 10:39:45 -0400 (Fri, 16 Jul 2010) | 1 line Corrected TUPLE<N> opcodes' docs. ........
/external/python/cpython3/Lib/pickletools.py
|
44c2ffd38fcb7215a4f24ac519575ca504453351 |
|
16-Jul-2010 |
Alexander Belopolsky <alexander.belopolsky@gmail.com> |
Corrected TUPLE<N> opcodes' docs.
/external/python/cpython3/Lib/pickletools.py
|
60c762b77a87438691c1a788f0f427eb666e106b |
|
03-Jul-2010 |
Alexander Belopolsky <alexander.belopolsky@gmail.com> |
Issue #9094: Make python -m pickletools disassemble pickles given in the command line.
/external/python/cpython3/Lib/pickletools.py
|
f7351b40b54b3354c4a8b01d9072b888256fca87 |
|
13-Apr-2010 |
Victor Stinner <victor.stinner@haypocalc.com> |
Merged revisions 80031 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r80031 | victor.stinner | 2010-04-13 13:07:24 +0200 (mar., 13 avril 2010) | 4 lines Issue #8383: pickle and pickletools use surrogatepass error handler when encoding unicode as utf8 to support lone surrogates and stay compatible with Python 2.x and 3.0 ........
/external/python/cpython3/Lib/pickletools.py
|
485fb56eb86a1fcd35fd3d0d37efb5ec514dba2b |
|
13-Apr-2010 |
Victor Stinner <victor.stinner@haypocalc.com> |
Issue #8383: pickle and pickletools use surrogatepass error handler when encoding unicode as utf8 to support lone surrogates and stay compatible with Python 2.x and 3.0
/external/python/cpython3/Lib/pickletools.py
|
d9dfaa948775061ef6218b181dfb617206db9e8c |
|
04-Jun-2009 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #6137: The pickle module now translates module names when loading or dumping pickles with a 2.x-compatible protocol, in order to make data sharing and migration easier. This behaviour can be disabled using the new `fix_imports` optional argument.
/external/python/cpython3/Lib/pickletools.py
|
e61d4372ed32010318d43be8f296aee58cf6d86d |
|
20-May-2009 |
Collin Winter <collinw@gmail.com> |
Merge r72792: POP_MARK was not in pickle protocol 0, SHORT_BINBYTES was not in protocol 1.
/external/python/cpython3/Lib/pickletools.py
|
cddcf444b257478eb940c50c78eb86ef40eae16f |
|
24-Jan-2009 |
Mark Dickinson <dickinsm@gmail.com> |
Merged revisions 68903,68906 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r68903 | mark.dickinson | 2009-01-24 16:40:29 +0000 (Sat, 24 Jan 2009) | 5 lines Issue #1672332: Fix unpickling of subnormal floats, which was raising ValueError on some platforms as a result of the platform strtod setting errno on underflow. ........ r68906 | mark.dickinson | 2009-01-24 21:08:38 +0000 (Sat, 24 Jan 2009) | 2 lines Issue #3657: fix occasional test_pickletools failures. ........
/external/python/cpython3/Lib/pickletools.py
|
8dd05147d6224f4982ef6b14d904bb600ef33ea3 |
|
20-Jan-2009 |
Mark Dickinson <dickinsm@gmail.com> |
Issue #4842, patch 1/2: fix pickle in Python 3.x so that pickling with the 'L' opcode always appends an 'L' on output, just as 2.x does. When unpickling, remove the trailing 'L' (if present) before passing the result to PyLong_FromString.
/external/python/cpython3/Lib/pickletools.py
|
ca2d610dba5711823999c4751897160f138a7811 |
|
12-Jun-2008 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Restore _pickle module accelerator module. Removed Windows support temporarily. 64bit bug with integer unpickling is now fixed.
/external/python/cpython3/Lib/pickletools.py
|
75f25f2c9a4646746efbc056b4d2a07b40f93964 |
|
12-Jun-2008 |
Benjamin Peterson <benjamin@python.org> |
revert the addition of _pickle because it was causing havok with 64-bit
/external/python/cpython3/Lib/pickletools.py
|
cc313061a5b45c12e9772e2f9f2ae623fc00e31d |
|
12-Jun-2008 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Issue 2917: Merge the pickle and cPickle module.
/external/python/cpython3/Lib/pickletools.py
|
f7fa63dd55e638d300a8d4a148dcedb402fdb750 |
|
11-May-2008 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Rename copy_reg module to copyreg. Updated documentation. Merged revisions 63042 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r63042 | alexandre.vassalotti | 2008-05-11 04:25:28 -0400 (Sun, 11 May 2008) | 5 lines Added module stub for copy_reg renaming in 3.0. Renamed copy_reg to copyreg in the standard library, to avoid spurious warnings and ease later merging to py3k branch. Public documentation remains intact. ........
/external/python/cpython3/Lib/pickletools.py
|
f41698169198b32eecd60337a9437ea8c1714380 |
|
17-Mar-2008 |
Guido van Rossum <guido@python.org> |
- A new pickle protocol (protocol 3) is added with explicit support for bytes. This is the default protocol. It intentionally cannot be unpickled by Python 2.x. - When a pickle written by Python 2.x contains an (8-bit) str instance, this is now decoded to a (Unicode) str instance. The encoding used to do this defaults to ASCII, but can be overridden via two new keyword arguments to the Unpickler class. Previously this would create bytes instances, which is usually wrong: str instances are often used to pickle attribute names etc., and text is more common than binary data anyway.
/external/python/cpython3/Lib/pickletools.py
|
126d29abf8517dd897372d6ff920c30b3d7a81e8 |
|
11-Feb-2008 |
Christian Heimes <christian@cheimes.de> |
Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60734 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r60731 | raymond.hettinger | 2008-02-11 19:51:08 +0100 (Mon, 11 Feb 2008) | 1 line No need to register classes that already inherit from ABCs. ........ r60733 | lars.gustaebel | 2008-02-11 20:17:10 +0100 (Mon, 11 Feb 2008) | 2 lines Make sure that xstar headers are read correctly. ........ r60734 | raymond.hettinger | 2008-02-11 21:05:53 +0100 (Mon, 11 Feb 2008) | 1 line Add tests for pickletools.optimize(). ........
/external/python/cpython3/Lib/pickletools.py
|
3feef61742facb3cbf53f9df1cb89062452597f2 |
|
11-Feb-2008 |
Christian Heimes <christian@cheimes.de> |
Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60706,60708-60712,60714-60724 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r60701 | georg.brandl | 2008-02-09 22:36:15 +0100 (Sat, 09 Feb 2008) | 2 lines Needs only 2.4 now. ........ r60702 | georg.brandl | 2008-02-09 22:38:54 +0100 (Sat, 09 Feb 2008) | 2 lines Docs are rst now. ........ r60703 | georg.brandl | 2008-02-09 23:00:00 +0100 (Sat, 09 Feb 2008) | 2 lines Fix link. ........ r60704 | georg.brandl | 2008-02-10 00:09:25 +0100 (Sun, 10 Feb 2008) | 2 lines Fix for newest doctools. ........ r60709 | raymond.hettinger | 2008-02-10 08:21:09 +0100 (Sun, 10 Feb 2008) | 1 line Clarify that decimal also supports fixed-point arithmetic. ........ r60710 | nick.coghlan | 2008-02-10 08:32:52 +0100 (Sun, 10 Feb 2008) | 1 line Add missing NEWS entry for r60695 ........ r60712 | mark.dickinson | 2008-02-10 15:58:38 +0100 (Sun, 10 Feb 2008) | 3 lines Turn classmethods into staticmethods, and avoid calling the constructor of subclasses of Rational. (See discussion in issue #1682.) ........ r60715 | mark.dickinson | 2008-02-10 16:19:58 +0100 (Sun, 10 Feb 2008) | 2 lines Typos in decimal comment and documentation ........ r60716 | skip.montanaro | 2008-02-10 16:31:54 +0100 (Sun, 10 Feb 2008) | 2 lines Get the saying right. ;-) ........ r60717 | skip.montanaro | 2008-02-10 16:32:16 +0100 (Sun, 10 Feb 2008) | 2 lines whoops - revert ........ r60718 | mark.dickinson | 2008-02-10 20:23:36 +0100 (Sun, 10 Feb 2008) | 2 lines Remove reference to Rational ........ r60719 | raymond.hettinger | 2008-02-10 21:35:16 +0100 (Sun, 10 Feb 2008) | 1 line Complete an open todo on pickletools -- add a pickle optimizer. ........ r60721 | mark.dickinson | 2008-02-10 22:29:51 +0100 (Sun, 10 Feb 2008) | 3 lines Rename rational.Rational to fractions.Fraction, to avoid name clash with numbers.Rational. See issue #1682 for related discussion. ........ r60722 | christian.heimes | 2008-02-11 03:26:22 +0100 (Mon, 11 Feb 2008) | 1 line The test requires the network resource ........ r60723 | mark.dickinson | 2008-02-11 04:11:55 +0100 (Mon, 11 Feb 2008) | 3 lines Put an extra space into the repr of a Fraction: Fraction(1, 2) instead of Fraction(1,2). ........
/external/python/cpython3/Lib/pickletools.py
|
1a3284ed69d545e4ef59869998cb8c29233a45fa |
|
02-Dec-2007 |
Georg Brandl <georg@python.org> |
#1535: rename __builtin__ module to builtins.
/external/python/cpython3/Lib/pickletools.py
|
98297ee7815939b124156e438b22bd652d67b5db |
|
06-Nov-2007 |
Guido van Rossum <guido@python.org> |
Merging the py3k-pep3137 branch back into the py3k branch. No detailed change log; just check out the change log for the py3k-pep3137 branch. The most obvious changes: - str8 renamed to bytes (PyString at the C level); - bytes renamed to buffer (PyBytes at the C level); - PyString and PyUnicode are no longer compatible. I.e. we now have an immutable bytes type and a mutable bytes type. The behavior of PyString was modified quite a bit, to make it more bytes-like. Some changes are still on the to-do list.
/external/python/cpython3/Lib/pickletools.py
|
bd1c68c94f0d5bc25b48f62c7527f51c754f2b6b |
|
24-Oct-2007 |
Georg Brandl <georg@python.org> |
Patch #1303: Adapt str8 constructor to bytes (now buffer) one.
/external/python/cpython3/Lib/pickletools.py
|
3172c5d263eeffff1e89d03d79be3ccc1d60fbde |
|
16-Oct-2007 |
Guido van Rossum <guido@python.org> |
Patch# 1258 by Christian Heimes: kill basestring. I like this because it makes the code shorter! :-)
/external/python/cpython3/Lib/pickletools.py
|
a5dc3db3d162b10b51131113d19ce16244c9fe0e |
|
29-Aug-2007 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Change string literals to bytes, since they are compared to bytes.
/external/python/cpython3/Lib/pickletools.py
|
26d95c3d07eb0893c7867d935d61a0fb7be43f2d |
|
28-Aug-2007 |
Guido van Rossum <guido@python.org> |
More str/bytes fixes.
/external/python/cpython3/Lib/pickletools.py
|
34d1928766bcae11d8f679a6bf361d9210b6429e |
|
09-Aug-2007 |
Guido van Rossum <guido@python.org> |
SF patch# 1770008 by Christian Heimes (plus some extras). Completely get rid of StringIO.py and cStringIO.c. I had to fix a few tests and modules beyond what Christian did, and invent a few conventions. E.g. in elementtree, I chose to write/return Unicode strings whe no encoding is given, but bytes when an explicit encoding is given. Also mimetools was made to always assume binary files.
/external/python/cpython3/Lib/pickletools.py
|
99603b0c1edb4b8ca2a30fa90470170b959321ee |
|
20-Jul-2007 |
Guido van Rossum <guido@python.org> |
Getting rid of cPickle. Mmm, feels good!
/external/python/cpython3/Lib/pickletools.py
|
2698631d57cc1c28078a7c77f2c419ec185aa3bf |
|
17-Jul-2007 |
Guido van Rossum <guido@python.org> |
Make test_pickletools.py pass.
/external/python/cpython3/Lib/pickletools.py
|
42748a8d6dc121d5311668a0fe005c277b7d0220 |
|
12-Jun-2007 |
Walter Dörwald <walter@livinglogic.de> |
Rip out all codecs that can't work in a unicode/bytes world: base64, uu, zlib, rot_13, hex, quopri, bz2, string_escape. However codecs.escape_encode() and codecs.escape_decode() still exist, as they are used for pickling str8 objects (so those two functions can go, when the str8 type is removed).
/external/python/cpython3/Lib/pickletools.py
|
1325790b932c4bab4f8f94f5a36c09f4036ed9f8 |
|
08-Jun-2007 |
Guido van Rossum <guido@python.org> |
Merged revisions 55795-55816 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55797 | neal.norwitz | 2007-06-07 00:00:57 -0700 (Thu, 07 Jun 2007) | 3 lines Get rid of some remnants of classic classes. types.ClassType == type. Also get rid of almost all uses of the types module and use the builtin name. ........ r55798 | neal.norwitz | 2007-06-07 00:12:36 -0700 (Thu, 07 Jun 2007) | 1 line Remove a use of types, verify commit hook works ........ r55809 | guido.van.rossum | 2007-06-07 11:11:29 -0700 (Thu, 07 Jun 2007) | 2 lines Fix syntax error introduced by Neal in last checkin. ........
/external/python/cpython3/Lib/pickletools.py
|
a8add0ec5ef05c26e1641b8310b65ddd75c0fec3 |
|
15-May-2007 |
Guido van Rossum <guido@python.org> |
Merged revisions 55270-55324 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55271 | fred.drake | 2007-05-11 10:14:47 -0700 (Fri, 11 May 2007) | 3 lines remove jpeg, panel libraries for SGI; there is more IRIX stuff left over, I guess that should be removed too, but will leave for someone who is sure ........ r55280 | fred.drake | 2007-05-11 19:11:37 -0700 (Fri, 11 May 2007) | 1 line remove mention of file that has been removed ........ r55301 | brett.cannon | 2007-05-13 17:38:05 -0700 (Sun, 13 May 2007) | 4 lines Remove rexec and Bastion from the stdlib. This also eliminates the need for f_restricted on frames. This in turn negates the need for PyEval_GetRestricted() and PyFrame_IsRestricted(). ........ r55303 | brett.cannon | 2007-05-13 19:22:22 -0700 (Sun, 13 May 2007) | 2 lines Remove the md5 and sha modules. ........ r55305 | george.yoshida | 2007-05-13 19:45:55 -0700 (Sun, 13 May 2007) | 2 lines fix markup ........ r55306 | neal.norwitz | 2007-05-13 19:47:57 -0700 (Sun, 13 May 2007) | 1 line Get the doc building again after some removals. ........ r55307 | neal.norwitz | 2007-05-13 19:50:45 -0700 (Sun, 13 May 2007) | 1 line Get test_pyclbr passing again after getstatus was removed from commands. This "test case" was weird since it was just importing a seemingly random module. Remove the import ........ r55322 | brett.cannon | 2007-05-14 14:09:20 -0700 (Mon, 14 May 2007) | 3 lines Remove the compiler package. Will eventually need a mechanism to byte compile an AST. ........
/external/python/cpython3/Lib/pickletools.py
|
cfe5f20fe82806b85c971e43e18564e60108dd08 |
|
08-May-2007 |
Guido van Rossum <guido@python.org> |
Got test_pickletools and test_pickle working. (Alas, test_cpickle is still broken.)
/external/python/cpython3/Lib/pickletools.py
|
617dbc4d643749804057f8dc7c52df702e40fe7a |
|
08-May-2007 |
Guido van Rossum <guido@python.org> |
Checkpoint. A b it closer to working pickles and pickletools. Added 'Y' getargs opcode which requires a bytes object.
/external/python/cpython3/Lib/pickletools.py
|
ef87d6ed94780fe00250a551031023aeb2898365 |
|
02-May-2007 |
Guido van Rossum <guido@python.org> |
Rip out all the u"..." literals and calls to unicode().
/external/python/cpython3/Lib/pickletools.py
|
4f7ac2e8005d9e5b129a61b49ae3c7fcbacc478d |
|
26-Feb-2007 |
Guido van Rossum <guido@python.org> |
Change a test to be more predictable. The problem with using random.random is that several modules and tests do "from random in random" which confuses pickle.whichmodule().
/external/python/cpython3/Lib/pickletools.py
|
be19ed77ddb047e02fe94d142181062af6d99dcc |
|
09-Feb-2007 |
Guido van Rossum <guido@python.org> |
Fix most trivially-findable print statements. There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
/external/python/cpython3/Lib/pickletools.py
|
e2a383d062434c05b73031f0da57fe82b9da8942 |
|
15-Jan-2007 |
Guido van Rossum <guido@python.org> |
Rip out 'long' and 'L'-suffixed integer literals. (Rough first cut.)
/external/python/cpython3/Lib/pickletools.py
|
f4100005ae552ab4d5112b270a45c6091c30045e |
|
15-Jan-2007 |
Guido van Rossum <guido@python.org> |
Fix pickletools doctests -- all we get nowadays is longs. (Hmm... Shouldn't longs of certain sizes be pickled using 'I' opcodes? Later.)
/external/python/cpython3/Lib/pickletools.py
|
e2b70bcf7401477936fba99a8bf4a1f759ecc8a3 |
|
19-Aug-2006 |
Guido van Rossum <guido@python.org> |
Get rid of dict.has_key(). Boy this has a lot of repercussions! Not all code has been fixed yet; this is just a checkpoint... The C API still has PyDict_HasKey() and _HasKeyString(); not sure if I want to change those just yet.
/external/python/cpython3/Lib/pickletools.py
|
65810fee5e961af07fb964252b794c67162f98ee |
|
26-May-2006 |
Guido van Rossum <guido@python.org> |
SF patch 1495675: Remove types.InstanceType and new.instance (Collin Winter)
/external/python/cpython3/Lib/pickletools.py
|
90718a4eb5a21d903d9cefdb7f8cdb50e847187b |
|
15-Feb-2005 |
Tim Peters <tim.peters@gmail.com> |
An instance of class PicklingError was used here simply as an example of _some_ user-defined class instance. That it was also an exception isn't interesting, but does interfere with Michael Hudson's new-style exception patch. This just changes the doctest example, to use an instance of a non-exception class.
/external/python/cpython3/Lib/pickletools.py
|
6c1e0fe7ba04f15b17bdc7495e471e7b3f23e7d5 |
|
07-Dec-2004 |
Raymond Hettinger <python@rcn.com> |
Remove reference to old pickle feature.
/external/python/cpython3/Lib/pickletools.py
|
90cf212cefd270615a6d7ffa043e1cf3bd9ec9f2 |
|
07-Nov-2004 |
Tim Peters <tim.peters@gmail.com> |
Essentially SF patch 1061679: add missing __all__ to pickletools.py. Harmless.
/external/python/cpython3/Lib/pickletools.py
|
d0c53fedd039714451f3022b46dc7f18fab6336f |
|
07-Aug-2004 |
Andrew M. Kuchling <amk@amk.ca> |
Add argument to docstring
/external/python/cpython3/Lib/pickletools.py
|
62235e701e377fd1e4934bc029b9b86d8dc3ed95 |
|
05-Feb-2003 |
Tim Peters <tim.peters@gmail.com> |
dis(): Added an optional memo argument, so that multiple pickles in a file can be dumped without (bogus) complaint if the the pickles were created using a single pickle memo.
/external/python/cpython3/Lib/pickletools.py
|
4b23f2b44bdd13758eab6808d6a08b951fbfc4dd |
|
31-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
It's Official: for LONG1/LONG4, a "byte count" of 0 is taken as a shortcut meaning 0L. This allows LONG1 to encode 0L in two bytes total.
/external/python/cpython3/Lib/pickletools.py
|
2b93c4c70820d0314e8e297c2817d9e03d73df62 |
|
30-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
Updated the INST/OBJ docs, to say they really are (almost) identical in 2.3.
/external/python/cpython3/Lib/pickletools.py
|
43277d64eb5e008e59009bd03887d66c134445ef |
|
30-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
dis(): Simplified stack emulation a bit.
/external/python/cpython3/Lib/pickletools.py
|
c1c2b3e0e2af6eb05346b4908f4c4d56618fb7b6 |
|
29-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
dis(): This had a problem with proto 0 pickles, in that POP sometimes popped a MARK, but without stack emulation the disassembler couldn't know that, and subsequent indentation got hosed. Now the disassembler does do enough stack emulation to catch this. While I was at it, also added lots of sanity checks for other stack operations, and correct use of the memo. This goes (I think) a long way toward being a "pickle verifier" now too.
/external/python/cpython3/Lib/pickletools.py
|
5445594e20baf1ac0c0c1aef30d55d789c4b9694 |
|
29-Jan-2003 |
Skip Montanaro <skip@pobox.com> |
minor grammar tweaks
/external/python/cpython3/Lib/pickletools.py
|
ecb1104342af0e2dca191f7666c60d5ca65069a8 |
|
29-Jan-2003 |
Guido van Rossum <guido@python.org> |
Document the demise of all pretenses of safety, and the difference between cPickle and pickle.py regarding __safe_for_unpickling__ before Python 2.3.
/external/python/cpython3/Lib/pickletools.py
|
2c60f7a13697bbc19c4d5ef0b052c34cf1848244 |
|
29-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython3/Lib/pickletools.py
|
c0c12b57070a5b494662bebc418e3958bf5bdbee |
|
29-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
pickle: Comment repair. pickletools: Import decode_long from pickle instead of duplicating it.
/external/python/cpython3/Lib/pickletools.py
|
55762f5f804c4848bbce323b085101d450f89ff6 |
|
28-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
Use raw-mode docstring whenever there's an escape code in an example -- they're easier to read this way.
/external/python/cpython3/Lib/pickletools.py
|
03e35327f26d353db126a8f840a8890b3593f18a |
|
28-Jan-2003 |
Guido van Rossum <guido@python.org> |
_dis_test should be a raw string now that it contains \x escapes.
/external/python/cpython3/Lib/pickletools.py
|
d0f7c86a20e9cef8cbf2c8fb676fcc8d8a7000b4 |
|
28-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
dis(): Not all opcodes are printable anymore, so print the repr of the opcode character instead (but stripping the quotes). Added a proto 2 test section for the canonical recursive-tuple case. Note that since pickle's save_tuple() takes different paths depending on tuple length now, beefier tests are really needed (but not in pickletools); the "short tuple" case tried here was actually broken yesterday, and it's subtle stuff so needs to be tested.
/external/python/cpython3/Lib/pickletools.py
|
570283584af6a9aff47d2341d6154055572aaff5 |
|
28-Jan-2003 |
Guido van Rossum <guido@python.org> |
Fix one disassembly output now that empty tuples are no longer memoized in text mode. Fixed some variable names in the disassembler doctest.
/external/python/cpython3/Lib/pickletools.py
|
81098ac1c8c88f9f1dcf7511555d2ad1f7124575 |
|
28-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
Comments.
/external/python/cpython3/Lib/pickletools.py
|
fdc03462b3e0796ae6474da6f0f9844773d1da8f |
|
28-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
Now that proto2 is defined, replaced XXX blocks with text about it. Also moved the proto2 opcode descriptors into the sections they fit (like TUPLE{1,2,3} in the group of tuple-building opcodes; etc).
/external/python/cpython3/Lib/pickletools.py
|
784a3f53a8f78995d4c8ca22f612a68828bc4838 |
|
28-Jan-2003 |
Neal Norwitz <nnorwitz@gmail.com> |
Use proper function name in exception messages
/external/python/cpython3/Lib/pickletools.py
|
fdb8cfab085d0f412411b090796e9f856ee0cab5 |
|
28-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
Removed the new LONG2 opcode: it's extravagant. If LONG1 isn't enough, then the embedded argument consumes at least 256 bytes. The difference between a 3-byte prefix (LONG2 + 2 bytes) and a 5-byte prefix (LONG4 + 4 bytes) is at worst less than 1%. Note that binary strings and binary Unicode strings also have only "size is 1 byte, or size is 4 bytes?" flavors, and I expect for the same reason. The only place a 2-byte thingie was used was in BININT2, where the 2 bytes make up the *entire* embedded argument (and now EXT2 also does this); that's a large savings over 4 bytes, because the total opcode+argument size is so small in the BININT2/EXT2 case. Removed the TAKEN_FROM_ARGUMENT "number of bytes" code, and bifurcated it into TAKEN_FROM_ARGUMENT1 and TAKEN_FROM_ARGUMENT4. Now there's enough info in ArgumentDescriptor objects to deduce the # of bytes consumed by each opcode. Rearranged the order in which proto2 opcodes are listed in pickle.py.
/external/python/cpython3/Lib/pickletools.py
|
bdbe74183ceb7aedd71dd1afdf8755ee93e8c3ca |
|
28-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
Documented the 2's-comp business for the new long opcodes.
/external/python/cpython3/Lib/pickletools.py
|
5eed340267868c54775b49613b81dff7eb2461bb |
|
28-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython3/Lib/pickletools.py
|
217e571a19c9d643005d8c8d88abab16f88735a2 |
|
28-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
decode_long(): Simplified the "is it negative?" test.
/external/python/cpython3/Lib/pickletools.py
|
f29d3d6011e41b40282994375454f2020a429d79 |
|
27-Jan-2003 |
Guido van Rossum <guido@python.org> |
Begin the change from 'binary vs. text mode' to 'protocol 0, 1, 2'. The protocol now defaults to 1. Protocol 2 is still unimplemented.
/external/python/cpython3/Lib/pickletools.py
|
5a2d8f5e9af0cbd513f02eb5576ff497e3693ffe |
|
27-Jan-2003 |
Guido van Rossum <guido@python.org> |
Begin documenting protocol 2.
/external/python/cpython3/Lib/pickletools.py
|
a72ded9bc81bd278bf119e92feaeaea2aa16f02d |
|
27-Jan-2003 |
Guido van Rossum <guido@python.org> |
Remove a stray quote.
/external/python/cpython3/Lib/pickletools.py
|
1996e23054f2ac79cf89c9ef04714f336b0a17ce |
|
27-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
Repaired comment.
/external/python/cpython3/Lib/pickletools.py
|
d916cf4ec7014e9f6b25b8d63728bda01a17d3f9 |
|
27-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
stringnl_noescape_pair(): changed the reader to separate the two component strings by a blank instead of a period. Guido pointed out that the component strings (at least the first one) can be dotted already. find_class() is overridable too, so only God knows all the possibilities that make sense to someone.
/external/python/cpython3/Lib/pickletools.py
|
8ecfc8ef9d6ffe0d9c732a438cb36e1e11480a19 |
|
27-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
Moving pickletools.py from the sandbox into the std library. I started this over the weekend, and it made faster & better progress than I expected -- it's already useful <wink>.
/external/python/cpython3/Lib/pickletools.py
|