Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c3880684
Commit
c3880684
authored
Feb 19, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
magic number changes of CR/LF are swapped
parent
8c89a6fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Python/import.c
Python/import.c
+3
-1
No files found.
Python/import.c
View file @
c3880684
...
...
@@ -48,7 +48,9 @@ extern int verbose; /* Defined in pythonrun.c */
extern
long
getmtime
();
/* In getmtime.c */
/* Magic word to reject .pyc files generated by other Python versions */
#define MAGIC 0x999903L
/* Increment by one for each incompatible change */
/* Increment by one for each incompatible change */
/* MPW swaps CR and LF, so their value is incorporated as well */
#define MAGIC (0x999903L ^ (('\n'^10L)<<16) ^ (('\r'^13L)<<8))
object
*
import_modules
;
/* This becomes sys.modules */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment