summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Package with suites for talking to netscape.Jack Jansen2000-08-178-0/+1362
|
* The package with standard suites. These are used separately and as base ↵Jack Jansen2000-08-1710-0/+4440
| | | | classes for other suite packages (StdSuite is slightly magical, in that it is the gensuitemodule default base package).
* Use the new package-based scripting support.Jack Jansen2000-08-171-6/+16
|
* Generate packages in stead of separate modules. The package main module ↵Jack Jansen2000-08-171-22/+120
| | | | imports everything, it knows about the app signature, suites can extend standard suites, and lots more. Automatically finding declarations in other suites TBD.
* Removed temporary code to disable OT networking (this was a workaround for ↵Jack Jansen2000-08-171-1/+1
| | | | getpeername() not working in a previous release of GUSI, but it has been fixed).
* Removed temporary code that always set creator to SimpleText.Jack Jansen2000-08-171-2/+7
|
* Reran autoconf.Sjoerd Mullender2000-08-172-92/+39
|
* Fix up problems when compiling in a directory other than the sourceSjoerd Mullender2000-08-174-35/+56
| | | | directory.
* Convert some old-style string exceptions to class exceptions.Fred Drake2000-08-176-12/+17
|
* Convert some old-style string exceptions to class exceptions.Fred Drake2000-08-176-6/+14
|
* \citetitle: Format the title, not the optional URL!Fred Drake2000-08-171-1/+1
|
* Add section on list comprehensionAndrew M. Kuchling2000-08-171-4/+120
| | | | | Comment out the unwritten XML section mymalloc.h -> pymem.h
* Insure properly identifies the `interned' dictionary as leaking atBarry Warsaw2000-08-161-0/+12
| | | | | | shutdown time, but CVS log entry for revision 2.45 explains why this is so. Simply include a comment so we don't have to re-figure it out again 5 years from now.
* _PySys_Init(): Fix another Insure discovered memory leak; the PyStringBarry Warsaw2000-08-161-1/+2
| | | | created from the "big"/"little" constant needs to be decref'd.
* The sre test suite currently overruns the stack on Win64, Linux64, and MontereyTrent Mick2000-08-161-2/+11
| | | | | | | | | (64-bit AIX) This is because the RECURSION_LIMIT is too low. This patch lowers to recusion limit to 7500 such that the recusion check fires before a segfault. Fredrik suggested/approved the fix in private email, modulo sre's recusion limit checking no being necessary when PyOS_CheckStack is implemented for Windows.
* Ka-Ping Yee <ping@lfw.org>:Fred Drake2000-08-161-6/+10
| | | | Further examples of list comprehensions.
* updated occurences of fqdn algorithm (closes patch #101197)Peter Schneider-Kamp2000-08-163-36/+8
|
* SyntaxError__str__(): Fix two memory problems discovered by Insure.Barry Warsaw2000-08-161-4/+9
| | | | | | | First, the allocated buffer was never freed after using it to create the PyString object. Second, it was possible that have_filename would be false (meaning that filename was not a PyString object), but that the code would still try to PyString_GET_SIZE() it.
* add dummy 'add2lib' target to Grammar/Makefile so non-GNU makes don't bail outTrent Mick2000-08-161-0/+3
| | | | | This closes patch: http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=101176&group_id=5470
* Use socket.getfqdn() instead of defining make_fqdn().Fred Drake2000-08-161-27/+2
|
* Document socket.getfqdn().Fred Drake2000-08-161-4/+12
|
* The socket module is now _socket on all platforms.Fred Drake2000-08-161-2/+1
|
* Remove a lot of the confusing conditional compilation from the beginningFred Drake2000-08-161-47/+4
| | | | of the init_socket() function. This module is now *always* _socket.
* Revise the wrapper structure for the socket module:Fred Drake2000-08-163-301/+237
| | | | | | | | | | | | | | | socket.py is used for all platforms, and it defines the additional classes and alternate socket() function for Windows and BeOS systems. The plat-*/socket.py files are no longer needed, since there is a shared socket.py. make_fqdn() is provided, but I decided to call it getfqdn() to be consistent with the other names in the socket module. Since it is really a "get" operation and does not create a new name, this is the right name to give it. Move the docstring here from the _socket module.
* Updated commentAndrew M. Kuchling2000-08-162-2/+2
|
* Deleted now-unused include filesAndrew M. Kuchling2000-08-165-441/+0
|
* Mention setdefault() method for dictsAndrew M. Kuchling2000-08-161-0/+16
|
* From Rene Liebscher:Mark Hammond2000-08-151-9/+146
| | | | | | | | | | | | | | This patch makes it possible to use gnu-win32 and lcc-win32 (http://www.cs.virginia.edu/~lcc-win32/) compilers to build extension modules. It adds compiler specific sections to PC/config.h . It also extends the Borland compiler section. This has then two parts, one for Win32 and the other one for the rest. The Win32 part should be almost complete. *** This patch is not intended to make it possible to compile Python with these compilers, it is intended to be able to use these compilers to build extension modules. ****
* Apply SF patch #101151, by Peter S-K, which fixes smtplib's passing of theThomas Wouters2000-08-152-13/+29
| | | | | | 'helo' and 'ehlo' message, and exports the 'make_fqdn' function. This function should be moved to socket.py, if that module ever gets a Python wrapper.
* Chris Herborth <chrish@pobox.com>:Fred Drake2000-08-156-40/+59
| | | | | | | | | Minor updates for BeOS R5. Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding change in BeOS/README (by Fred). This closes SourceForge patch #100978.
* Fix error made in applying Thomas's patch.Fred Drake2000-08-151-1/+1
|
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-08-151-1/+2
| | | | | Update the grammar to reflect the most recent changes to list comprehensions.
* Fix markup bug that prevented formatting.Fred Drake2000-08-151-7/+9
| | | | | Adjusted some markup for consistency with the rest of the documentation and creation of the proper index entries.
* Fix new compiler warnings. Unused var in compile.c. Argsize mismatchesTim Peters2000-08-152-2/+1
| | | | | | in binascii.c (only on platforms with signed chars -- although Py_CHARMASK is documented as returning an int, it only does so on platforms with signed chars).
* my_basename(): Removes the leading path components from a path name,Fred Drake2000-08-151-2/+23
| | | | | | | | returning a pointer to the start of the file's "base" name; similar to os.path.basename(). SyntaxError__str__(): Use my_basename() to keep the length of the file name included in the exception message short.
* Remove the osdefs.h #include; it was not needed in the final version ofFred Drake2000-08-152-2/+0
| | | | my last set of changes.
* Update test output to reflect change in SyntaxError formatting.Fred Drake2000-08-151-1/+1
| | | | This closes SourceForge bug #110628 (Jitterbug PR#278).
* When raising a SyntaxError, make a best-effort attempt to set theFred Drake2000-08-151-9/+29
| | | | | | | | | | filename and lineno attributes, but do not mask the SyntaxError if we fail. This is part of what is needed to close SoruceForge bug #110628 (Jitterbug PR#278). Wrap a long line to fit in under 80 columns.
* When raising a SyntaxError, make a best-effort attempt to set theFred Drake2000-08-151-1/+19
| | | | | | | | filename and lineno attributes, but do not mask the SyntaxError if we fail. This is part of what is needed to close SoruceForge bug #110628 (Jitterbug PR#278).
* SyntaxError__str__(): Do more formatting of the exception here, ratherFred Drake2000-08-151-6/+55
| | | | | | | | | than depending on the site that raises the exception. If the filename and lineno attributes are set on the exception object, use them to augment the message displayed. This is part of what is needed to close SoruceForge bug #110628 (Jitterbug PR#278).
* Bump version to 0.9.1.Greg Ward2000-08-151-1/+1
|
* Fixed the move-RPM-files hack so it knows about the '--binary-only' andGreg Ward2000-08-151-8/+11
| | | | '--source-only' options.
* Added support for the '--dist-dir' option, including a mildly nastyGreg Ward2000-08-151-4/+23
| | | | | hack to find the two created RPM files (source and binary) and move them to the "dist dir" (default "dist").
* Fix long-hidden inconsistency in internal interface: 'find_modules()' nowGreg Ward2000-08-151-7/+2
| | | | | represents packages as strings, not tuples. This allowed a simplification in 'get_package_dir()', too -- can now assume that 'package' is a string.
* binascii_unhexlify(): Better error message, courtesy effbot.Barry Warsaw2000-08-151-5/+5
|
* tests for binascii.b2a_hex() and binascii.a2b_hex().Barry Warsaw2000-08-151-0/+19
|
* Describe the b2a_hex() and a2b_hex() functions (a.k.a. hexlify() andBarry Warsaw2000-08-151-0/+15
| | | | unhexlify() respectively).
* After a brief conversation and code review with TP, adding two veryBarry Warsaw2000-08-151-22/+126
| | | | | | | | | | | | | | commonly used functions to convert an arbitrary binary string into a hexadecimal digit representation and back again. These are often (and often differently) implemented in Python. Best to have one common fast implementation. Specifically, binascii_hexlify(): a.k.a. b2a_hex() to return the hex representation of binary data. binascii_unhexlify(): a.k.a. a2b_hex() to do the inverse conversion (hex digits to binary data). The argument must have an even length, and must contain only hex digits, otherwise a TypeError is raised.
* SHA_hexdigest(): A couple of small patches to this function, addedBarry Warsaw2000-08-151-2/+10
| | | | | | | after a brief conversation with TP. First, the return values of the PyString_* function calls should be checked for errors. Second, bit-manipulations should be used instead of division for spliting the byte up into its 4 bit digits.
* Added a test of the md5.hexdigest() method. Funny enough, this testBarry Warsaw2000-08-151-0/+6
| | | | | had yet-another Python implementation of a binary-data-to-hex-digit encoder!