Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
003b925 Add a wrapper around the pyexpat module, making the "public" name of the module "xml.parsers.expat". 23 September 2000, 04:44:43 UTC
c32741d Added warnings about platform vagaries to the strptime() documentation. This closes SourceForge bug #115146. 23 September 2000, 04:36:14 UTC
ef14d73 Fix for SF bug 110624: float literals behave inconsistently. 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. 23 September 2000, 03:39:17 UTC
891150b Added documentation for the new PyModule_*() convenience functions. This closes SourceForge patch #101233. 23 September 2000, 03:25:42 UTC
9e28515 Andrew Kuchling <akuchlin@mems-exchange.org>: Add three new convenience functions to the PyModule_*() family: PyModule_AddObject(), PyModule_AddIntConstant(), PyModule_AddStringConstant(). This closes SourceForge patch #101233. 23 September 2000, 03:24:27 UTC
f84fb66 Split 'run()' up into 'build()', 'install()', and 'bytecompile()' (for easier extensibility). 23 September 2000, 01:20:19 UTC
7b87c0e Whitespace tweaks. 23 September 2000, 01:10:10 UTC
9e3dc4e Reformat docstrings. Standardize use of whitespace on function calls. 23 September 2000, 00:59:34 UTC
4a75158 mkcwproject now works, but for one thing: the import of the XML document as a project through AppleEvents. 22 September 2000, 23:54:07 UTC
9a8df7d Test files for mkcwproject 22 September 2000, 23:28:40 UTC
07642c3 More bits and pieces of project generation. 22 September 2000, 23:26:55 UTC
7760cff Fix some long/"l" int/"i" mismatches. Fixes bug #113779. 22 September 2000, 22:35:36 UTC
4a5eb96 Keepconsole is now a 4-way option: never/errorexit/unseen output/always. Default is "unseen output". Upped the Popt version number. 22 September 2000, 21:50:11 UTC
e126233 Poke-and-hope attempt to fix Bugs #115006 and #114324: fix the test for pthread_t (to calculate its size) to work even if pthread_t is a struct. 22 September 2000, 19:41:56 UTC
d9a8dec Maildir.__init__(): Use the correct filter for filenames, so that this class conforms to the maildir specification. 22 September 2000, 18:41:50 UTC
1fa9365 Added refcount information for the *_InPlace*() API series. This closes SourceForge bug #114287. 22 September 2000, 18:19:37 UTC
c0e6c5b PyNumber_Coerce() returns an int, not a PyObject *. 22 September 2000, 18:17:49 UTC
3764b6b Fix the way we found relevant cfuncdesc lines; PREFIX was not a regular expression! 22 September 2000, 17:55:32 UTC
7f58e2e It's better to test for __hpux rather than __hppa, and hpux or hppa is unnecessary. Sez edg@SF 22 September 2000, 17:26:14 UTC
38178fd use_sans_serif(), 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. 22 September 2000, 17:05:04 UTC
a9dd2ee Update versioning for the next Python release. 22 September 2000, 16:20:23 UTC
e71912c Update RELEASE for the next Python release. 22 September 2000, 16:18:19 UTC
cd5ff9f Change HP=UX compiler options from -Aa to -Ae, which implies -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!!! 22 September 2000, 16:15:54 UTC
ecc23b0 Hopefully fix the problem with undeclared fdatasync() on HP-UX that 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?) 22 September 2000, 16:01:05 UTC
4c6d21a Fix some minor nits about the use of \optional in parameter lists. 22 September 2000, 15:46:35 UTC
ff555e3 Address Bug #115057: add a --with-suffix option to set the EXE variable in the Makefiles from the configure script. Usefil for Cygwin and Mac OS X builds. 22 September 2000, 15:38:21 UTC
ef5f2b9 - plug a memory leak due to circular lists 22 September 2000, 15:30:16 UTC
d569f23 - Replace debugleak flag with findleaks flag. The new SAVEALL GC option is used to find cyclic garbage produced by tests. 22 September 2000, 15:29:28 UTC
faae266 - Add test for new SAVEALL debugging flag - Use exceptions rather than asserts for failing tests. - Reorganize tests and produce some output if verbose option is set. 22 September 2000, 15:26:20 UTC
544de1e - Add DEBUG_SAVEALL option. When enabled all garbage objects found by the 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. 22 September 2000, 15:22:38 UTC
676940b When PyInt_FromLong() returns NULL, you do not need to check PyErr_Occurred(). Removed the extra test and setting of a bogus exception. 22 September 2000, 15:21:31 UTC
d35509a Contributed modules by Riccardo Trocca. Extended pixmap wrapper, NumPy visualiser and QuickTime to images. 22 September 2000, 12:46:19 UTC
fdd2269 Allow lists of files/fsspecs as the source for copy() and move(). By Bill Bedford, slightly edited by me. 22 September 2000, 12:17:14 UTC
f58a7aa Implemented new os.startfile function, unique to Windows, exposing a 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. 22 September 2000, 10:05:54 UTC
7fa7da8 More whitespace cleanup, to satisfy tabnanny.py. Don't trust -tt! 22 September 2000, 09:30:29 UTC
c77593d Get rid of the one tab in the file. Closes Bug #115054. 22 September 2000, 09:23:08 UTC
954eef7 Fix for SF bug 115051: Dodgy use of PyTuple_SET_ITEM in pyexpat.c 22 September 2000, 06:01:11 UTC
7422b6b White space cleanup, including one item that was an error under -tt. 22 September 2000, 05:07:56 UTC
0f6dcb3 Remove debugging print. ;( 22 September 2000, 04:49:50 UTC
343ad7a Correct some bitrot; some things have become inaccurate in the tutorial. <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>. 22 September 2000, 04:12:27 UTC
ab79839 Tweak what happens when run on non-Windows platforms: set install prefix as well as scheme, and don't convert all installation paths (that's now done by the "install" command for us). 22 September 2000, 01:32:34 UTC
379a02f Changed all paths in the INSTALL_SCHEMES dict to Unix syntax, and added '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. 22 September 2000, 01:31:08 UTC
7ec0535 Fix 'convert_path()' so it returns immediately under Unix -- prevents blowing up when the pathname starts with '/', which is needed when converting installation directories in the "install" command. 22 September 2000, 01:05:43 UTC
f892597 Denis S. Otkidach <ods@users.sourceforge.net>: 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. 21 September 2000, 22:27:16 UTC
1a5e583 Untested patch by Ty Sarna to make TELL64 work on older NetBSD systems. According to Justin Pettit, this also works on OpenBSD, so I've added that symbol as well. 21 September 2000, 22:15:29 UTC
d7bf974 Indent _connection_class so that it becomes HTTPS._connection_class. 21 September 2000, 22:09:47 UTC
d68442b Lots of minor fixes, many suggested by Detlef Lannert <lannert@uni-duesseldorf.de>. 21 September 2000, 22:01:36 UTC
0bb0a90 Various tweaks and bugfixes to GetArgv. It now appears good enough for Distutils. 21 September 2000, 22:01:08 UTC
00fb416 Added dependencies on the bug-reporting text. 21 September 2000, 21:37:09 UTC
ed773ef Include the new text on reporting bugs in a few useful places. This closes SourceForge bug #114792. 21 September 2000, 21:35:22 UTC
cb0a0b3 New text about how to report bugs in Python and the documentation. 21 September 2000, 21:32:14 UTC
5cd2f0d Updated according to the changes made to the "s#" parser marker and bumped the version number to 1.7. 21 September 2000, 21:21:59 UTC
b425f5e Added a true unicode_internal_encode function and fixed the unicode_internal_decode function to support Unicode objects directly rather than by generating a copy of the object. 21 September 2000, 21:09:45 UTC
0afff38 Special case the "s#" PyArg_Parse() token for Unicode objects: "s#" will now return a pointer to the default encoded string data of the Unicode object instead of a pointer to the raw UTF-16 data. The latter is still available via PyObject_AsReadBuffer(). The patch also adds an optimization for string objects which is based on the fact that string objects return the raw character data for getreadbuffer access and are always single-segment. 21 September 2000, 21:08:30 UTC
3578b77 Special case the "s#" PyArg_Parse() token for Unicode objects: "s#" will now return a pointer to the default encoded string data of the Unicode object instead of a pointer to the raw UTF-16 data. The latter is still available via PyObject_AsReadBuffer(). 21 September 2000, 21:08:08 UTC
265a804 Revise the test case for pyexpat to avoid using asserts. Conform better to the Python style guide, and remove unneeded imports. 21 September 2000, 20:32:13 UTC
9e79a25 The minidom.Node class has a debug attribute which, when its _debug flag is true, is set to a StringIO object that silently collects all debug messages. This is triggered by the Node._debug=1 statement at the top of test_minidom.py. After the tests, we better delete that StringIO object to avoid wasting memory. We also reset the _debug flag. (Note that this is an undetectable memory leak, and the memory doesn't get collected by the cycle-gc either, because it's all reachable -- it's just useless.) 21 September 2000, 20:10:39 UTC
ca1f426 Remove memory leaks of strings/Unicode objects passed into the character data and default handlers -- a new reference was being passed to Py_BuildValue() for the "O" format character; using "N" plugs the leak. Fixed two other (minor) leaks that occurred on various error conditions. Removed uses of the UNLESS macro, which makes code hard to read, and is Evil. 21 September 2000, 20:10:23 UTC
07cbc4e Paul Prescod <paul@prescod.net>: Add support for parsing already-opened files. Make sure the parse() method closes exactly those files that it opens. Modified by FLD for better conformance to the Python style guide. This closes SourceForge patch #101512. 21 September 2000, 17:43:48 UTC
5644b7f - fixed yet another gcc -pedantic warning - added experimental "expand" method to match objects - don't use the buffer interface on unicode strings 21 September 2000, 17:03:25 UTC
4462701 SAXException.__getitem__(): Raise AttributeError instead of NameError. 21 September 2000, 16:32:28 UTC
1e3c8cc As suggested by Toby Dickenson, setting ob_type to NULL in _Py_Dealloc(), is a bad idea (and always was!). So let's drop it. 21 September 2000, 16:25:33 UTC
1bf4e93 Convert the longest two tables from tableii to longtableii so they do not make too big a mess. One actually did not fit on a single page at all! 21 September 2000, 16:04:08 UTC
da72b93 Add new environments: longtableii, longtableiii, and longtableiv, to support long tables which might break across page boundaries. Otherwise identical to tableii, tableiii, and tableiv. 21 September 2000, 15:58:02 UTC
2964268 Allow the LaTeX markup descriptions to use the \moreargs and \unspecified macros in the argument list position. 21 September 2000, 15:53:54 UTC
d34580c fix bogus references to imp; makes test_minidom succeed 21 September 2000, 14:46:56 UTC
cf06571 Use PyOS_setsig() instead of signal(). Also remove redundant spaces from the FreeBSD code. 21 September 2000, 14:32:04 UTC
b798c01 Now uses make_parser to create its parser (patch 101573). 21 September 2000, 08:38:46 UTC
ae43e52 Added the make_parser function (patch 101571). 21 September 2000, 08:34:04 UTC
c5cec51 Updated XMLGenerator to new DocumentHandler interface (patch 101572). 21 September 2000, 08:25:28 UTC
b4d6bb0 Updated to correct DocumentHandler signatures. (patch 101570) 21 September 2000, 08:18:55 UTC
39fb28f Windows installer: Don't ship debug .dll, .pyd or .lib files. Saves space. Bumped the title to beta 2. 21 September 2000, 07:50:36 UTC
38fd5b6 Derived from Martin's SF patch 110609: support unbounded ints in %d,i,u,x,X,o formats. Note a curious extension to the std C rules: x, X and o formatting can never produce a sign character in C, so the '+' and ' ' flags are meaningless for them. But unbounded ints *can* produce a sign character under these conversions (no fixed- width bitstring is wide enough to hold all negative values in 2's-comp form). So these flags become meaningful in Python when formatting a Python long which is too big to fit in a C long. This required shuffling around existing code, which hacked x and X conversions to death when both the '#' and '0' flags were specified: the hacks weren't strong enough to deal with the simultaneous possibility of the ' ' or '+' flags too, since signs were always meaningless before for x and X conversions. Isomorphic shuffling was required in unicodeobject.c. Also added dozens of non-trivial new unbounded-int test cases to test_format.py. 21 September 2000, 05:43:11 UTC
31575ce Note that __getitem__() may receive a slice object as the index; reported by Detlef Lannert <lannert@uni-duesseldorf.de>. 21 September 2000, 05:28:26 UTC
0299749 Document directories are not always named with three characters any more; reported by Detlef Lannert <lannert@uni-duesseldorf.de>. 21 September 2000, 05:26:43 UTC
fffe5db Fixed a number of small problems reported by Detlef Lannert <lannert@uni-duesseldorf.de>. 21 September 2000, 05:25:30 UTC
f585574 Corran Webster: fix 'change_root()' to handle Mac OS paths. 21 September 2000, 01:23:35 UTC
55a8338 On Unix, use O_EXCL when creating the .pyc/.pyo files, to avoid a race condition 20 September 2000, 20:31:38 UTC
6c0f33f Add a definition of rl_library_version. Reported by jpettit@sourceforge. 20 September 2000, 20:24:21 UTC
df84fac .use_latex(): Make this a little smarter so that it only runs pdflatex once if all the temporary files are available from building a DVI file. This can avoid two runs of pdflatex. 20 September 2000, 05:49:09 UTC
51f53df Clarify that the softspace attribute is used by print for state management, not as a user-controlled parameter. 20 September 2000, 04:48:20 UTC
f5aa4ef Add entries for the xml.sax documentation. 20 September 2000, 02:54:58 UTC
e10ef74 First cut at documentation for the xml.sax package (not including any sub-modules). 20 September 2000, 02:52:20 UTC
572bdce change 2-space indent to 4-space indent 20 September 2000, 02:47:28 UTC
9c36a41 distutils setup script 20 September 2000, 02:35:19 UTC
bdd9017 Fix typo (newtabwith). 20 September 2000, 00:17:39 UTC
9c0ea13 *Very* belated application of Thomas Heller's patch to handle resource files. The gist of the patch is to treat ".rc" and ".mc" files as source files; ".mc" files are compiled to ".rc" and then ".res", and ".rc" files are compiled to ".res". Wish I knew what all these things stood for... 19 September 2000, 23:56:43 UTC
ceeda0e Treat trailing colon in os.path.join("a:", "b") same way for DOS as in recent changes to ntpath.py and posixmodule.c. Thanks to Guido for pointing out the inconsistency! 19 September 2000, 23:46:56 UTC
f86eda5 Added GetArgs dialog to EasyDialogs, a very nifty (if I may say so:-) way to create a unix-style sys.argv. 19 September 2000, 22:42:38 UTC
d1ba443 This patch adds a new Python C API called PyString_AsStringAndSize() which implements the automatic conversion from Unicode to a string object using the default encoding. The new API is then put to use to have eval() and exec accept Unicode objects as code parameter. This closes bugs #110924 and #113890. As side-effect, the traditional C APIs PyString_Size() and PyString_AsString() will also accept Unicode objects as parameters. 19 September 2000, 21:04:18 UTC
f8d0713 Temporary fix for Bug #114821. The cause was that the replace code necessarily used a PCRE internal function to to template expansion. The fix changes the code to use an SRE internal if SRE is used, and a PCRE internal if SRE is used; in a way that should work with 1.5.2. The solution can be sped up tremendously under the assumption that the choice between sre and pre is not changed during the execution of the program; especially replace-all will be slow. But I'll leave that to someone else. 19 September 2000, 20:51:17 UTC
0eeba5b Part of SF patch 101481: on Windows, os.path.join("a:", "b") should yield "a:b", not "a:/b". Similar change was made to posixmodule.c earlier. 19 September 2000, 20:39:32 UTC
f5fa0fc test_userlist.py: Added new test for new __contains__ method. Extensive editing to get rid of asserts. 19 September 2000, 20:31:24 UTC
7b393fc SF patch 101391: implemented UserList.__contains__. 19 September 2000, 20:29:03 UTC
4c79919 Fix test errors. 19 September 2000, 19:33:02 UTC
8d27f89 Moshe Zadka <mzadka@geocities.com>: Document the __contains__() method. (Patch slightly modified by FLD.) This closes SourceForge patch #101387. 19 September 2000, 18:21:25 UTC
1156f62 Many small clarifications, including many suggested by email. 19 September 2000, 18:10:05 UTC
b96e0e5 New test cases for the StringIO module 19 September 2000, 16:35:39 UTC
89c528b Don't print specific Node instances unless running verbosely. Closes Bug #114775. 19 September 2000, 16:22:10 UTC
02c7082 make_nav_sectref(): Create more minimal HTML, hanging the class attribute off an existing anchor tag if available (I think it always is, but am not completely sure). 19 September 2000, 15:36:19 UTC
back to top