summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added CarbonAccessors.o to the non-carbon targets, and probably a few minor ↵Jack Jansen2001-01-214-0/+0
| | | | things having to do with Python 2.1a1.
* Added support for forced project building.Jack Jansen2001-01-212-17/+42
| | | | Added carbon targets (mainly placeholders at the moment).
* Added a force option (to force project generation, the default is now to ↵Jack Jansen2001-01-211-10/+16
| | | | | | only generate if different). Try to convert all search paths to relative.
* Don't generate project if the XML file already exists and is identical to ↵Jack Jansen2001-01-211-1/+9
| | | | what we've generated. Overridable with a "force" argument to mkproject().
* Patch #103342: Make shutil.copytree more useful under Jython.Tim Peters2001-01-211-5/+8
|
* Patch #103343: Allow the important test_pkg to succeed under Jython.Tim Peters2001-01-212-6/+6
|
* In format(), consider sign only after grouping.Martin v. Löwis2001-01-211-4/+9
| | | | Suggested by Kevin Jacobs in bug report #129417.
* Patch #103344: Sort dicts from extcall for easier comparison with Jython.Tim Peters2001-01-212-41/+49
|
* forgot to check in the new makeunicodedata.py scriptFredrik Lundh2001-01-215-8383/+8294
|
* Remove a smelly export.Neil Schemenauer2001-01-211-1/+1
|
* Check for None to decide when pyexpat should not be built.Martin v. Löwis2001-01-211-1/+1
|
* Fix typo: MICRO instead of MINOR.Martin v. Löwis2001-01-211-1/+1
|
* Merge with 1.25 of PyXML:Martin v. Löwis2001-01-211-40/+355
| | | | | | | | | | | | Participate in garbage collection if available. Potentially decref handlers in clear_handlers. Partially reindent. Put synthetic frame object on the stack to support better error output. Expose Python codecs to pyexpat. Add new Expat 1.2 handlers and API. Fix memory leak: release self->handlers. Do not expect PyModule_AddObject and PyModule_AddStringConstant in 2.0b1. Raise exception in ParseFile.
* Whitespace normalization.Tim Peters2001-01-213-187/+187
|
* Whitespace normalization.Tim Peters2001-01-213-13/+12
|
* Bug #128475: mimetools.encode (sometimes) fails when called from a thread.Tim Peters2001-01-212-3/+11
| | | | | | | | pythonrun.c: In Py_Finalize, don't reset the initialized flag until after the exit funcs have run. atexit.py: in _run_exitfuncs, mutate the list of pending calls in a threadsafe way. This wasn't a contributor to bug 128475, it just burned my eyeballs when looking at that bug.
* more __all__ updatesSkip Montanaro2001-01-2012-0/+34
|
* added some tests for urlencodeSkip Montanaro2001-01-201-0/+16
|
* added __all__ lists to a number of Python modulesSkip Montanaro2001-01-2039-0/+138
| | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.
* docstring typoSkip Montanaro2001-01-201-1/+1
|
* I've been using gdb a lot lately -- I'm missing 'bt' as a command inGuido van Rossum2001-01-201-1/+4
| | | | pdb (pdb calls it 'where'). Added 'bt' as an alias for 'where'.
* rewrite of robotparser.py by Bastian Kleineidam. Closes patch 102229.Skip Montanaro2001-01-201-60/+179
|
* modify urlencode so sequences in the dict are treated as multivaluedSkip Montanaro2001-01-201-6/+36
| | | | parameters. This closes the code part of patch 103314.
* Fix comment.Neil Schemenauer2001-01-201-2/+2
|
* Better error message if ucnhash cannot be found (obscure attributeFredrik Lundh2001-01-202-3/+17
| | | | | | errors aren't that helpful), or doesn't contain what's expected from it. Also tweaked the test script so it compiles even if ucnhash is missing.
* Updating NEWS to match the current state of affairs.Marc-André Lemburg2001-01-201-7/+4
|
* Tim chastens:Barry Warsaw2001-01-201-1/+5
| | | | | | | | | | | | | | Barry, that comment belongs in the code, not in the checkin msg. The code *used* to do this correctly (as you well know, since you & I went thru considerable pain to fix this the first time). However, because the *reason* for the convolution wasn't recorded in the code as a comment, somebody threw it all away the first time it got reworked. c-code-isn't-often-self-explanatory-ly y'rs - tim default_3way_compare(): Stick the checkin message from 2.110 in a comment.
* default_3way_compare(): When comparing the pointers, they must be castBarry Warsaw2001-01-201-2/+2
| | | | | | | to integer types (i.e. Py_uintptr_t, our spelling of C9X's uintptr_t). ANSI specifies that pointer compares other than == and != to non-related structures are undefined. This quiets an Insure portability warning.
* SF patch #103336: Missing cast.Tim Peters2001-01-201-1/+1
|
* When running the tests twice, stuck a "Press any key to continue ..." pauseTim Peters2001-01-201-6/+5
| | | | | | between passes: Win9x DOS boxes are limited to 50 lines max, and the result of the first pass scrolls off irretrievably otherwise. Also simplified the goto-laden logic a bit.
* Various tweaks for Python 2.1a1.Jack Jansen2001-01-193-8/+17
|
* Treat an empty kwdict argument the same as a missing one.Jack Jansen2001-01-191-20/+20
|
* Undefine and redefine PRAGMA_ALIGN_SUPPORTED under Carbon. Apple's ↵Jack Jansen2001-01-191-0/+8
| | | | "solution" of a funny define makes portable code impossible:-(
* Use #if TARGET_API_MAC_CARBON to determine carbon/classic macos, not #ifdef.Jack Jansen2001-01-191-1/+1
|
* Make the 'time' argument to the timemodule functions strftime, asctime,Thomas Wouters2001-01-193-42/+75
| | | | | | ctime, gmtime and localtime optional, defaulting to 'the current time' in all cases. Adjust docs, add news item. Also convert all argument-handling to METH_VARARGS. Closes SF patch #103265.
* Fixed a bunch of typos caught by Gilles Civario.Fred Drake2001-01-191-17/+20
|
* Clarify comments about returning None using a return without an expression;Fred Drake2001-01-191-3/+2
| | | | | | this is not hard to explain! Closes SF bug #129345.
* Now that Marc-Andre has retracted unistr(), remove the tests.Guido van Rossum2001-01-192-12/+0
|
* A hack to augment sys.path with the build/lib.<platform> directoryGuido van Rossum2001-01-191-0/+9
| | | | | | | | | | created by Andrew's setup.py script, *if* we're actually running from the build directory. (The test for that: whether the sys.path[-1] ends in "/Modules".) This has one disadvantage: it imports a fair amount of code from the distutils package, just in order to be able to calculate the correct pathname. See if I care. :-)
* Run tests twice by default, first time deleting .pyc/.pyo files.Tim Peters2001-01-191-2/+20
| | | | New option "-q" to leave .pyc/.pyo alone.
* Backed out the unistr() builtin.Marc-André Lemburg2001-01-192-25/+0
|
* Use a saner test filename, to work on Windows.Guido van Rossum2001-01-191-3/+1
|
* Delete the bytecode from the library and tests before running theGuido van Rossum2001-01-191-0/+4
| | | | | | tests for the first time -- like the Unix Makefile does. This avoids not catching problems in the bytecode generator and/or bytecode marshalling.
* "make test" was still broken when building in a subdirectory: Andrew'sGuido van Rossum2001-01-191-2/+2
| | | | | fix set PYTHONPATH to something starting with $(srcdir)/build/lib.... The use of $(srcdir) was wrong here, it should be ./build/lib...
* OK, checking in patch 103329.Moshe Zadka2001-01-191-4/+5
| | | | | | Please check it against your nearest pop server -- mine doesn't support APOP (I checked I'm getting the same error message, though)
* Add some regression tests of coredump bugs in funcobject.c 2.31. AlsoBarry Warsaw2001-01-191-0/+16
| | | | | added a test of a coredump that would occur when del'ing func_defaults (put here for convenience).
* Application and elaboration of patch #103305 to fix core dumps whenBarry Warsaw2001-01-191-30/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | del'ing func.func_dict. I took the opportunity to also clean up some other nits with the code, namely core dumps when del'ing func_defaults and KeyError instead of AttributeError when del'ing a non-existant function attribute. Specifically, func_memberlist: Move func_dict and __dict__ into here instead of special casing them in the setattro and getattro methods. I don't remember why I took them out of here before I first uploaded the PEP 232 patch. :/ func_getattro(): No need to special case __dict__/func_dict since their now in the func_memberlist and PyMember_Get() should Do The Right Thing (i.e. transforms NULL values into Py_None). func_setattro(): Document the intended behavior of del'ing or setting to None one of the special func_* attributes. I.e.: func_code - can only be set to a code object. It can't be del'd or set to None. func_defaults - can be del'd. Can only be set to None or a tuple. func_dict - can be del'd. Can only be set to None or a dictionary. Fix core dumps and incorrect exceptions as described above. Also, if we're del'ing an arbitrary function attribute but func_dict is NULL, don't create func_dict before discovering that we'll get an AttributeError anyway.
* gethash/cmpname both looked beyond the end of the character name.Fredrik Lundh2001-01-191-16/+14
| | | | This patch makes u"\N{x}" a bit less dependent on pure luck...
* Repair "selective cut-&-paste" screwup.Tim Peters2001-01-191-3/+2
|
* Change verify() function to raise TestFailed, not AssertionError.Guido van Rossum2001-01-192-8/+8
| | | | | | (I realize that I didn't really test this, because all the tests succeed, so verify() never raised an AssertionError -- but the test suite still succeeds, so I'm not too worried.)