Commit Graph

33711 Commits

Author SHA1 Message Date
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
Thomas Heller ab906a562b Cast an Py_ssize_t to int, to avoid a compiler warning. 2006-03-14 20:39:27 +00:00
Thomas Heller 6ea6e204a9 For x86 Release and Debug builds, remove the /Wp64 compiler flag, it
is responsible for most (all?)  of the warnings we get.
2006-03-14 20:22:47 +00:00
Thomas Heller fe8f862cda Integrate patch from Neal Norwitz. He writes:
"""
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.
2006-03-14 19:53:09 +00:00
Nick Coghlan cb35b95f86 Teach the compiler module about augmented assignment to tuple subscripts 2006-03-14 13:21:14 +00:00
Neal Norwitz 7580146b5c Fix and test (manually w/xx module) passing NULLs to PyObject_Str() and
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.
2006-03-14 06:02:16 +00:00
Georg Brandl 3daf75878d Fix bug found by Coverity: don't allow NULL argument to PyUnicode_CheckExact 2006-03-13 22:22:11 +00:00
Vinay Sajip d364a07517 Added logThreads and logProcesses to allow conditional omission of logging this information 2006-03-13 22:05:28 +00:00
Tim Peters 6da8cebe3c It's necessary to do a Debug build of the bsddb project too. 2006-03-13 20:09:32 +00:00
Tim Peters 7ccbb0770c Minor changes. 2006-03-13 19:43:34 +00:00
Tim Peters 32d996f8b8 Trimmed trailing whitespace. 2006-03-13 19:35:53 +00:00
Martin v. Löwis b091241d9b Fix build process of bsddb for IA64 and AMD64.
Remove remarks on size_t problems.
2006-03-13 15:37:40 +00:00
Martin v. Löwis fcddd2930c Initialize VS environment in external.bat as well. 2006-03-13 14:12:47 +00:00
Martin v. Löwis f6f7925971 Update to bsddb 4.4.20. 2006-03-13 13:48:05 +00:00
Nick Coghlan eadee9a744 Fix SF bug #1448804 and ad a test to ensure that all subscript operations continue to be handled correctly 2006-03-13 12:31:58 +00:00
Martin v. Löwis bfa8bd7b65 Let the buildbot make a single pass in the test suite only. 2006-03-13 10:59:32 +00:00
Martin v. Löwis 14c1cf88ad Update to bzip2 1.0.3
Make buildbot slaves automatically fetch bzip2 1.0.3.
2006-03-13 10:52:04 +00:00
Thomas Heller a022789ab3 Plug some refcount leaks when tests are run repeatedly. 2006-03-13 10:47:02 +00:00
Hye-Shik Chang abb903fd54 Bug #1448490: Fix a bug that ISO-2022 codecs could not handle
SS2 (single-shift 2) escape sequences correctly.
2006-03-13 10:20:08 +00:00
Thomas Heller 6058aa40d2 Remove the slightly broken test_leaks.py.
Change test_functions.py so that it can be run multiple time without
failing: Assign a restype to the function in test_intresult, and move
the definition of class POINT to module level so that no new class is
created each time the test is run.
2006-03-13 07:33:38 +00:00
Trent Mick b1386772b5 Adding the /useenv means that one's PATH actually gets through. This is
important for the _ssl.vproj build. It calls build_ssl.py which tries to
find a Perl to use. Without "/useenv" Visual Studio is getting a PATH
from somewhere else (presumably from its internal environment
configuration). The result is that build_ssl.py fallsback to its
"well-known" locations for a Perl install.
2006-03-12 23:40:58 +00:00
Fredrik Lundh 44ed4db955 merged with cElementTree development trunk (1.0.6 snapshot):
Fixed a number of potential null-pointer-reference-under-pressure
glitches, based on input from the Coverity analysis tool and Simo
Salminen.
2006-03-12 21:06:35 +00:00