- 22 Mar, 2006 5 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
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.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 21 Mar, 2006 8 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
- 20 Mar, 2006 1 commit
-
-
Guido van Rossum authored
Mention the builtins that Neal killed.
-
- 17 Mar, 2006 16 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
raw_input() -> input(). old input behavior is history (and test_builtin passes again). It was failing due to future division.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 16 Mar, 2006 2 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 15 Mar, 2006 1 commit
-
-
Guido van Rossum authored
- 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
-
- 14 Mar, 2006 7 commits
-
-
Guido van Rossum authored
-
Thomas Heller authored
using a proper function prototype.
-
Thomas Heller authored
-
Thomas Heller authored
is responsible for most (all?) of the warnings we get.
-
Thomas Heller authored
""" The attached patch fixes all the ctypes tests so they pass on amd64. It also fixes several warnings. I'm not sure what else to do with the patch. Let me know how you want to handle these in the future. I'm not sure the patch is 100% correct. You will need to decide what can be 64 bits and what can't. I believe sq_{item,slice,ass_item,ass_slice} all need to use Py_ssize_t. The types in ctypes.h may not require all the changes I made. I don't know how you want to support older version, so I unconditionally changed the types to Py_ssize_t. """ The patch is also in the ctypes SVN repository now, after small changes to add compatibility with older Python versions.
-
Nick Coghlan authored
-
Neal Norwitz authored
PyObject_Unicode(). This problem was originally reported from Coverity and addresses mail on python-dev "checkin r43015". This inlines the conversion of the string to unicode and cleans up/simplifies some code at the end of the PyObject_Unicode(). We really need a complete C API test module for all public APIs and passing good and bad parameter values. Will backport.
-