- 21 Nov, 1997 1 commit
-
-
Guido van Rossum authored
-
- 20 Nov, 1997 11 commits
-
-
Barry Warsaw authored
called!
-
Guido van Rossum authored
Handbook of Object Technology.
-
Guido van Rossum authored
-
Guido van Rossum authored
section was last revised...
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Barry Warsaw authored
class from the standard base exception Exception. Otherwise define Queue.Empty as a string exception. (Queue): 8-space to 4-space indentation conversion. Also, basically recast all method comments into docstrings.
-
Barry Warsaw authored
Makefile: Add dependency on libqueue.tex lib.tex: Place the libqueue.tex documentation just after libthread.tex since Queue depends on thread support in Python.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Barry Warsaw authored
interface when repl is a function. Also give a simple example of using a function repl.
-
- 19 Nov, 1997 11 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
format(), str(), atof(), and atoi(). The last three are locale sensitive versions of the corresponding standard functions (only for numbers though); format() does general %[efg] formatting taking the locale into account, optionally with thousands grouping.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
This is a bit of a hack: when the shared library is loaded, the module name is "package.module", but the module calls Py_InitModule*() with just "module" for the name. The shared library loader squirrels away the true name of the module in _Py_PackageContext, and Py_InitModule*() will substitute this (if the name actually matches).
-
Guido van Rossum authored
of shared libraries from inside packages.
-
Guido van Rossum authored
1) The __builtins__ variable in the __main__ module is set to the __builtin__ module instead of its __dict__. 2) Get rid of the SIGHUP and SIGTERM handlers. They can't be made to work reliably when threads may be in use, they are Unix specific, and Python programmers can now program this functionality is a safer way using the signal module.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
PyNumber_Coerce() except that when the coercion can't be done and no other exceptions happen, it returns 1 instead of raising an exception. Use this function in PyObject_Compare() to avoid raising an exception simply because two objects with numeric behavior can't be coerced to a common type; instead, proceed with the non-numeric default comparison. Note that this is a somewhat questionable practice -- comparisons for numeric objects shouldn't default to random behavior like this, but it is required for backward compatibility. (Case in point, it broke comparison of kjDict objects to integers in Aaron Watters' kjbuckets extension.) A correct fix (for python 2.0) should involve a different definiton of comparison altogether.
-
- 18 Nov, 1997 17 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
variables called 'coerce' were accidentally renamed to 'PyNumber_Coerce'. Rename them back to coercefunc.
-
Guido van Rossum authored
-
Guido van Rossum authored
is indeed a dictionary (or a mapping).
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Mention conversion to Perl-style regular expressions.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-