mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Checkpoint. 218 tests are okay; 53 are failing. Done so far:
- all classes are new-style (but ripping out classobject.[ch] isn't done) - int/int -> float - all exceptions must derive from BaseException - absolute import - 'as' and 'with' are keywords
This commit is contained in:
parent
f3175f6341
commit
45aecf451a
24 changed files with 87 additions and 6365 deletions
|
@ -1,9 +1,5 @@
|
|||
|
||||
/* Newfangled version identification scheme.
|
||||
|
||||
This scheme was added in Python 1.5.2b2; before that time, only PATCHLEVEL
|
||||
was available. To test for presence of the scheme, test for
|
||||
defined(PY_MAJOR_VERSION).
|
||||
/* Python version identification scheme.
|
||||
|
||||
When the major or minor version changes, the VERSION variable in
|
||||
configure.in must also be changed.
|
||||
|
@ -19,14 +15,14 @@
|
|||
/* Higher for patch releases */
|
||||
|
||||
/* Version parsed out into numeric values */
|
||||
#define PY_MAJOR_VERSION 2
|
||||
#define PY_MINOR_VERSION 5
|
||||
#define PY_MAJOR_VERSION 0
|
||||
#define PY_MINOR_VERSION 0
|
||||
#define PY_MICRO_VERSION 0
|
||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
|
||||
#define PY_RELEASE_SERIAL 0
|
||||
|
||||
/* Version as a string */
|
||||
#define PY_VERSION "2.5a0"
|
||||
#define PY_VERSION "3.0x"
|
||||
|
||||
/* Subversion Revision number of this file (not of the repository) */
|
||||
#define PY_PATCHLEVEL_REVISION "$Revision$"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue