summaryrefslogtreecommitdiffstats
path: root/Python/frozen.c
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36540: PEP 570 -- Implementation (GH-12701)Pablo Galindo2019-04-291-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
* bpo-25711: Rewrite zipimport in pure Python. (GH-6809)Serhiy Storchaka2018-09-181-3/+7
|
* Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.Serhiy Storchaka2016-05-241-11/+9
| | | | Patch by Demur Rumed.
* Issue #23911: Move path-based bootstrap code to a separate frozen module.Eric Snow2015-05-031-0/+3
|
* make some freezing related stuff constBenjamin Peterson2013-03-131-2/+2
|
* Issue #2377: Make importlib the implementation of __import__().Brett Cannon2012-04-141-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__().
* Issue #11614: import __hello__ prints "Hello World!". Patch written by AndreasVictor Stinner2011-05-161-8/+11
| | | | Stührk.
* Recorded merge of revisions 81032 via svnmerge fromAntoine Pitrou2010-05-091-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. ........ ................
* Fix for refleak tests through regrtest.py -R:: bug #1414Christian Heimes2007-11-121-10/+9
| | | | The pre-commit hook doesn't allow a trailing newline
* Patch #1272, by Christian Heimes and Alexandre Vassalotti.Guido van Rossum2007-10-151-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.
* Update the frozen bytecode for __hello__.Guido van Rossum2007-06-121-3/+3
|
* Fix test_frozen.Guido van Rossum2007-02-091-8/+9
|
* Oops, re-add 'static' qualifier.Thomas Wouters2006-12-131-1/+1
|
* Regenerate frozen.c's manual marshal as directed, fixing test_frozen.Thomas Wouters2006-12-131-8/+9
|
* This is my patchMichael W. Hudson2002-08-151-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.
* Fix SF bug # 561858 Assertion with very long listsNeal Norwitz2002-06-141-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.)
* Squash compiler wng about signed/unsigned mismatch.Tim Peters2001-10-181-1/+1
|
* Fix the frozen bytecode for __hello__ (betcha didn't know that existedGuido van Rossum2001-10-181-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.
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Add primitive test for frozen package.Guido van Rossum1998-04-031-0/+4
|
* Oops -- this contains frozen bytecode, but it was Python 1.4 bytecode!Guido van Rossum1997-07-191-7/+7
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* New style interface via pointer variable.Guido van Rossum1996-06-171-5/+6
|
* grand renaming; added copyright to some filesGuido van Rossum1996-05-281-1/+29
|
* Initial revisionGuido van Rossum1995-08-041-0/+21