Serhiy Storchaka
531d1e5412
bpo-39435: Make the first argument of pickle.loads() positional-only. (GH-19846)
...
It was positional-only de facto: documentation and two implementations
used three different name.
2020-05-02 09:38:01 +03:00
Shantanu
289842ae82
bpo-39435: Fix docs for pickle.loads (GH-18160)
2020-05-01 12:46:01 -07:00
Furkan Önder
482259d0dc
bpo-27635: Fix pickle documentation about `__new__` not being called. (GH-19269)
...
Automerge-Triggered-By: @pitrou
2020-04-18 11:09:09 -07:00
Dima Tisnek
d0e0f5bf0c
bpo-38388: Document pickle protocol version 5 (GH-16639)
2019-11-03 13:55:33 +02:00
Daniel Pope
daa82d019c
bpo-37977: Warn more strongly and clearly about pickle security (GH-15595)
2019-08-30 22:51:33 -07:00
Géry Ogam
362f5350eb
Update pickle.rst (GH-14128)
...
* Edits for readability and grammar
2019-08-06 22:02:23 -07:00
Steve Dower
44f91c388a
bpo-37390: Add audit event table to documentations (GH-14406)
...
Also updates some (unreleased) event names to be consistent with the others.
2019-06-27 10:47:59 -07:00
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