summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change the name of the exception from "pyexpat.error" toFred Drake2000-09-231-12/+13
| | | | | | | | "xml.parsers.expat.error", so it will reflect the public name of the exception rather than the internal name. Also change some of the initialization to use the new PyModule_Add*() convenience functions.
* Use the public name for the Expat parser; "pyexpat" is deprecated.Fred Drake2000-09-231-11/+7
|
* Rename the public interface from "pyexpat" to "xml.parsers.expat".Fred Drake2000-09-232-36/+34
|
* Add a wrapper around the pyexpat module, making the "public" name ofFred Drake2000-09-231-0/+4
| | | | the module "xml.parsers.expat".
* Added warnings about platform vagaries to the strptime() documentation.Fred Drake2000-09-231-1/+9
| | | | This closes SourceForge bug #115146.
* Fix for SF bug 110624: float literals behave inconsistently.Tim Peters2000-09-231-16/+44
| | | | | | | | | | | | | | | | | | | | | | | | I fixed the specific complaint but left the (many) large issues untouched. See the (very long) bug report discussion for why: http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=110624 Note that while I left the interface to the undocumented public API function PyFloat_FromString alone, its 2nd argument is useless. From a comment block in the code: RED_FLAG 22-Sep-2000 tim PyFloat_FromString's pend argument is braindead. Prior to this RED_FLAG, 1. If v was a regular string, *pend was set to point to its terminating null byte. That's useless (the caller can find that without any help from this function!). 2. If v was a Unicode string, or an object convertible to a character buffer, *pend was set to point into stack trash (the auto temp vector holding the character buffer). That was downright dangerous. Since we can't change the interface of a public API function, pend is still supported but now *officially* useless: if pend is not NULL, *pend is set to NULL.
* Added documentation for the new PyModule_*() convenience functions.Fred Drake2000-09-231-0/+26
| | | | This closes SourceForge patch #101233.
* Andrew Kuchling <akuchlin@mems-exchange.org>:Fred Drake2000-09-232-0/+31
| | | | | | | Add three new convenience functions to the PyModule_*() family: PyModule_AddObject(), PyModule_AddIntConstant(), PyModule_AddStringConstant(). This closes SourceForge patch #101233.
* Split 'run()' up into 'build()', 'install()', and 'bytecompile()' (forGreg Ward2000-09-231-8/+28
| | | | easier extensibility).
* Whitespace tweaks.Greg Ward2000-09-231-35/+32
|
* Reformat docstrings.Greg Ward2000-09-231-65/+63
| | | | Standardize use of whitespace on function calls.
* mkcwproject now works, but for one thing: the import of the XML document as ↵Jack Jansen2000-09-224-10/+16
| | | | a project through AppleEvents.
* Test files for mkcwprojectJack Jansen2000-09-222-0/+223
|
* More bits and pieces of project generation.Jack Jansen2000-09-225-10/+119
|
* Fix some long/"l" int/"i" mismatches. Fixes bug #113779.Neil Schemenauer2000-09-221-2/+2
|
* Keepconsole is now a 4-way option: never/errorexit/unseen output/always. ↵Jack Jansen2000-09-228-46/+97
| | | | Default is "unseen output". Upped the Popt version number.
* Poke-and-hope attempt to fix Bugs #115006 and #114324: fix the testGuido van Rossum2000-09-222-5/+5
| | | | | for pthread_t (to calculate its size) to work even if pthread_t is a struct.
* Maildir.__init__(): Use the correct filter for filenames, so that thisFred Drake2000-09-221-7/+4
| | | | class conforms to the maildir specification.
* Added refcount information for the *_InPlace*() API series.Fred Drake2000-09-221-0/+53
| | | | This closes SourceForge bug #114287.
* PyNumber_Coerce() returns an int, not a PyObject *.Fred Drake2000-09-221-1/+1
|
* Fix the way we found relevant cfuncdesc lines; PREFIX was not a regularFred Drake2000-09-221-7/+10
| | | | expression!
* It's better to test for __hpux rather than __hppa, and hpux or hppa isGuido van Rossum2000-09-221-1/+1
| | | | unnecessary. Sez edg@SF
* use_sans_serif(),Fred Drake2000-09-221-10/+7
| | | | | | | | | | | | use_italics(): Remove both functions, inlining use_italics() at its only call site. init_myformat(): Uncomment line so that some internal markup does not get generated, since it is not properly removed later. (Fix on aspect of SourceForge bug #114749.) Modified call to process_commands_wrap_deferred(), removing \code from the list since it had a bad interaction with other changes in some contexts.
* Update versioning for the next Python release.Fred Drake2000-09-221-2/+2
|
* Update RELEASE for the next Python release.Fred Drake2000-09-221-1/+1
|
* Change HP=UX compiler options from -Aa to -Ae, which impliesGuido van Rossum2000-09-222-9/+9
| | | | | | | | -D_HPUX_SOURCE and also turns on long long support. Suggestion by stnor@sweden.hp.com (Stefan Norberg). Please test this if you have access to HP-UX!!!
* Hopefully fix the problem with undeclared fdatasync() on HP-UX thatGuido van Rossum2000-09-221-0/+5
| | | | | | | was reported twice so far. Someone with access to HP-UX, please test this! (Is '__hppa' or 'hppa' really the correct symbol to test for?)
* Fix some minor nits about the use of \optional in parameter lists.Fred Drake2000-09-221-4/+4
|
* Address Bug #115057: add a --with-suffix option to set the EXEGuido van Rossum2000-09-224-336/+363
| | | | | variable in the Makefiles from the configure script. Usefil for Cygwin and Mac OS X builds.
* - plug a memory leak due to circular listsNeil Schemenauer2000-09-221-0/+3
|
* - Replace debugleak flag with findleaks flag. The new SAVEALL GC option isNeil Schemenauer2000-09-221-6/+14
| | | | used to find cyclic garbage produced by tests.
* - Add test for new SAVEALL debugging flagNeil Schemenauer2000-09-221-31/+92
| | | | | - Use exceptions rather than asserts for failing tests. - Reorganize tests and produce some output if verbose option is set.
* - Add DEBUG_SAVEALL option. When enabled all garbage objects found by theNeil Schemenauer2000-09-222-29/+49
| | | | | | | collector will be saved in gc.garbage. This is useful for debugging a program that creates reference cycles. - Fix else statements in gcmodule.c to conform to Python coding standards.
* When PyInt_FromLong() returns NULL, you do not need to checkFred Drake2000-09-221-4/+2
| | | | | PyErr_Occurred(). Removed the extra test and setting of a bogus exception.
* Contributed modules by Riccardo Trocca. Extended pixmap wrapper, NumPy ↵Jack Jansen2000-09-224-0/+614
| | | | visualiser and QuickTime to images.
* Allow lists of files/fsspecs as the source for copy() and move(). ByJack Jansen2000-09-221-2/+12
| | | | Bill Bedford, slightly edited by me.
* Implemented new os.startfile function, unique to Windows, exposing aTim Peters2000-09-224-5/+39
| | | | | | | | | | | | | | | | subset of Win32 ShellExecute's functionality. Guido wants this because IDLE's Help -> Docs function currently crashes his machine because of a conflict between his version of Norton AntiVirus (6.10.20) and MS's _popen. Docs for startfile are being mailed to Fred (or just read the docstring -- it tells the whole story). Changed webbrowser.py to use os.startfile instead of os.popen on Windows. Changed IDLE's EditorWindow.py to pass an absolute path for the docs (hardcoding ShellExecute's "directory" arg to "." as used to be done let IDLE work, but made the startfile command exceedingly obscure for other uses -- the MS docs are terrible, of course, & still not sure I understand it). Note that Windows Python must link with shell32.lib now! That's where ShellExecute lives.
* More whitespace cleanup, to satisfy tabnanny.py. Don't trust -tt!Guido van Rossum2000-09-221-15/+15
|
* Get rid of the one tab in the file.Guido van Rossum2000-09-221-1/+1
| | | | Closes Bug #115054.
* Fix for SF bug 115051: Dodgy use of PyTuple_SET_ITEM in pyexpat.cTim Peters2000-09-221-2/+1
|
* White space cleanup, including one item that was an error under -tt.Fred Drake2000-09-221-5/+5
|
* Remove debugging print. ;(Fred Drake2000-09-221-2/+0
|
* Correct some bitrot; some things have become inaccurate in the tutorial.Fred Drake2000-09-221-5/+9
| | | | | | | | | | <file>.readlines() does not call <file>.readline() internally anymore, and the sizehint parameter should be mentioned briefly. Some displays of floating point numbers needed to be updated due to the change in the repr() of floats (from 1.6). Both issues were noted by Aahz <aahz@panix.com>.
* Tweak what happens when run on non-Windows platforms: set install prefixGreg Ward2000-09-221-10/+5
| | | | | as well as scheme, and don't convert all installation paths (that's now done by the "install" command for us).
* Changed all paths in the INSTALL_SCHEMES dict to Unix syntax, and addedGreg Ward2000-09-221-43/+56
| | | | | | | | | | | | | | | | | | | | | | | 'convert_paths()' method to convert them all to the local syntax (backslash or colon or whatever) at the appropriate time. Added SCHEME_KEYS to get rid of one hard-coded list of attributes (in 'select_scheme()'). Default 'install_path_file' to true, and never set it false (it's just there in case some outsider somewhere wants to disable installation of the .pth file for whatever reason). Toned down the warning emitted when 'install_path_file' is false, since we no longer know why it might be false. Added 'warn_dir' flag to suppress warning when installing to a directory not in sys.path (again, we never set this false -- it's there for outsiders to use, specifically the "bdist_*" commands). Pulled the loop of 'change_root()' calls out to new method 'change_roots()'. Comment updates/deletions/additions.
* Fix 'convert_path()' so it returns immediately under Unix -- prevents blowingGreg Ward2000-09-221-5/+5
| | | | | up when the pathname starts with '/', which is needed when converting installation directories in the "install" command.
* Denis S. Otkidach <ods@users.sourceforge.net>:Fred Drake2000-09-211-0/+42
| | | | | | | | | | Show how code can be written to handle __getslice__ & friends in a way that is compatible with pre-2.0 versions of Python while still working with the "new" way of handling slicing. Additional explanation added by Fred Drake. This closes SourceForge patch #101388.
* Untested patch by Ty Sarna to make TELL64 work on older NetBSD systems.Guido van Rossum2000-09-211-2/+6
| | | | | According to Justin Pettit, this also works on OpenBSD, so I've added that symbol as well.
* Indent _connection_class so that it becomes HTTPS._connection_class.Martin v. Löwis2000-09-211-1/+1
|
* Lots of minor fixes, many suggested by Detlef LannertFred Drake2000-09-211-7/+8
| | | | <lannert@uni-duesseldorf.de>.