Thomas Wouters
6caa07b23d
Make 'python -tt' the default, meaning Python won't allow mixing tabs and
...
spaces for indentation. Adds a '-ttt' option to turn the errors back into
warnings; I'm not yet sure whether that's desireable for Py3K.
Also remove the magic for setting the size of tabs based on emacs/vim-style
comments. Python now always considers tabstops to be every-8-spaces.
2006-04-14 11:33:28 +00:00
Guido van Rossum
0c4eb62565
Fix the version number to be 3.0.
2006-03-30 16:19:24 +00:00
Neal Norwitz
c6fe059512
Use absolute import. (Should this go into 2.5?)
2006-03-24 08:57:54 +00:00
Neal Norwitz
bcc0db82dc
Get rid of remnants of integer division
2006-03-24 08:14:36 +00:00
Neal Norwitz
ed483ba63b
String exceptions are gone and so are classic classes.
2006-03-24 08:08:49 +00:00
Neal Norwitz
28c31982eb
Use *absolute* imports now that they are required. (Should this go into 2.5?)
2006-03-24 08:04:47 +00:00
Neal Norwitz
1e32b6927f
Must inherit from Exception now.
2006-03-24 08:02:35 +00:00
Neal Norwitz
2def11a90d
Use *absolute* imports now that they are required. (Should this go into 2.5?)
2006-03-24 07:47:46 +00:00
Neal Norwitz
c3e54b8480
Use *absolute* import now that it is required. (Should this go into 2.5? Hopefully not the bogus comment about using relative imports. That was just to see if anyone was paying attention.)
2006-03-24 07:38:37 +00:00
Neal Norwitz
16d6510425
Use relative import now that it is required. (Should this go into 2.5?)
2006-03-24 07:35:29 +00:00
Neal Norwitz
2a0c7801a5
Use relative import now that it is required. (Should this go into 2.5?)
2006-03-24 07:10:31 +00:00
Neal Norwitz
2b499436b5
Ok, compiler.transformer can really be imported now
2006-03-24 07:07:34 +00:00
Neal Norwitz
0fb43762d5
Must inherit from Exception now.
2006-03-24 07:02:16 +00:00
Neal Norwitz
ef4f7f0298
Use relative import now that it is required. (Should this go into 2.5?)
2006-03-24 06:59:24 +00:00
Neal Norwitz
abdbeff36e
Use relative imports in compiler package now that it is required. (Should this go into 2.5 or should we do compiler.XXX?)
2006-03-24 06:57:41 +00:00
Neal Norwitz
a0bc30f36f
Remove another use of as as a keyword
2006-03-22 09:34:44 +00:00
Neal Norwitz
227b5339ed
Finish getting rid of statichere/staticforward
2006-03-22 09:28:35 +00:00
Neal Norwitz
914a81841f
Get doctest to pass. The problem was int/int -> float now. There
...
were some cases where an int was assumed.
Also had to change the string of the exception when dividing and int by zero.
Not sure what the best error message should be. Currently
5 / 0 yields the message: ZeroDivisionError: float division
That isn't entirely correct. But I'm not sure what else to do.
2006-03-22 09:20:30 +00:00
Neal Norwitz
57c179c5b9
Remove staticforward and statichere
2006-03-22 07:18:02 +00:00
Neal Norwitz
f84c38a39a
Damn another occurrence of using as as a keywordf
2006-03-22 07:12:41 +00:00
Barry Warsaw
3114608c51
remove test file
2006-03-21 19:47:07 +00:00
Barry Warsaw
cf028c1c7d
testing svn emails
2006-03-21 19:35:05 +00:00
Barry Warsaw
72a786e4f3
testing svn emails
2006-03-21 19:21:14 +00:00
Barry Warsaw
e3c8ebbff6
testing svn emails
2006-03-21 18:29:19 +00:00
Barry Warsaw
05eb9a3151
testing svn emails
2006-03-21 18:21:43 +00:00
Barry Warsaw
c6718808c3
testing svn emails
2006-03-21 18:18:20 +00:00
Barry Warsaw
e63f01e44e
testing svn emails
2006-03-21 18:13:08 +00:00
Barry Warsaw
ff80579f2e
testing svn emails
2006-03-21 18:05:50 +00:00
Guido van Rossum
398b7351ac
Some more TODO items of things I'd like to start with.
...
Mention the builtins that Neal killed.
2006-03-20 04:35:06 +00:00
Neal Norwitz
a10f52e3b2
Remove PyArg_NoArgs() and PyArg_GetInt()
2006-03-17 09:00:00 +00:00
Neal Norwitz
e7086d409e
INPLACE_DIVIDE is no longer necessary (INPLACE_TRUE_DIVIDE is used).
2006-03-17 08:59:09 +00:00
Neal Norwitz
712ce45415
_Py_QnewFlag and INPLACE_DIVIDE are not necessary any longer
2006-03-17 08:57:43 +00:00
Neal Norwitz
bd2835c6ae
as is a keyword now :-)
2006-03-17 08:54:15 +00:00
Neal Norwitz
7096760b25
Get rid of xreadlines() (methods).
2006-03-17 08:29:44 +00:00
Neal Norwitz
7c3072437a
More apply() cleanup
2006-03-17 08:28:24 +00:00
Neal Norwitz
ade612be2f
This gets at least test_cmd_line working again and a few more modules built.
2006-03-17 08:27:50 +00:00
Neal Norwitz
b2eaa44646
Remove some old types for int based functions (Py_ssize_t is da thing now.)
2006-03-17 08:09:39 +00:00
Neal Norwitz
28ad48ee0a
Remove apply()
2006-03-17 08:04:59 +00:00
Neal Norwitz
d91085598f
Remove apply()
2006-03-17 08:00:19 +00:00
Neal Norwitz
fe55464f39
Whitespace changes. Also remove apply from a few comments
2006-03-17 06:58:45 +00:00
Neal Norwitz
ce96f69d69
Get rid of a bunch more raw_input references
2006-03-17 06:49:51 +00:00
Neal Norwitz
9e2b9665ae
Whoops, input *and* raw_input are slated for removal, and now both are gone.
2006-03-17 06:04:34 +00:00
Neal Norwitz
cd65e3fc7d
raw_input() -> input(). old input behavior is history (and test_builtin passes again). It was failing due to future division.
2006-03-17 05:59:16 +00:00
Neal Norwitz
ac3625fcb9
Remove sys.exc_type, sys.exc_value, sys.exc_traceback
2006-03-17 05:49:33 +00:00
Neal Norwitz
fc85c92a85
Get rid of compiler warning
2006-03-17 05:44:46 +00:00
Neal Norwitz
c6d210ca76
Get rid of last vestiges of BINARY_DIVIDE.
2006-03-16 06:02:10 +00:00
Neal Norwitz
e4993c7ac7
Get rid of compiler warning about with_msg and as_msg being unused
2006-03-16 06:01:25 +00:00
Guido van Rossum
45aecf451a
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
2006-03-15 04:58:47 +00:00
Guido van Rossum
f3175f6341
Create a Python 3000 branch.
2006-03-14 22:22:15 +00:00
Thomas Heller
915d7773e2
Try to avoid many of the compiler warnings when compiling libffi by
...
using a proper function prototype.
2006-03-14 20:52:24 +00:00