summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make the maxsize constructor argument default to 0 (an unlimited queue size).Guido van Rossum1999-09-091-1/+1
|
* Added keyword parameter support to all public interfaces; keywordFred Drake1999-09-091-62/+76
| | | | | | | | | names match the documentation. Removed broken code that supports the __methods__ attribute on ast objects; the right magic was added to Py_FindMethod() since this was originally written. <ast-object>.__methods__ now works, so dir() and rlcompleter are happy.
* Name the parameter to expr() and suite() "source" instead of "string".Fred Drake1999-09-091-6/+6
|
* A few new TODO entries.Guido van Rossum1999-09-091-0/+4
|
* call_trace(): A fix for PR#73, if an exception occurred in theBarry Warsaw1999-09-081-0/+8
| | | | | | tracefunc (or profilefunc -- we're not sure which), zap the global trace and profile funcs so that we can't get into recursive loop when instantiating the resulting class based exception.
* Changed to reflect the new "command options" regime -- in particular,Greg Ward1999-09-082-14/+22
| | | | | we no longer explicitly pull distribution options out of our Distribution object, but rather let the Distribution put them into the command object.
* Careful rethink of command options, distribution options, distributionGreg Ward1999-09-081-26/+108
| | | | | | | | | | | | | | | attributes, etc. Biggest change was to the Distribution constructor -- it now looks for an 'options' attribute, which contains values (options) that are explicitly farmed out to the commands. Also, certain options supplied to Distribution (ie. in the 'setup()' call in setup.py) are now "command option aliases", meaning they are dropped right into a certain command rather than being distribution options. This is handled by a new Distribution class attribute, 'alias_options'. Various comment changes to reflect the new way-of-thinking. Added 'get_command_name()' method to Command -- was assuming its existence all along as 'command_name()', so changed the code that needs it to call 'get_command_name()'.
* Ditched redundant docstrings and comments (overlap with ccompiler.py).Greg Ward1999-09-081-111/+20
| | | | | | | Ditched redundant '_gen_preprocess_options()' and '_gen_lib_options()' -- now provided by ccompiler.py. Fixed some filename extension variables -- added missing period. Cosmetic tweaks.
* Ditched '_gen_preprocess_options()' and '_gen_lib_options()' -- they'reGreg Ward1999-09-081-68/+8
| | | | | | now provided (minus the leading underscore) by the ccompiler module. Fix 'compile()' to return the list of object files generated. Cosmetic tweaks/delete cruft.
* os.name is "posix" or "nt" or we don't care.Greg Ward1999-09-081-1/+97
| | | | | | | | Added big comment about the kludginess of passing 'build_options' to the link methods and how to fix it. Added 'gen_preprocess_options()' and 'gen_lib_options()' convenience functions -- the two cases are very similar for Unix C Compilers and VC++, so I figured I might as well unify the implementations.
* [from 1999/08/28]Greg Ward1999-09-081-2/+2
| | | | | Apparently os.name is "nt" or "posix" or we don't care. Cosmetic tweaks.
* Fixed memory leak in ratecv, in response to PR#72. By Sjoerd Mullender.Guido van Rossum1999-09-071-8/+18
|
* Fixed 'return EOFError' that should be 'raise EOFError', caught byAndrew M. Kuchling1999-09-061-1/+1
| | | | Skip Montanaro's return-value patches.
* Correct typo in AddressList.__getitem__. By Moshe Zadka.Guido van Rossum1999-09-031-1/+1
|
* Fix indent error in __format(): del context[objid] at the end shouldGuido van Rossum1999-09-021-1/+2
| | | | | be executed in all cases, not just when it's not a list, tuple or dict. Discovered by Christian Tismer.
* Patch from Perry Stoll: caught up with changes in CCompiler necessary (?)Greg Ward1999-08-291-8/+21
| | | | for MSVCCompiler.
* Patch from Perry Stoll: tweaks to Windows support.Greg Ward1999-08-291-1/+6
|
* Patch from Perry Stoll: support for Windows.Greg Ward1999-08-291-10/+29
|
* Patch from Perry Stoll: import types module.Greg Ward1999-08-291-0/+1
|
* Patch from Perry Stoll: typo fix, make sure we only compile .py files.Greg Ward1999-08-292-12/+18
|
* Patch from Perry Stoll: OK for list of modules to be empty.Greg Ward1999-08-291-0/+4
|
* Patch from Perry Stoll: pass 'build_info' to link method.Greg Ward1999-08-291-2/+1
|
* Patch from Perry Stoll:Greg Ward1999-08-291-6/+19
| | | | | | | - fix some broken abstract methods - kludge: add 'build_info' parameter to link methods - add 'object_name()' and 'shared_library_name()' - support for MSVCCompiler class on NT/Win95
* Added msvccompiler module exactly as supplied by Perry Stoll.Greg Ward1999-08-291-0/+317
|
* Patch by Mark Hammond to avoid certain header files on Windows/CE.Guido van Rossum1999-08-273-1/+14
|
* Tiny patch by Mark Hammond to avoid sys/types.h if we don't have itGuido van Rossum1999-08-271-2/+4
| | | | (for Windows/CE).
* Added descriptions of the t#, w, and w# PyArg_ParseTuple() formatFred Drake1999-08-271-0/+21
| | | | characters; these are the ones for the buffer interface.
* Add Python Documentation entry to Help menu.Guido van Rossum1999-08-261-0/+3
|
* Find the help.txt file relative to __file__ or ".", not in sys.path.Guido van Rossum1999-08-261-8/+14
| | | | | | | | (Suggested by Moshe Zadka, but implemented differently.) Add <<python-docs>> event which, on Unix, brings up Netscape pointing to http://www.python.doc/current/ (a local copy would be nice but its location can't be predicted). Windows solution TBD.
* Update the instructions slightly.Fred Drake1999-08-261-4/+44
| | | | | Add a new section describing what each of the tools does, in general terms.
* Removed; no longer needed now that the other tools can handle entityFred Drake1999-08-261-24/+0
| | | | references directly.
* feed(): Added support for ESIS '&' lines.Fred Drake1999-08-261-1/+4
|
* Remove use of fixgenents.sh; no longer needed.Fred Drake1999-08-261-5/+4
|
* Specify: \geq --> &geq;Fred Drake1999-08-261-4/+12
| | | | | | \leq --> &leq; \LaTeX --> LaTeX (just text) \TeX --> TeX (just text)
* Conversion.subconvert(): Added support for "entityref" parametersFred Drake1999-08-261-0/+7
| | | | | | | (must be named in the conversion spec.). TableParser.start_entityref(): New method. Use to support creating entity references via the conversion specification.
* write_esis(): Added support for ENTITY_REFERENCE nodes.Fred Drake1999-08-261-40/+44
|
* convert(): Add support for ESIS '&' lines, and make sure we don'tFred Drake1999-08-261-0/+5
| | | | silently ignore unrecognized lines.
* posix_putenv(): Constrain memory leakage when setting the sameFred Drake1999-08-261-3/+24
| | | | | | environment variable repeatedly. I posted this to the list some time ago, but only now got around to asking g--d- what he thought about it.
* Doco update from Sjoerd Mullender.Guido van Rossum1999-08-262-23/+29
|
* Sjoerd Mullender writes:Guido van Rossum1999-08-261-30/+48
| | | | | | | | | | | """ Added some optional arguments to the XMLParser __init__ method to specify that selected non-standard constructs are to be accepted. Also removed the documentation for handle_entityrefs since it isn't used. """ The version is incremented to 0.3.
* Sjoerd Mullender writes:Guido van Rossum1999-08-263-147/+50
| | | | | | | | | | | | | | | | | | | | | | """ Extended chunk so that it can also handle formats that are almost according to EA IFF 85. In particular, added options to handle little-endian and to handle formats that include the header size in the chunk size value. Fixed a bug where the header size was included in the chunk size, which it isn't according to EA IFF 85. Added a new method getsize() to get the size of the chunk (excluding header). Fixed chunk documentation (TIFF doesn't look like it uses chunks). Converted wave to use chunk. Wave uses EA IFF 85 chunks except that it uses little-endian encoding of integer data. Removed __del__ methods from aifc and wave since I got an AttributeError there upon exit. """
* Added paragraph explaining that except clauses can't be empty; thatFred Drake1999-08-241-0/+4
| | | | pass can be used if needed. By Dan Wolfe <wolfeman@apple.com>.
* Added sentence "All exceptions must have an executable block."; fromFred Drake1999-08-241-1/+2
| | | | Dan Wolfe <wolfeman@apple.com>.
* Added additional index entries.Fred Drake1999-08-241-11/+14
| | | | Minor markup nits.
* whrandom should come immediately after random, not before.Fred Drake1999-08-231-1/+1
|
* Clarified start parameter to Py_CompileString, documentedFred Drake1999-08-231-5/+24
| | | | | | Py_eval_input, Py_file_input, and Py_single_input. Problems reported by Aaron Brancotti <aaron@icona.it>.
* Removed availabe() method again: even on PPC it sometimes returns 1 whileJack Jansen1999-08-232-104/+0
| | | | quicktime isn't available. Use gestalt in stead for this functionality.
* Return MacOS.Error in stead of RuntimeError in case of failure so the userJack Jansen1999-08-231-6/+3
| | | | gets a reasonable explanation in stead of a large negative number.
* Port inet_ntoa and inet_aton to Windows:Guido van Rossum1999-08-201-2/+23
| | | | | | - fix unescaped newline in string literal - removed unused err variable - Windows doesn't have inet_aton; use inet_addr instead
* Add calls to self.protocol("WM_DELETE_WINDOW", self.destroy) to the TkGuido van Rossum1999-08-201-0/+2
| | | | | | | | and Toplevel class constructors. This means that if the window manager closes the window, the Python-side Tkinter data structures will be destroyed correctly. (Most apps do this anyway, and it's recommended practice; I see no reason why making it the default behavior could be bad.)