summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Minor style change.Fred Drake2002-04-041-0/+2
|
* Convert a pile of obvious "yes/no" functions to return bool.Tim Peters2002-04-0434-122/+117
|
* Record Windows build number for 2.2.1 final.Tim Peters2002-04-041-0/+2
|
* Add support for \textgreater, \textless.Fred Drake2002-04-041-4/+9
| | | | Updated productionlist environment.
* Replace use of apply() with extended call syntax.Jeremy Hylton2002-04-041-2/+3
|
* Add a version annotation regarding the urlopen(proxies={...}).Fred Drake2002-04-041-0/+2
|
* Support manual proxy configuration for simple urlopen() operations.Fred Drake2002-04-041-5/+10
| | | | | | This change is similar to the supplied patch, but does not save the opener when a proxy configuration is specified. This closes SF patch #523415.
* The rest of the documentation for manual proxy configuration for a basicFred Drake2002-04-041-3/+20
| | | | | urlopen(). This is part of SF patch #523415.
* Documentation for manual proxy configuration, by Andy Gimblett.Fred Drake2002-04-041-0/+35
| | | | This closes SF patch #523415.
* SF bug 497854: Short-cuts missing for All UsersTim Peters2002-04-042-10/+24
| | | | | | Fix Windows-specific install glitch. Tested on Win2K, but I can't test on XP. Already checked in to the release22-maint branch.
* Add note about changes in xml.sax.expatreader.Fred Drake2002-04-041-0/+4
|
* Not sure why the regression test missed this, but the PyXML tests caught it.Fred Drake2002-04-041-1/+1
| | | | We should get attributes from the right object.
* Mark the notice about the new development version of the docs as not needingFred Drake2002-04-041-0/+1
| | | | to be archived. Most of these are pretty bland. ;-)
* Avoid creating circular references between the ExpatParser and theFred Drake2002-04-041-1/+38
| | | | | | | ContentHandler. While GC will eventually clean up, it can take longer than normal for applications that create a lot of strings (or other immutables) rather without creating many containers. This closes SF bug #535474.
* Removed old Digital Creations copyright/license notices (withGuido van Rossum2002-04-0411-228/+14
| | | | | permission from Paul Everitt). Also removed a few other references to Digital Creations and changed the remaining ones to Zope Corporation.
* Clarifying code rearrangement and comments by David Abrahams. I'veGuido van Rossum2002-04-041-28/+46
| | | | | got to admit that I haven't reviewed this carefully, but it looks okay from 30,000 views, and doesn't break anything. (SF patch 536407.)
* Add test case for SF bug 534347.Guido van Rossum2002-04-041-0/+8
|
* Fix by Greg Chapman from SF bug 534347: Potential AV in vgetargskeywords.Guido van Rossum2002-04-041-1/+7
| | | | Bugfix candidate.
* Added note about updated freeze.py Tool.Marc-André Lemburg2002-04-041-0/+4
|
* Updated freeze.py to the new Makefile symbol layout.Marc-André Lemburg2002-04-044-6/+4
| | | | | | | Fixed a few compiler warnings. freeze.py now produces binaries which can import shared modules (unlike before).
* Add a note about bool.Guido van Rossum2002-04-041-0/+6
|
* SF 539024, Fix broken link to numpyNeal Norwitz2002-04-041-1/+1
|
* _PyMalloc_Realloc(): removed a now-pointless cast.Tim Peters2002-04-041-1/+1
|
* _PyMalloc_{Malloc, Realloc}: Strive to meet the doc's promises aboutTim Peters2002-04-041-42/+44
| | | | | | | | | | | | | | | | | | | what these do given a 0 size argument. This is so that when pymalloc is enabled, we don't need to wrap pymalloc calls in goofy little routines special-casing 0. Note that it's virtually impossible to meet the doc's promise that malloc(0) will never return NULL; this makes a best effort, but not an insane effort. The code does promise that realloc(not-NULL, 0) will never return NULL (malloc(0) is much harder). _PyMalloc_Realloc: Changed to take over all requests for 0 bytes, and rearranged to be a little quicker in expected cases. All over the place: when resorting to the platform allocator, call free/malloc/realloc directly, without indirecting thru macros. This should avoid needing a nightmarish pile of #ifdef-ery if PYMALLOC_DEBUG is changed so that pymalloc takes over all Py(Mem, Object} memory operations (which would add useful debugging info to PyMem_xyz allocations too).
* Correct the descriptions of the PyObject_As*Buffer() return values.Fred Drake2002-04-041-6/+6
| | | | This closes SF bug #539081.
* As Neal pointed out, bool_print was an order of magnitude too complex.Guido van Rossum2002-04-041-12/+1
|
* Repair the Windows build (needs to compile in the new boolobject code).Tim Peters2002-04-041-0/+15
|
* Oops. Here are the new files. My apologies.Guido van Rossum2002-04-033-0/+460
|
* Add empty section for boolAndrew M. Kuchling2002-04-031-0/+12
|
* Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum2002-04-0329-383/+494
| | | | | | | | | | | | | PEP 285. Everything described in the PEP is here, and there is even some documentation. I had to fix 12 unit tests; all but one of these were printing Boolean outcomes that changed from 0/1 to False/True. (The exception is test_unicode.py, which did a type(x) == type(y) style comparison. I could've fixed that with a single line using issubtype(x, type(y)), but instead chose to be explicit about those places where a bool is expected. Still to do: perhaps more documentation; change standard library modules to return False/True from predicates.
* e macresource.need() to open the W resource file in the application initJack Jansen2002-04-032-1/+4
| | | | | | | | code (if it isn't open already). PythonIDE still opens the resource file "manually" because it also uses presence of the CURS resource to determine whether it needs to adjust sys.path.
* Slight modernization.Fred Drake2002-04-032-5/+3
|
* Fix the names of the classmethod and staticmethod constructors as passed toFred Drake2002-04-031-2/+2
| | | | PyArg_ParseTuple() as part of the format string.
* Remove direct manipulation of the module dict.Fred Drake2002-04-031-9/+3
|
* Got the example program to work in MachoPython.Jack Jansen2002-04-031-2/+4
|
* Updated PEP link to point to the now-canonical site.Fred Drake2002-04-031-1/+1
|
* Update the PEP URL format to point to python.org.Fred Drake2002-04-031-1/+1
|
* Fold some long lines. Delete blank initial line.Guido van Rossum2002-04-031-4/+6
|
* Fix bugs:Mark Hammond2002-04-034-5/+98
| | | | | | | | | | | | | | | 457466: popenx() argument mangling hangs python 226766: popen('python -c"...."') tends to hang Fixes argument quoting in w9xpopen.exe for Windows 9x. w9xpopen.exe also never attempts to display a MessageBox when not executed interactively. Added test_popen() test. This test currently just executes "python -c ..." as a child process, and checks that the expected arguments were all recieved correctly by the child process. This test succeeds for me on Win9x, win2k and Linux, and I hope it does for other popen supported platforms too :)
* Convert more METH_OLDARGS & PyArg_Parse()Neal Norwitz2002-04-023-69/+69
| | | | Please review.
* Get rid of more PyArg_Parse & METH_OLDARGS.Neal Norwitz2002-04-022-13/+14
| | | | | PyArg_Parse( "s" ) -> PyString_AsString PyArg_Parse( "t#" ) -> PyString_AsStringAndSize
* SF patch 537536 by Phillip J. Eby, fix for SF bug 535444, super()Guido van Rossum2002-04-022-3/+15
| | | | | | broken w/ classmethods. Bugfix candidate.
* Add a note warning against semicolons following PyObject_HEAD.Fred Drake2002-04-021-5/+9
| | | | Minor cleanups.
* Fix for a bug in the fix for SF bug 503031. This time the OP verifiedGuido van Rossum2002-04-021-2/+2
| | | | | | that it works. Bugfix candidate (this and the previous checkin, obviously).
* Add an itemAndrew M. Kuchling2002-04-021-0/+20
|
* Add an experimental mechanism to support extending the pprint formatting.Fred Drake2002-04-023-9/+57
| | | | Partly responds to SF bug #505152.
* Make test_commands work on more systems. This removes much of the dependencyFred Drake2002-04-011-4/+5
| | | | | | | on how a system is configured. This closes SF bug #497160 (which has the patch) and #460613. Bugfix candidate.
* Explain that os.spawn*() return the process handle on Windows.Fred Drake2002-04-011-3/+5
| | | | | Clarify that os.waitpid() on Windows takes a process handle, not a process ID. This closes SF bug #537582.
* There is no PyArg_ConvertTuple(); call it by the right name.Fred Drake2002-04-011-1/+1
| | | | This closes SF bug #537511.
* Fix up the documentation of the type codes to give both the C and PythonFred Drake2002-04-011-17/+24
| | | | | | | | | types for each code, and give the actual C types. Clarified the support for slice operations and note when some TypeError exceptions are raised. This closes SF bugs 518767 and 536469.