Skip to content

Instantly share code, notes, and snippets.

View tweksteen's full-sized avatar

Thiébaud Weksteen tweksteen

  • Google
  • Australia
View GitHub Profile
@tweksteen
tweksteen / marshal.diff
Created October 31, 2017 09:11
diff -ub src/cpython/Python/marshal.c PyMod-2.7.2/Python/marshal.c
--- src/cpython/Python/marshal.c 2017-10-31 10:05:43.257268157 +0100
+++ PyMod-2.7.2/Python/marshal.c 2017-10-24 15:46:13.458768912 +0200
@@ -1,8 +1,18 @@
-
-/* Write Python objects to files and read them back.
+/** @file
+ Write Python objects to files and read them back.
This is intended for writing and reading compiled Python code only;
a true persistent storage facility would be much harder, since
- it would have to take circular links and sharing into account. */