Greg Ward
d197a3a12c
Define 'self.force' in the constructor and remove the hack in '__getattr__()'
...
to account for it not being defined in the constructor.
2000-04-10 13:11:51 +00:00
Guido van Rossum
5f8b12f27e
Mark Hammond:
...
In line with a similar checkin to object.c a while ago, this patch
gives a more descriptive error message for an attribute error on a
class instance. The message now looks like:
AttributeError: 'Descriptor' instance has no attribute 'GetReturnType'
2000-04-10 13:03:19 +00:00
Guido van Rossum
5db862dd0c
Skip Montanaro: add string precisions to calls to PyErr_Format
...
to prevent possible buffer overruns.
2000-04-10 12:46:51 +00:00
Guido van Rossum
fa972c987c
In dealloc(), only close the socket if fd != -1.
2000-04-10 12:45:45 +00:00
Greg Ward
7aff6f34fe
Delete some debugging print statements.
2000-04-10 01:31:58 +00:00
Greg Ward
e9613ae05f
Added a check for the 'force' attribute in '__getattr__()' -- better than
...
crashing when self.force not defined.
Revise 'copy_file()' and 'copy_tree()' docstrings accordingly.
Remove 'hasattr()' check for 'self.force' from 'make_file()'.
2000-04-10 01:30:44 +00:00
Greg Ward
d38e6f7637
Added optional 'prefix' arguments to 'get_python_inc()' and
...
'get_python_lib()'.
2000-04-10 01:17:49 +00:00
Greg Ward
cf6bea3dc7
Better variable names here and there.
2000-04-10 01:15:06 +00:00
Greg Ward
c41d6b35a9
Added '--force' option -- very clear what it means for building (ignore
...
timestamps), so every build_* command has 'self.force', which follows the
'build' command if not set by the user.
2000-04-10 00:19:42 +00:00
Greg Ward
68a0757e23
Removed global '--force' option -- just too vague a concept to be applicable
...
to all commands in the same way. Several Command methods now either expect
'self.force' to be defined, or check if it is defined and assume it's
false if not.
2000-04-10 00:18:16 +00:00
Greg Ward
582a8701cb
Added __version__ to store the Distutils version number.
2000-04-10 00:02:16 +00:00
Greg Ward
c248baecb3
Moved definition of \XXX command out to distutils.sty.
2000-04-09 20:55:35 +00:00
Greg Ward
6002ffc38c
Wrote the introduction (including several subsections).
...
Started writing the "Standard Build and Install" section.
2000-04-09 20:54:50 +00:00
Just van Rossum
ae787185df
minor tweak (jvr)
2000-04-09 19:45:38 +00:00
Just van Rossum
73efed21e8
added experimental microthread support for use with stackless python -- bw compatible (jvr)
2000-04-09 19:45:22 +00:00
Just van Rossum
d949b5cdba
added popup control (jvr)
2000-04-09 19:45:08 +00:00
Just van Rossum
7051e5263e
added setbound() method, some cleanups (jvr)
2000-04-09 19:44:45 +00:00
Just van Rossum
6e5f2d1f8e
oops, keyword list missed exec... doh! thanks to Maik Roeder (jvr)
2000-04-09 19:44:13 +00:00
Jack Jansen
7d7bb91926
Installer Vise vct file for 1.6a1. Not very pretty (and needs funny directory structure).
2000-04-09 18:38:54 +00:00
Jack Jansen
4aafaf92c7
Modified for 1.6a1.
2000-04-09 18:38:11 +00:00
Jack Jansen
ffd61a62cc
Quick readme for 1.6a1.
2000-04-09 18:37:50 +00:00
Greg Ward
facb8dbaeb
Fixed so LaTeX can actually process it, and so it looks like the other
...
Distutils manual.
2000-04-09 04:32:40 +00:00
Greg Ward
16aafcd85b
Got started for real on this manual. Completely untested and unread -- just
...
checking it in so I can move things around in the CVS repository.
2000-04-09 04:06:44 +00:00
Greg Ward
7593eb3267
Extracted a bunch of Distutils-specific commands and macros to distutils.sty
...
(also needed by inst.tex).
2000-04-09 03:59:15 +00:00
Greg Ward
60908f1408
Ditched the unused 'list_only' option.
...
Added code to include source files from 'build_clib' command to default file
list -- currently this won't work, since 'build_clib' doesn't have a
'get_source_files()' method!
2000-04-09 03:51:40 +00:00
Greg Ward
b2e2c29295
Catch DistutilsFileError in addition to DistutilsExecError in 'setup()'.
2000-04-09 03:49:20 +00:00
Greg Ward
b361233c76
Added (currently) pointless and trivial main body (for future tests).
2000-04-09 03:48:37 +00:00
Greg Ward
d759f5f145
This little note is to clarify things for people who go poking around the
...
Python library hoping to find out more about the Distutils.
2000-04-09 02:31:45 +00:00
Jack Jansen
6c38e5b46d
Drag was missing from the modules built.
2000-04-08 21:29:31 +00:00
Jack Jansen
d96f04c8f9
This hadn't been checked in for a while.
2000-04-08 21:28:53 +00:00
Fred Drake
9164f88657
Fix Skip's email address in his attribution! (Thanks, Skip!)
2000-04-08 04:53:29 +00:00
Fred Drake
e7a8c972d8
Added support for the "Long HTML" version to the build/packaging
...
process.
2000-04-07 16:27:15 +00:00
Fred Drake
c2c46c3751
New example from Skip Montanaro <skip@mojam.com>.
2000-04-07 16:09:59 +00:00
Jack Jansen
037649eaa6
Enable multithreading.
2000-04-07 15:40:59 +00:00
Jack Jansen
6d3632a209
Added a profiling target.
2000-04-07 15:40:14 +00:00
Jack Jansen
a974d2498e
Fiddled linkorder and a few other things to make shared threaded python work.
2000-04-07 15:39:25 +00:00
Fred Drake
46f14580cb
Describe the purpose of the "long HTML" package.
2000-04-07 14:47:27 +00:00
Fred Drake
5fa38862bb
Fred Gansevles <gansevle@cs.utwente.nl>:
...
The copytree function doesn't pass the symlinks parameter in recursicve
calls
2000-04-07 14:34:50 +00:00
Jack Jansen
37d21e117f
Started on GUSI2 and threading support.
2000-04-07 09:25:06 +00:00
Jack Jansen
d62966060f
1.6a1 modules added.
2000-04-07 09:24:53 +00:00
Jack Jansen
7f70c8ee89
Started on GUSI2 and threading support. cfm68k targets are still included in all projects, but for the time being all the "fat" targets exclude them, making them basically copy operations. This way we don't have to rename everything, and anyone interested can easily try to fix 68k support.
2000-04-07 09:20:25 +00:00
Jack Jansen
2d1306b7cf
Started on GUSI2 and threading support.
2000-04-07 09:10:49 +00:00
Jack Jansen
5c21420772
Ready for 1.6a1. Reordered the defines to be in line with config.h.in again, so tracking the new defines will be easier in future.
2000-04-07 09:10:35 +00:00
Jack Jansen
e31d3d66aa
Return a handle in stead of a resource.
2000-04-07 09:08:37 +00:00
Guido van Rossum
a396a883af
Vladimir Marangozov: This fixes the line number in the string
...
representation of code objects when optimization is on (python -O). It
was always reported as -1 instead of the real lineno.
2000-04-07 01:21:36 +00:00
Guido van Rossum
fa9ef1864f
Just in case someone wants to use this, let's fix the pathname.
2000-04-06 20:09:17 +00:00
Fred Drake
cff5482d37
Mark RELEASE with the release level ("a2").
2000-04-06 18:38:30 +00:00
Guido van Rossum
ba47704943
Conrad Huang points out that "if (0 < ch < 256)", while legal C,
...
doesn't mean what the Python programmer thought...
2000-04-06 18:18:10 +00:00
Fred Drake
69ca950d1f
Make sure the \declaremodule uses the right name for the module!
...
Clean up several markup problems & inconsistencies.
2000-04-06 16:09:59 +00:00
Fred Drake
343301aaa4
unichr(),
...
unicode(): Added \versionadded{} annotations.
2000-04-06 15:06:03 +00:00