Antoine Pitrou
91f4380ced
bpo-36785: PEP 574 implementation (GH-7076)
2019-05-26 17:10:09 +02:00
Steve Dower
b82e17e626
bpo-36842: Implement PEP 578 (GH-12613)
...
Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
2019-05-23 08:45:22 -07:00
Xtreak
9b5a0efcdc
Fix typos in documentation ( #13344 )
2019-05-16 00:34:24 -04:00
Pierre Glaser
289f1f80ee
bpo-35900: Enable custom reduction callback registration in _pickle (GH-12499)
...
Enable custom reduction callback registration for functions and classes in
_pickle.c, using the new Pickler's attribute ``reducer_override``.
2019-05-08 23:08:25 +02:00
Pierre Glaser
65d98d0f53
bpo-35900: Add a state_setter arg to save_reduce (GH-12588)
...
Allow reduction methods to return a 6-item tuple where the 6th item specifies a
custom state-setting method that's called instead of the regular
``__setstate__`` method.
2019-05-08 21:40:25 +02:00
Serhiy Storchaka
2b57c43f21
bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)
2018-12-19 08:09:46 +02:00
Gregory P. Smith
e328753d91
bpo-22005: Document the reality of pickle compatibility. (GH-11054)
2018-12-09 11:42:58 -08:00
Serhiy Storchaka
8452ca15f4
bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017)
...
encoding='latin1' should be used for successful decoding.
2018-12-07 13:42:10 +02:00
Andrés Delfino
0e0534c402
Fix typo in object.__getnewargs__() documentation (GH-7554)
2018-06-10 03:41:09 +03:00
Łukasz Langa
c51d8c9ba6
bpo-23403: Bump pickle.DEFAULT_PROTOCOL to 4 ( #6355 )
...
This makes performance better and produces shorter pickles. This change is backwards compatible up to the oldest currently supported version of Python (3.4).
2018-04-03 23:06:53 -07:00
Sebastian Pucilowski
a8d25a1645
Fix trivial typo in pickle.rst ( #4955 )
2017-12-21 11:00:49 +02:00
Terry Jan Reedy
4da945f361
Merge Issue #22558 .
2016-06-11 15:06:08 -04:00
Terry Jan Reedy
fa089b9b0b
Issue #22558 : Add remaining doc links to source code for Python-coded modules.
...
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.
2016-06-11 15:02:54 -04:00
Serhiy Storchaka
4a7c03aab4
Issue #25523 : Merge a-to-an corrections from 3.5.
2015-11-02 14:44:29 +02:00
Serhiy Storchaka
a84f6c3dd3
Issue #25523 : Merge a-to-an corrections from 3.4.
2015-11-02 14:39:05 +02:00
Serhiy Storchaka
d65c9496da
Issue #25523 : Further a-to-an corrections.
2015-11-02 14:10:23 +02:00
Martin Panter
e56a919100
Issue #25523 : Merge a-to-an corrections from 3.5
2015-11-02 04:27:17 +00:00
Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Serhiy Storchaka
b6d84832bf
Issue #24164 : Document changes to __getnewargs__ and __getnewargs_ex__.
2015-10-13 21:26:35 +03:00
Martin Panter
84835ab1cb
Issue #25161 : Merge full stops from 3.4 into 3.5
2015-10-10 10:44:25 +00:00
Martin Panter
d21e0b52f1
Issue #25161 : Add full stops in documentation; patch by Takase Arihiro
2015-10-10 10:36:22 +00:00
Benjamin Peterson
2dd6e477df
merge 3.4
2015-07-06 11:28:40 -05:00
Benjamin Peterson
7dcbf900ac
'not' is very important here
2015-07-06 11:28:07 -05:00
Benjamin Peterson
c0a446a7d9
merge 3.4
2015-07-06 09:41:07 -05:00
Benjamin Peterson
b8fd26256e
tighten warning
2015-07-06 09:40:43 -05:00
Yury Selivanov
f488fb422a
Issue #19235 : Add new RecursionError exception. Patch by Georg Brandl.
2015-07-03 01:04:23 -04:00
Raymond Hettinger
df1b699447
Issue #22823 : Use set literals instead of creating a set from a list
2014-11-09 15:56:33 -08:00
Georg Brandl
93a56cdc37
Doc: fix default role usage (except in unittest mock docs)
2014-10-30 22:25:41 +01:00
Berker Peksag
9c1dba2758
Revert #22251
2014-09-28 00:00:58 +03:00
Berker Peksag
3749404ba5
Issue #22251 : Fix ReST markup to avoid errors building docs.
2014-09-27 23:21:35 +03:00
Georg Brandl
6b4c847c4f
Doc: fix default role usage (except in unittest mock docs)
2014-10-30 22:26:26 +01:00
Antoine Pitrou
b6457249bf
Fix the description of pickle protocol numbers
2014-01-21 02:39:54 +01:00
Alexandre Vassalotti
d05c9ff845
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.
2013-12-07 01:09:27 -08:00
Antoine Pitrou
9bcb1127f1
Mention pickle protocol 4, and some tweaks.
2013-12-07 01:05:57 +01:00
Antoine Pitrou
9858e8b98d
Issue #19900 : improve generalities at the start of the pickle module doc
2013-12-07 00:57:44 +01:00
Antoine Pitrou
d4d60554bc
Issue #19900 : improve generalities at the start of the pickle module doc
2013-12-07 00:56:59 +01:00
Serhiy Storchaka
0e90e99188
Issue #19795 : Improved markup of True/False constants.
2013-11-29 12:19:53 +02:00
Serhiy Storchaka
fbc1c26803
Issue #19795 : Improved markup of True/False constants.
2013-11-29 12:17:13 +02:00
Antoine Pitrou
c9dc4a2a8a
Issue #17810 : Implement PEP 3154, pickle protocol 4.
...
Most of the work is by Alexandre.
2013-11-23 18:59:12 +01:00
Andrew Kuchling
587e970be6
Update e-mail address
2013-11-12 10:02:35 -05:00
Andrew Kuchling
7150787b7e
Merge from 3.3
2013-11-12 10:03:20 -05:00
Ethan Furman
2498d9e968
Issue #19272 : slight clarification of pickle docs with regard to lambda.
2013-10-18 00:45:40 -07:00
Serhiy Storchaka
5bbbc94073
Issue #19189 : Improved cross-references in the pickle module documentation.
2013-10-14 10:43:46 +03:00
Eli Bendersky
a6d0dd5dc3
Fix method name in documentation (__setstate__ --> __getstate__)
2013-01-02 05:54:36 -08:00
Eli Bendersky
78f3ce577f
Fix method name in documentation (__setstate__ --> __getstate__)
2013-01-02 05:53:59 -08:00
Antoine Pitrou
fda08b0860
Some nits in the pickle docs.
2012-05-10 15:38:47 +02:00
Antoine Pitrou
a9494f6c53
Some nits in the pickle docs.
2012-05-10 15:38:30 +02:00
Antoine Pitrou
8d3c290de4
Issue #14166 : Pickler objects now have an optional `dispatch_table` attribute which allows to set custom per-pickler reduction functions.
...
Patch by sbt.
2012-03-04 18:31:48 +01:00
Ezio Melotti
e62aad3073
#13426 : fix typos in pickle doc.
2011-11-18 13:51:10 +02:00