summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The functions asctime() and mktime() are documented to take a 9-tupleGuido van Rossum2000-01-121-4/+10
| | | | | | only. Through some mysterious interaction, they would take 9 separate arguments as well. This misfeature is now disabled (to end a difference with JPython).
* On Linux, one sometimes sees spurious errors after interruptingGuido van Rossum2000-01-121-0/+1
| | | | | previous output. Call clearerr() to prevent past errors affecting our ferror() test later, in PyObject_Print(). Suggested by Marc Lemburg.
* 'newer_group()' can now deal with missing files, in a way specified byGreg Ward2000-01-091-2/+17
| | | | the 'missing' parameter.
* Abstracted '_fix_link_args()' out of 'link_shared_object()'.Greg Ward2000-01-091-37/+133
| | | | | | | | | | | | | | Added 'link_static_lib()' method, and 'archiver' and 'archiver_options' class attributes to support it. Added 'link_executable()' method, and 'ld_exec' instance attribute to support it. 'newer_group()' is now able to handle missing files, so we don't have to kludge it by catching OSError when calling it. 'object_filenames()' and 'shared_object_filename()' now take 'keep_dir' flag parameters. 'library_filename()' and 'shared_library_filename()' now respect a directory component in the library name. Various comment updates/deletions.
* Removed a bunch of irrelevant parameters from 'link_static_lib()' signature.Greg Ward2000-01-091-8/+18
| | | | Added 'link_executable()' signature.
* Typo fix: 'file.warn' should have been 'manifest.warn' in a couple of places.Greg Ward2000-01-091-5/+5
|
* Two constants were missing.Jack Jansen2000-01-071-0/+2
|
* Added initializer routine optionally to be used as PEF fragment ↵Jack Jansen2000-01-071-0/+34
| | | | initialization routine, which allows us to get at our own resource fork even if some shared library init routine opens other resource files.
* The correct RFC to reference is RFC-1521 (MIME part one), not 1421 (PEM).Guido van Rossum2000-01-031-4/+1
|
* redesign/rebuild around the ImportManager concept.Greg Stein2000-01-031-149/+291
|
* CW Pro 5.3 projects.Jack Jansen2000-01-0131-0/+0
|
* setup_confname_table(): Use size_t instead of int for an index whenFred Drake1999-12-301-1/+1
| | | | | | | building the dicts used to inform the user about the defined constants when using the *conf*() APIs. Thanks to Mark Hammond <mhammond@skippinet.com.au>.
* Nasty error: handle parameters are passed by _address_ to SetControlData.Jack Jansen1999-12-292-2/+2
|
* Renamed USE_MAC_DYNAMIC_LOADING to HAVE_DYNAMIC_LOADINGJack Jansen1999-12-291-1/+1
|
* Modified for new dll import source organisation by Greg.Jack Jansen1999-12-246-2/+2
|
* Modified for appearance.Jack Jansen1999-12-241-2/+2
|
* Oops, forgot & in ParseTuple argument in ControlGetDataHandle.Jack Jansen1999-12-232-2/+2
|
* skip CVS folders when building the Scripts menu -- jvrJust van Rossum1999-12-231-1/+7
|
* updated copyright stringJust van Rossum1999-12-231-1/+1
|
* Implement the other easy thing: repr() of a float now uses %.17g,Guido van Rossum1999-12-231-6/+43
| | | | while str() uses %.12g as before.
* Added item about specific missing entries in the C API manual.Fred Drake1999-12-231-0/+5
|
* changed the "method find" algorithm so the function/class/method popup menu ↵Just van Rossum1999-12-231-3/+8
| | | | also works with space-indented source files -- jvr
* long_format(): Now takes a third parameter, addL; iff true, aFred Drake1999-12-231-9/+19
| | | | | | | | | | | | | | | trailing 'L' is appended to the representation, otherwise not. All existing call sites are modified to pass true for addL. Remove incorrect statement about external use of this function from elsewhere; it's static! long_str(): Handler for the tp_str slot in the type object. Identical to long_repr(), but passes false as the addL parameter of long_format().
* Revise tests to support str(<long int object>) not appending "L".Fred Drake1999-12-233-15/+21
|
* Added a reference to oldPICTbrowse.py.Jack Jansen1999-12-231-1/+3
|
* Converted to Appearance and using a List control in stead of manually ↵Jack Jansen1999-12-237-90/+185
| | | | creating the List and putting it in a useritem. The old version is in oldPICTbrowse, for documentary purposes.
* Partially converted to Appearance, the dialog still has the old ugly layout andJack Jansen1999-12-232-15/+17
| | | | interaction.
* Converted to Appearance.Jack Jansen1999-12-232-2/+2
|
* Unified handle-conversion scheme toJack Jansen1999-12-2310-27/+120
| | | | | | | handle = Ctl.as_Resource(ctl) ctl = Ctl.as_Control(handle) and similarly for List, Menu, TE. The old handle.as_Control() methods are still there for backward compatability.
* Adjusted apply() docstring based on comments from Gerrit HollFred Drake1999-12-231-3/+4
| | | | <gerrit.holl@pobox.com>.
* Don't call len() if the value is already cached! Caught by GerritFred Drake1999-12-221-1/+1
| | | | Holl <gerrit.holl@pobox.com>.
* For ZlibError and ZLIB_VERSION, only attempt to add entry to theFred Drake1999-12-221-3/+6
| | | | | module dict if the inserted object isn't NULL (basic defensive programming!).
* Cleanup patches from Greg Stein:Guido van Rossum1999-12-2211-75/+64
| | | | | | | | | | | | | | | | | | | * in import.c, #ifdef out references to dynamic loading based on HAVE_DYNAMIC_LOADING * clean out the platform-specific crud from importdl.c. [ maybe fold this function into import.c and drop the importdl.c file? Greg.] * change GetDynLoadFunc's "funcname" parameter to "shortname". change "name" to "fqname" for clarification. * each GetDynLoadFunc now creates its own funcname value. WARNING: as I mentioned previously, we may run into an issue with a missing "_" on some platforms. Testing will show this pretty quickly, however. * move pathname munging into dynload_shlib.c
* Removed a couple of items that got done(!).Fred Drake1999-12-211-17/+11
| | | | | Moved a couple to a new "Not worth it" section (explanations were already there).
* Document GetoptError and label error an alias.Fred Drake1999-12-211-2/+9
|
* Contribution from Gerrit Holl:Guido van Rossum1999-12-211-8/+26
| | | | | | | | | This patch changes the string-based exceptions to class-based exceptions, so that you can fetch the unknown option as an attribute. As far as I know, it is backward compatible. [The new exception class is called GetoptError; the name error is an alias for compatibility.]
* Document 1.5.2+ aspects of the NotANumber exception. (Note that thisFred Drake1999-12-211-2/+5
| | | | is in the development branch, not the maintenance branch!)
* Document that the |mode| parameter to open() is optional and explain howFred Drake1999-12-212-10/+14
| | | | the default value is determined.
* Vladimir Marangozov:Guido van Rossum1999-12-211-1/+1
| | | | | | Here's a patch that avoids a warning caused by the "const char* pathname" declaration for _PyImport_GetDynLoadFunc (in dynload_aix). The "aix_load" function's 1st arg is prototyped as "char *pathname".
* Added setargv.obj to the link link.Guido van Rossum1999-12-201-2/+2
| | | | This causes * etc. on the command line to be expanded, link on Unix.
* Add dynload_win.c to project.Guido van Rossum1999-12-201-7/+4
|
* Add HAVE_DYNAMIC_LOADING.Guido van Rossum1999-12-201-0/+4
| | | | Define Py_DEBUG when compiling in debug mode. (Is that a good idea?)
* For Windows, need to add #include <windows.h>.Guido van Rossum1999-12-201-0/+1
|
* Fix typo in docstring: wbites -> wbitsAndrew M. Kuchling1999-12-201-1/+1
|
* Changes to auto-detect the correct dynload_<platform>.c file.Guido van Rossum1999-12-202-105/+223
| | | | | | NOTE: Windows, Mac and OS/2 build procedures must be adapted manually! This is part of a set of patches by Greg Stein.
* Add line for HAVE_DYNAMIC_LOADING (result of editing acconfig.h).Guido van Rossum1999-12-201-0/+3
| | | | This is part of a set of patches by Greg Stein.
* Define HAVE_DYNAMIC_LOADING.Guido van Rossum1999-12-201-0/+3
| | | | This is part of a set of patches by Greg Stein.
* Support for selecting the correct dynload_<platform>.c file.Guido van Rossum1999-12-201-0/+12
| | | | This is part of a set of patches by Greg Stein.
* In _PyImport_Init(), dynamically construct the table of legal suffixesGuido van Rossum1999-12-201-5/+33
| | | | | | | from two static tables (one standard, one provided by the platform's dynload_*.c variant). This is part of a set of patches by Greg Stein.
* Some rearrangements for the importdl.c restructuring.Guido van Rossum1999-12-201-2/+27
| | | | This is part of a set of patches by Greg Stein.