summaryrefslogtreecommitdiff
path: root/Python/frozen.c
AgeCommit message (Collapse)AuthorLines
2019-04-29bpo-36540: PEP 570 -- Implementation (GH-12701)Pablo Galindo-9/+9
This commit contains the implementation of PEP570: Python positional-only parameters. * Update Grammar/Grammar with new typedarglist and varargslist * Regenerate grammar files * Update and regenerate AST related files * Update code object * Update marshal.c * Update compiler and symtable * Regenerate importlib files * Update callable objects * Implement positional-only args logic in ceval.c * Regenerate frozen data * Update standard library to account for positional-only args * Add test file for positional-only args * Update other test files to account for positional-only args * Add News entry * Update inspect module and related tests
2018-09-18bpo-25711: Rewrite zipimport in pure Python. (GH-6809)Serhiy Storchaka-3/+7
2016-05-24Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.Serhiy Storchaka-11/+9
Patch by Demur Rumed.
2015-05-02Issue #23911: Move path-based bootstrap code to a separate frozen module.Eric Snow-0/+3
2013-03-13make some freezing related stuff constBenjamin Peterson-2/+2
2012-04-14Issue #2377: Make importlib the implementation of __import__().Brett Cannon-0/+3
importlib._bootstrap is now frozen into Python/importlib.h and stored as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen code along with sys and imp and then uses _frozen_importlib._install() to set builtins.__import__() w/ _frozen_importlib.__import__().
2011-05-16Issue #11614: import __hello__ prints "Hello World!". Patch written by AndreasVictor Stinner-8/+11
Stührk.
2010-05-09Recorded merge of revisions 81032 via svnmerge fromAntoine Pitrou-14/+14
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines Recorded merge of revisions 81029 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ ................
2007-11-12Fix for refleak tests through regrtest.py -R:: bug #1414Christian Heimes-10/+9
The pre-commit hook doesn't allow a trailing newline
2007-10-15Patch #1272, by Christian Heimes and Alexandre Vassalotti.Guido van Rossum-1/+1
Changes to make __file__ a proper Unicode object, using the default filesystem encoding. This is a bit tricky because the default filesystem encoding isn't set by the time we import the first modules; at that point we fudge things a bit. This is okay since __file__ isn't really used much except for error reporting. Tested on OSX and Linux only so far.
2007-06-12Update the frozen bytecode for __hello__.Guido van Rossum-3/+3
2007-02-09Fix test_frozen.Guido van Rossum-8/+9
2006-12-13Oops, re-add 'static' qualifier.Thomas Wouters-1/+1
2006-12-13Regenerate frozen.c's manual marshal as directed, fixing test_frozen.Thomas Wouters-8/+9
2002-08-15This is my patchMichael W. Hudson-6/+6
[ 587993 ] SET_LINENO killer Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab. Many sundry changes to document and adapt to this change.
2002-06-14Fix SF bug # 561858 Assertion with very long listsNeal Norwitz-7/+7
Write 4 bytes for co_stacksize, etc. to prevent writing out bad .pyc files which can cause a crash when read back in. (I forgot that frozen needs to be updated too for the test.)
2001-10-18Squash compiler wng about signed/unsigned mismatch.Tim Peters-1/+1
2001-10-18Fix the frozen bytecode for __hello__ (betcha didn't know that existedGuido van Rossum-5/+12
:-). Add a test that prevents the __hello__ bytecode from going stale unnoticed again. The test also tests the loophole noted in SF bug #404545. This test will fail right now; I'll check in the fix in a minute.
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
This should match the situation in the 1.6b1 tree.
2000-06-30Change copyright notice - 2nd try.Guido van Rossum-6/+0
2000-06-30Change copyright notice.Guido van Rossum-21/+6
1998-04-03Add primitive test for frozen package.Guido van Rossum-0/+4
1997-07-19Oops -- this contains frozen bytecode, but it was Python 1.4 bytecode!Guido van Rossum-7/+7
1996-10-25New permission notice, includes CNRI.Guido van Rossum-12/+19
1996-06-17New style interface via pointer variable.Guido van Rossum-5/+6
1996-05-28grand renaming; added copyright to some filesGuido van Rossum-1/+29
1995-08-04Initial revisionGuido van Rossum-0/+21