summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PNG version of the icons, converted from the GIFsFred Drake1999-09-226-0/+0
| | | | by Michael Hudson <mwh21@cam.ac.uk>.
* Ditched the whole notion of "alias options": this meant dropping theGreg Ward1999-09-211-39/+21
| | | | | | | | | | | | | 'alias_options' table and getting rid of some hairy code in the Distribution constructor. Resurrected the distribution options that describe the modules present in the module distribution ('py_modules', 'ext_modules'), and added a bunch more: 'packages', 'package_dir', 'ext_package', 'include_dirs', 'install_path'. Updated some comments. Added 'warn()' method to Command. 'Command.get_command_name()' now stores generated command name in self.command_name.
* Added 'write_file()' function.Greg Ward1999-09-211-1/+22
| | | | | | | Added global cache PATH_CREATED used by 'mkpath()' to ensure it doesn't try to create the same path more than once in a session (and, more importantly, to ensure that it doesn't print "creating X" more than once for each X per session!).
* In 'link_shared_object()', try to be less sensitive to missing input filesGreg Ward1999-09-211-1/+11
| | | | in dry-run mode.
* Typecheck elements of 'macros' parameter in 'gen_preprocess_options().Greg Ward1999-09-211-0/+8
|
* Added docstring, brought __all__ up-to-date.Greg Ward1999-09-211-2/+19
|
* Added 'install_path' option for giving non-packagized moduleGreg Ward1999-09-211-12/+82
| | | | | | | | | | | distributions their own directory (and .pth file). Overhauled how we determine installation directories in 'set_final_options()' to separate platform-dependence and take 'install_path' option into account. Added 'create_path_file()' to create path config file when 'install_path' given. Only run 'install_py' and 'install_ext' when, respectively, there are some pure Python modules and some extension modules in the distribution.
* Only run build_py if we have pure Python modules, and build_ext if weGreg Ward1999-09-211-5/+9
| | | | have extension modules.
* Some option changes:Greg Ward1999-09-211-17/+30
| | | | | | | | | | - rename 'dir' to 'build_dir' - take 'package' from distribution option 'ext_package' - take 'extensions' from distribution option 'ext_modules' - take 'include_dirs' from distribution Name keyword args explictly when calling CCompiler methods. Overhauled how we generate extension filenames (in 'extension_filename() and 'build_extension()') to take 'package' option into account.
* Basically a complete rewrite to support dealing with modules in wholeGreg Ward1999-09-211-36/+197
| | | | packages and searching for source files by 'package_dir'.
* Added section about where to send comments, questions, & bug reports.Fred Drake1999-09-211-0/+20
|
* parser__pickler(): Don't drop the third argument toFred Drake1999-09-201-5/+11
| | | | | | | parser_ast2tuple(). Create an temporary empty dictionary to use. Bug reported by Mark Favas <m.favas@per.dem.csiro.au>. Fix a couple of comments.
* Added comment with web location of bsddb windows port.Guido van Rossum1999-09-201-1/+4
|
* Peter Haight discovered that this code uses a mutable default for cnfGuido van Rossum1999-09-201-1/+3
| | | | | and then (under certain circumstances) can clobber the default! He also submitted this patch as PR#82.
* Tim Peters fixed PR#75: very long lines cause incorrect tracebacks.Guido van Rossum1999-09-181-2/+11
|
* Erik Lindvall contributed a BSD/OS 4 patch for LDSHARED.Guido van Rossum1999-09-172-158/+160
|
* os.name: Note that 'java' is one of the registered names.Fred Drake1999-09-171-1/+1
|
* Added documentation for inet_aton() and inet_ntoa(), from BenFred Drake1999-09-161-0/+28
| | | | | | | Gertzfield <che@debian.org> (with minor changes). (Should have been here instead of in the branch in the first place, since these weren't in for the 1.5.2 release.)
* Tim Peters writes:Guido van Rossum1999-09-151-1/+1
| | | | | | | | For a long time I've seen absurd tracebacks under -O (e.g., negative line numbers), but very rarely. Since I was looking at tracebacks anyway, thought I'd track it down. Turns out to be Guido's only predictable blind spot <wink -- "char" is signed on some non-GvR systems>. Patch follows.
* After much hemming and hawing, we decided to roll back Fred's change.Guido van Rossum1999-09-151-5/+5
| | | | | | It breaks Mailman, it was actually documented in the docstring, so it was an intentional deviation from the usual del semantics. Let's document the original behavior in Doc/lib/librfc822.tex.
* (1) On Linux, we really need to trust the configure script to selectGuido van Rossum1999-09-151-2/+13
| | | | | | | | | the right variant of gethostbyname_r for us, since not all Linuxes are equal in this respect. Reported by Laurent Pointal. (2) On BeOS, Chris Herborth reports that instead of arpa/inet.h you must include net/netdb.h to get the inet_ntoa() and inet_addr() prototypes.
* Typo: the method called is do_SPAM, not handle_SPAM.Guido van Rossum1999-09-151-1/+1
|
* Put Sam Rushing's original RCS ID string back, without dollars around it.Guido van Rossum1999-09-141-1/+1
|
* Put Sam Rushing's original RCS ID string back, without dollars around it.Guido van Rossum1999-09-141-1/+1
|
* Added "import string" to a couple of examples that describe stringFred Drake1999-09-141-0/+2
| | | | | module functions, to clarify that the import is not automatic. Suggested by Koray Oner <Koray.Oner@Eng.Sun.COM>.
* Changed selection of installation directories (in 'set_final_options()')Greg Ward1999-09-132-12/+28
| | | | | so that pure Python modules are installed to the platform-specific directory if there are any extension modules in this distribution.
* Straightened up the selection of installation directories for platform-Greg Ward1999-09-131-31/+21
| | | | | | specific files; it was somewhat broken, and the comments were dead wrong. Now runs 'install_ext' command after 'install_py'.
* Added support for 'package' option, including where to link theGreg Ward1999-09-131-8/+11
| | | | actual extension module to.
* Comment addition.Greg Ward1999-09-131-0/+3
|
* Now run 'build_ext'.Greg Ward1999-09-131-2/+2
| | | | Default platform-specific build directory changed to 'build/platlib'.
* Tim Peters discovered a bug in the Python-supplied getopt():Guido van Rossum1999-09-131-1/+2
| | | | | it doesn't recognize a lone dash as a non-flag argument. Now it does.
* Added 'output_dir' parameter to 'compile()' and 'link_shared_object().Greg Ward1999-09-131-22/+83
| | | | | | Changed those two methods to only compile/link if necessary (according to simplistic timestamp checks). Added 'output_dir' to 'object_filenames()' and 'shared_object_filename()'.
* New command -- install_ext to install extension modules.Greg Ward1999-09-131-0/+38
|
* Added 'newer_pairwise()' and 'newer_group()'.Greg Ward1999-09-131-16/+133
| | | | | | Terminology change in 'newer()'. Made 'copy_tree' respect dry_run flag a little better. Added 'move_file()'.
* Added 'output_dir' attribute, and 'output_dir' parameter to several methodGreg Ward1999-09-131-6/+33
| | | | | | signatures, and updated some docstrings to reflect it. Some comments added. Added 'announce()' and 'move_file()' methods.
* Fixed some goofs in 'alias_options'.Greg Ward1999-09-131-2/+15
| | | | | | Error message tweak in Command.set_option(). Added Command.get_peer_option(). Added Command.move_file() wrapper.
* Message.__delitem__(): If the key doesn't exist in the dictionary,Fred Drake1999-09-101-5/+5
| | | | raise KeyError instead of failing silently!
* Fix for PR#74 -- use int() instead of eval() to extract the exponent.Guido van Rossum1999-09-101-1/+1
|
* canonic(): This used to be equivalent to str() but that caused tooBarry Warsaw1999-09-091-6/+9
| | | | | | | much breakage (esp. in JPython which holds absolute path names in co_filename already). This implementation uses os.path.abspath() as a slightly better way to canonicalize path names. It implements a cache.
* Pdb.lineinfo(): Don't use os.popen('egrep ...') to find the line inBarry Warsaw1999-09-091-8/+23
| | | | | | the file that a function is defined on. Non-portable to Windows and JPython. Instead, new find_function() uses re module on a similar (simple-minded) pattern.
* It appears that inet_aton() doesn't really exist except in libresolv;Guido van Rossum1999-09-091-20/+3
| | | | | the proper function to call is inet_addr(). Since we already had code to do that (for MS-Windows), this simplifies things a lot!
* 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.