Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Redone the _tkinter configuration section with support for popular packages. | Guido van Rossum | 1997-11-22 | 1 | -15/+41 |
| | |||||
* | New tkappinit supporting several popular packages. | Guido van Rossum | 1997-11-22 | 1 | -15/+36 |
| | |||||
* | A new standard module, as discussed on comp.lang.python, to simplify | Guido van Rossum | 1997-11-21 | 1 | -0/+254 |
| | | | | | | | | | | | | | | | | | the writing of filters. Typical use is: import fileinput for line in fileinput.input(): process(line) This iterates over the lines of all files listed in sys.argv[1:], defaulting to sys.stdin if the list is empty or when a filename is '-'. There is also an option to use this to direct the output back to the input files. | ||||
* | Add a pointer back to the wizard in the "compat" output. | Guido van Rossum | 1997-11-21 | 1 | -1/+3 |
| | |||||
* | PySocketSock_methods: Added "connect_ex" so the method can actually be | Barry Warsaw | 1997-11-20 | 1 | -0/+1 |
| | | | | called! | ||||
* | A comparison with several other languages that also appears in the | Guido van Rossum | 1997-11-20 | 1 | -0/+129 |
| | | | | Handbook of Object Technology. | ||||
* | Adding Martin von Loewis' documentation for his locale module. | Guido van Rossum | 1997-11-20 | 7 | -1/+383 |
| | |||||
* | Add description for some modules that have been added since this intro | Guido van Rossum | 1997-11-20 | 2 | -0/+42 |
| | | | | section was last revised... | ||||
* | Add description for Queue; fix typo (whichdbm should be whichdb). | Guido van Rossum | 1997-11-20 | 2 | -2/+8 |
| | |||||
* | Plug memory leak in Py_BuildValue when using {...} to construct dictionaries. | Guido van Rossum | 1997-11-20 | 1 | -3/+5 |
| | |||||
* | (Queue.Empty): When class based exceptions are in force, derive this | Barry Warsaw | 1997-11-20 | 1 | -116/+130 |
| | | | | | | | | 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. | ||||
* | libqueue.tex: Documentation for the Queue.py module. | Barry Warsaw | 1997-11-20 | 5 | -1/+179 |
| | | | | | | | 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. | ||||
* | Dang. Formatting glitch. | Guido van Rossum | 1997-11-20 | 1 | -2/+2 |
| | |||||
* | New blurb, derived from my Handbook of Object Technology abstract. | Guido van Rossum | 1997-11-20 | 1 | -43/+27 |
| | |||||
* | In the description of sub(), give a better explanation of the | Barry Warsaw | 1997-11-20 | 2 | -8/+36 |
| | | | | | interface when repl is a function. Also give a simple example of using a function repl. | ||||
* | Add Martin von Loewis as the author of this module. | Guido van Rossum | 1997-11-19 | 1 | -0/+1 |
| | |||||
* | User-level locale module. A wrapper around _locale which adds | Guido van Rossum | 1997-11-19 | 1 | -0/+75 |
| | | | | | | | 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. | ||||
* | Add support for _locale. | Guido van Rossum | 1997-11-19 | 1 | -0/+2 |
| | |||||
* | Add s.connect_ex() which returns errno instead of raising an exception. | Guido van Rossum | 1997-11-19 | 1 | -0/+20 |
| | |||||
* | Add optional support fort Tix and BLT. | Guido van Rossum | 1997-11-19 | 1 | -0/+19 |
| | |||||
* | Fix importing of shared libraries from inside packages. | Guido van Rossum | 1997-11-19 | 2 | -3/+26 |
| | | | | | | | | 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). | ||||
* | Add declaration for _Py_PackageContext -- needed to fix importing | Guido van Rossum | 1997-11-19 | 1 | -0/+2 |
| | | | | of shared libraries from inside packages. | ||||
* | Two changes (here we go again :-( ). | Guido van Rossum | 1997-11-19 | 1 | -35/+3 |
| | | | | | | | | | | 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. | ||||
* | Give more detailed error message when the argument count isn't right. | Guido van Rossum | 1997-11-19 | 1 | -4/+6 |
| | |||||
* | Add declaration for PyNumber_CoerceEx(). | Guido van Rossum | 1997-11-19 | 1 | -0/+1 |
| | |||||
* | Add a new function PyNumber_CoerceEx() which works just like | Guido van Rossum | 1997-11-19 | 1 | -3/+15 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | Martin von Loewis' _locale module (locale.py follows tomorrow). | Guido van Rossum | 1997-11-18 | 1 | -0/+355 |
| | |||||
* | Undo another glitch of the automatic not-so-Grand Renaming; some local | Guido van Rossum | 1997-11-18 | 1 | -10/+10 |
| | | | | | variables called 'coerce' were accidentally renamed to 'PyNumber_Coerce'. Rename them back to coercefunc. | ||||
* | start numbering things 1.5b1 now | Guido van Rossum | 1997-11-18 | 1 | -1/+1 |
| | |||||
* | Assert that the proxies object passed in to the URLopener constructor | Guido van Rossum | 1997-11-18 | 1 | -0/+1 |
| | | | | is indeed a dictionary (or a mapping). | ||||
* | Added docstrings (contributed by Martin von Loewis). | Guido van Rossum | 1997-11-18 | 1 | -1/+13 |
| | |||||
* | Fix the release date for 1.5b1 to be Nov. 26 | Guido van Rossum | 1997-11-18 | 2 | -2/+2 |
| | |||||
* | Add support for NULL macro (like UNIX, ABC etc.). | Guido van Rossum | 1997-11-18 | 1 | -0/+1 |
| | |||||
* | Add xmllib; remove (slow) from description of htmllib. | Guido van Rossum | 1997-11-18 | 2 | -2/+8 |
| | |||||
* | dis is now documented; bisect is deemed useful. | Guido van Rossum | 1997-11-18 | 2 | -6/+2 |
| | |||||
* | Document s.connect_ex(), which does not raise an exception on error. | Guido van Rossum | 1997-11-18 | 2 | -0/+14 |
| | |||||
* | Clarified reference to old profiler. | Guido van Rossum | 1997-11-18 | 2 | -6/+14 |
| | | | | Mention conversion to Perl-style regular expressions. | ||||
* | Added doc for errorcode dictionary. | Guido van Rossum | 1997-11-18 | 2 | -2/+12 |
| | |||||
* | Fixed case sensitivity of attributes (they are case *sensitive*). | Guido van Rossum | 1997-11-18 | 1 | -12/+8 |
| | |||||
* | Adding dis and xmllib docs | Guido van Rossum | 1997-11-18 | 3 | -1/+5 |
| | |||||
* | Docu for xmllib.py, by Sjoerd Mullender. | Guido van Rossum | 1997-11-18 | 2 | -0/+370 |
| | |||||
* | Docu for dis.py, written by Martin von Loewis. | Guido van Rossum | 1997-11-18 | 2 | -0/+1048 |
| | |||||
* | Sjoerd Mullender's xml parser (based on sgmllib, somewhat). | Guido van Rossum | 1997-11-18 | 1 | -0/+568 |
| | |||||
* | This BUGS list hasn't been updated since the release of Python 1.2! | Guido van Rossum | 1997-11-14 | 1 | -373/+0 |
| | | | | | It is useless. My real bugs database is currently being maintained with GNATS. | ||||
* | This fix (across 4 files in 3 directories) solves a subtle problem with | Guido van Rossum | 1997-11-14 | 4 | -0/+16 |
| | | | | | | | | | | | | | | | signal handlers in a fork()ed child process when Python is compiled with thread support. The bug was reported by Scott <scott@chronis.icgroup.com>. What happens is that after a fork(), the variables used by the signal module to determine whether this is the main thread or not are bogus, and it decides that no thread is the main thread, so no signals will be delivered. The solution is the addition of PyOS_AfterFork(), which fixes the signal module's variables. A dummy version of the function is present in the intrcheck.c source file which is linked when the signal module is not used. | ||||
* | Suggestion by David Ascher: set EXE macro to empty string and use it | Guido van Rossum | 1997-11-11 | 1 | -2/+5 |
| | | | | | | in a few places -- so it can be set to .exe on GNUWIN32 platforms and do the right thing. Whatever. (This was already done in Modules/Makefile* but wasn't carried over here.) | ||||
* | Use a %s format for the exit status -- through the magical workings of | Guido van Rossum | 1997-11-11 | 1 | -1/+1 |
| | | | | | the aptly named MagicDict class, the value is a string, not a number, by the time it is printed... | ||||
* | As Mark Hammond found out, it was a bad idea to add "set -e" to the | Guido van Rossum | 1997-11-11 | 1 | -1/+1 |
| | | | | check in command -- this fails for new files! | ||||
* | New version from Neale... He promised it's the last. | Guido van Rossum | 1997-11-11 | 1 | -3/+3 |
| | |||||
* | Fix memory leak in exec statement with code object -- the None returned | Guido van Rossum | 1997-11-11 | 1 | -2/+4 |
| | | | | | | by PyEval_EvalCode() on success was never DECREF'ed. Fix by Bernhard Herzog. |