Staging
v0.8.1
v0.8.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Revision 9716aaa14c74e38ef2dfa305f5007636752d714f authored by Guido van Rossum on 08 December 1997, 15:15:16 UTC, committed by Guido van Rossum on 08 December 1997, 15:15:16 UTC
- Loading non-binary string pickles checks for insecure strings. This is needed because cPickle (still) uses a restricted eval to parse non-binary string pickles. This change is needed to prevent untrusted pickles like:: "S'hello world'*2000000\012p0\012." from hosing an application. - User-defined types can now support unpickling without executing a constructor. The second value returned from __reduce__ can now be None, rather than an argument tuple. On unpickling, if the second value returned from __reduce__ during pickling was None, then rather than calling the first value returned from __reduce__, directly, the __basicnew__ method of the first value returned from __reduce__ is called without arguments.
1 parent 6128091
Tip revision: 550e4673be538d98b6ddf5550b3922539cf5c4b2 authored by Victor Stinner on 08 December 2020, 23:32:54 UTC
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
Tip revision: 550e467
File | Mode | Size |
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Python | ||
Tools | ||
.hgtags | -rw-r--r-- | 1.0 KB |
Makefile.in | -rw-r--r-- | 16.1 KB |
README | -rw-r--r-- | 36.9 KB |
acconfig.h | -rw-r--r-- | 2.7 KB |
config.h.in | -rw-r--r-- | 9.9 KB |
configure | -rwxr-xr-x | 113.3 KB |
configure.in | -rw-r--r-- | 17.4 KB |
install-sh | -rwxr-xr-x | 2.1 KB |
Computing file changes ...