f259efe | Guido van Rossum | 25 November 1997, 01:00:40 UTC | Get rid of math mode in some places. | 25 November 1997, 01:00:40 UTC |
3e1e274 | Guido van Rossum | 25 November 1997, 00:43:34 UTC | Don't use $math$ mode to typeset a simple '>' sign. Use \code, not \samp. | 25 November 1997, 00:43:34 UTC |
9d62e80 | Guido van Rossum | 25 November 1997, 00:35:44 UTC | Remove strange use of $math$ mode to produce a backslash. | 25 November 1997, 00:35:44 UTC |
5b7220f | Guido van Rossum | 25 November 1997, 00:05:12 UTC | Oops, did the previous delete the wrong way. | 25 November 1997, 00:05:12 UTC |
d5da7a6 | Guido van Rossum | 24 November 1997, 23:59:31 UTC | Get rid of last traces of module 'audio' | 24 November 1997, 23:59:31 UTC |
ca83f01 | Guido van Rossum | 24 November 1997, 23:49:35 UTC | Added "-n file" option to only print files newer than the given file. | 24 November 1997, 23:49:35 UTC |
e2d4dd1 | Guido van Rossum | 24 November 1997, 22:24:22 UTC | Use fuzzy comparison from test_support to compare outcome of pow(x,y,z) to pow(x,y)%z. | 24 November 1997, 22:24:22 UTC |
275feea | Guido van Rossum | 24 November 1997, 17:50:47 UTC | New names... | 24 November 1997, 17:50:47 UTC |
00f1569 | Guido van Rossum | 24 November 1997, 17:50:09 UTC | Add fileinput. | 24 November 1997, 17:50:09 UTC |
e300d6f | Guido van Rossum | 24 November 1997, 17:49:45 UTC | Replace plat-os2 with plat-win, per Jeff Rush' suggestion. | 24 November 1997, 17:49:45 UTC |
37885c2 | Guido van Rossum | 24 November 1997, 17:49:13 UTC | Trivial change in prompt label suggested by Case Roole. | 24 November 1997, 17:49:13 UTC |
2d9feed | Guido van Rossum | 24 November 1997, 17:36:21 UTC | Change the option used on Linux to export all symbols from the main program to shared libraries. On mklinux, the old '-rdynamic' doesn't work; the new '-Xlinker -export-dynamic' works both there and on Intel Linux platforms. | 24 November 1997, 17:36:21 UTC |
465f71d | Guido van Rossum | 24 November 1997, 15:54:24 UTC | Done a sort -u on the symbols (and replaced all tabs with spaces). | 24 November 1997, 15:54:24 UTC |
e1cba7f | Guido van Rossum | 24 November 1997, 15:50:27 UTC | Oops, the sort took some whitespace into account. | 24 November 1997, 15:50:27 UTC |
060dffb | Guido van Rossum | 24 November 1997, 15:48:23 UTC | Done a sort -u on the symbols. | 24 November 1997, 15:48:23 UTC |
345df17 | Guido van Rossum | 22 November 1997, 22:10:01 UTC | os2 patch by Jeff Rush | 22 November 1997, 22:10:01 UTC |
7db30ca | Guido van Rossum | 22 November 1997, 22:05:00 UTC | ignore various VC++ turds | 22 November 1997, 22:05:00 UTC |
50d4cc2 | Guido van Rossum | 22 November 1997, 21:59:45 UTC | Files specific to Visual Age C for OS/2 -- by Jeff Rush | 22 November 1997, 21:59:45 UTC |
0ba48ba | Guido van Rossum | 22 November 1997, 21:58:14 UTC | Added Jeff Rush' comments | 22 November 1997, 21:58:14 UTC |
d3af2f3 | Guido van Rossum | 22 November 1997, 21:56:10 UTC | win -> plat-win | 22 November 1997, 21:56:10 UTC |
f5578e4 | Guido van Rossum | 22 November 1997, 21:55:18 UTC | Add PyImport_Inittab and PyOS_AfterFork | 22 November 1997, 21:55:18 UTC |
8e9ebfd | Guido van Rossum | 22 November 1997, 21:53:48 UTC | os2 patch by Jeff Rush | 22 November 1997, 21:53:48 UTC |
c0b9319 | Guido van Rossum | 22 November 1997, 21:49:56 UTC | bind_class should return a value | 22 November 1997, 21:49:56 UTC |
be7c45e | Guido van Rossum | 22 November 1997, 21:49:19 UTC | New address parser by Ben Escoto replaces Sjoerd Mullender's parseaddr() | 22 November 1997, 21:49:19 UTC |
e6c128f | Guido van Rossum | 22 November 1997, 21:48:26 UTC | Use fstat if we can; write MAGIC into file last. | 22 November 1997, 21:48:26 UTC |
8700fe6 | Guido van Rossum | 22 November 1997, 17:35:19 UTC | Redone the _tkinter configuration section with support for popular packages. | 22 November 1997, 17:35:19 UTC |
7a206c8 | Guido van Rossum | 22 November 1997, 17:34:41 UTC | New tkappinit supporting several popular packages. | 22 November 1997, 17:34:41 UTC |
7d5b99d | Guido van Rossum | 21 November 1997, 17:12:59 UTC | A new standard module, as discussed on comp.lang.python, to simplify 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. | 21 November 1997, 17:12:59 UTC |
2aa78ef | Guido van Rossum | 21 November 1997, 16:37:54 UTC | Add a pointer back to the wizard in the "compat" output. | 21 November 1997, 16:37:54 UTC |
0d2d759 | Barry Warsaw | 20 November 1997, 21:39:02 UTC | PySocketSock_methods: Added "connect_ex" so the method can actually be called! | 20 November 1997, 21:39:02 UTC |
4a9aff2 | Guido van Rossum | 20 November 1997, 21:15:28 UTC | A comparison with several other languages that also appears in the Handbook of Object Technology. | 20 November 1997, 21:15:28 UTC |
bc12f78 | Guido van Rossum | 20 November 1997, 21:04:27 UTC | Adding Martin von Loewis' documentation for his locale module. | 20 November 1997, 21:04:27 UTC |
e084f0b | Guido van Rossum | 20 November 1997, 21:03:33 UTC | Add description for some modules that have been added since this intro section was last revised... | 20 November 1997, 21:03:33 UTC |
3472026 | Guido van Rossum | 20 November 1997, 21:00:03 UTC | Add description for Queue; fix typo (whichdbm should be whichdb). | 20 November 1997, 21:00:03 UTC |
db847bd | Guido van Rossum | 20 November 1997, 20:35:45 UTC | Plug memory leak in Py_BuildValue when using {...} to construct dictionaries. | 20 November 1997, 20:35:45 UTC |
3d96d52 | Barry Warsaw | 20 November 1997, 19:56:38 UTC | (Queue.Empty): When class based exceptions are in force, derive this 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. | 20 November 1997, 19:56:38 UTC |
17c8e78 | Barry Warsaw | 20 November 1997, 19:54:16 UTC | libqueue.tex: Documentation for the Queue.py module. 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. | 20 November 1997, 19:54:16 UTC |
51bb7b7 | Guido van Rossum | 20 November 1997, 15:42:46 UTC | Dang. Formatting glitch. | 20 November 1997, 15:42:46 UTC |
f5831ae | Guido van Rossum | 20 November 1997, 15:42:18 UTC | New blurb, derived from my Handbook of Object Technology abstract. | 20 November 1997, 15:42:18 UTC |
4552f3d | Barry Warsaw | 20 November 1997, 00:15:13 UTC | In the description of sub(), give a better explanation of the interface when repl is a function. Also give a simple example of using a function repl. | 20 November 1997, 00:15:13 UTC |
bd1169a | Guido van Rossum | 19 November 1997, 19:02:09 UTC | Add Martin von Loewis as the author of this module. | 19 November 1997, 19:02:09 UTC |
eef1d4e | Guido van Rossum | 19 November 1997, 19:01:43 UTC | User-level locale module. A wrapper around _locale which adds 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. | 19 November 1997, 19:01:43 UTC |
3df69bc | Guido van Rossum | 19 November 1997, 18:57:48 UTC | Add support for _locale. | 19 November 1997, 18:57:48 UTC |
fc4255d | Guido van Rossum | 19 November 1997, 18:57:13 UTC | Add s.connect_ex() which returns errno instead of raising an exception. | 19 November 1997, 18:57:13 UTC |
aec7497 | Guido van Rossum | 19 November 1997, 18:56:17 UTC | Add optional support fort Tix and BLT. | 19 November 1997, 18:56:17 UTC |
2e58ff3 | Guido van Rossum | 19 November 1997, 18:53:33 UTC | Fix importing of shared libraries from inside packages. 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). | 19 November 1997, 18:53:33 UTC |
ee6fd1c | Guido van Rossum | 19 November 1997, 18:51:35 UTC | Add declaration for _Py_PackageContext -- needed to fix importing of shared libraries from inside packages. | 19 November 1997, 18:51:35 UTC |
858cb73 | Guido van Rossum | 19 November 1997, 16:15:37 UTC | Two changes (here we go again :-( ). 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. | 19 November 1997, 16:15:37 UTC |
df9db1e | Guido van Rossum | 19 November 1997, 16:05:40 UTC | Give more detailed error message when the argument count isn't right. | 19 November 1997, 16:05:40 UTC |
127b8dd | Guido van Rossum | 19 November 1997, 16:04:54 UTC | Add declaration for PyNumber_CoerceEx(). | 19 November 1997, 16:04:54 UTC |
242c642 | Guido van Rossum | 19 November 1997, 16:03:17 UTC | Add a new function PyNumber_CoerceEx() which works just like 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. | 19 November 1997, 16:03:17 UTC |
220ecc8 | Guido van Rossum | 18 November 1997, 21:03:39 UTC | Martin von Loewis' _locale module (locale.py follows tomorrow). | 18 November 1997, 21:03:39 UTC |
3931df9 | Guido van Rossum | 18 November 1997, 19:23:07 UTC | Undo another glitch of the automatic not-so-Grand Renaming; some local variables called 'coerce' were accidentally renamed to 'PyNumber_Coerce'. Rename them back to coercefunc. | 18 November 1997, 19:23:07 UTC |
33635f8 | Guido van Rossum | 18 November 1997, 19:21:47 UTC | start numbering things 1.5b1 now | 18 November 1997, 19:21:47 UTC |
8360005 | Guido van Rossum | 18 November 1997, 15:50:39 UTC | Assert that the proxies object passed in to the URLopener constructor is indeed a dictionary (or a mapping). | 18 November 1997, 15:50:39 UTC |
421c224 | Guido van Rossum | 18 November 1997, 15:47:55 UTC | Added docstrings (contributed by Martin von Loewis). | 18 November 1997, 15:47:55 UTC |
e4a93bc | Guido van Rossum | 18 November 1997, 15:32:15 UTC | Fix the release date for 1.5b1 to be Nov. 26 | 18 November 1997, 15:32:15 UTC |
d9a26ff | Guido van Rossum | 18 November 1997, 15:31:16 UTC | Add support for NULL macro (like UNIX, ABC etc.). | 18 November 1997, 15:31:16 UTC |
2974f0f | Guido van Rossum | 18 November 1997, 15:30:40 UTC | Add xmllib; remove (slow) from description of htmllib. | 18 November 1997, 15:30:40 UTC |
7336935 | Guido van Rossum | 18 November 1997, 15:30:13 UTC | dis is now documented; bisect is deemed useful. | 18 November 1997, 15:30:13 UTC |
f7790c6 | Guido van Rossum | 18 November 1997, 15:29:20 UTC | Document s.connect_ex(), which does not raise an exception on error. | 18 November 1997, 15:29:20 UTC |
364e643 | Guido van Rossum | 18 November 1997, 15:28:46 UTC | Clarified reference to old profiler. Mention conversion to Perl-style regular expressions. | 18 November 1997, 15:28:46 UTC |
5de6488 | Guido van Rossum | 18 November 1997, 15:27:51 UTC | Added doc for errorcode dictionary. | 18 November 1997, 15:27:51 UTC |
5d68e8e | Guido van Rossum | 18 November 1997, 15:27:20 UTC | Fixed case sensitivity of attributes (they are case *sensitive*). | 18 November 1997, 15:27:20 UTC |
eae121e | Guido van Rossum | 18 November 1997, 15:11:47 UTC | Adding dis and xmllib docs | 18 November 1997, 15:11:47 UTC |
a10768a | Guido van Rossum | 18 November 1997, 15:11:22 UTC | Docu for xmllib.py, by Sjoerd Mullender. | 18 November 1997, 15:11:22 UTC |
b62b6d1 | Guido van Rossum | 18 November 1997, 15:10:53 UTC | Docu for dis.py, written by Martin von Loewis. | 18 November 1997, 15:10:53 UTC |
a219efa | Guido van Rossum | 18 November 1997, 15:09:54 UTC | Sjoerd Mullender's xml parser (based on sgmllib, somewhat). | 18 November 1997, 15:09:54 UTC |
46de1b0 | Guido van Rossum | 14 November 1997, 23:32:19 UTC | This BUGS list hasn't been updated since the release of Python 1.2! It is useless. My real bugs database is currently being maintained with GNATS. | 14 November 1997, 23:32:19 UTC |
359bcaa | Guido van Rossum | 14 November 1997, 22:24:28 UTC | This fix (across 4 files in 3 directories) solves a subtle problem with 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. | 14 November 1997, 22:24:28 UTC |
c9fd600 | Guido van Rossum | 11 November 1997, 18:29:22 UTC | Suggestion by David Ascher: set EXE macro to empty string and use it 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.) | 11 November 1997, 18:29:22 UTC |
6592b3c | Guido van Rossum | 11 November 1997, 17:18:48 UTC | Use a %s format for the exit status -- through the magical workings of the aptly named MagicDict class, the value is a string, not a number, by the time it is printed... | 11 November 1997, 17:18:48 UTC |
ca2f69c | Guido van Rossum | 11 November 1997, 17:17:55 UTC | As Mark Hammond found out, it was a bad idea to add "set -e" to the check in command -- this fails for new files! | 11 November 1997, 17:17:55 UTC |
6f5a312 | Guido van Rossum | 11 November 1997, 16:36:14 UTC | New version from Neale... He promised it's the last. | 11 November 1997, 16:36:14 UTC |
dfed725 | Guido van Rossum | 11 November 1997, 16:29:38 UTC | Fix memory leak in exec statement with code object -- the None returned by PyEval_EvalCode() on success was never DECREF'ed. Fix by Bernhard Herzog. | 11 November 1997, 16:29:38 UTC |
3120bc3 | Guido van Rossum | 08 November 1997, 07:16:19 UTC | v1.1; added attribution to Neale Pickett. | 08 November 1997, 07:16:19 UTC |
368e06b | Guido van Rossum | 07 November 1997, 20:38:49 UTC | Some restructuring. All geometry manager methods that apply to a master widget instead of to a slave widget have been moved to the Misc class, which is inherited by all of Tk(), Toplevel() and Widget(). They have been renamed to have their geometry manager name as a prefix, e.g. pack_propagate(); the short names can still be used where ambiguities are resolved so that pack has priority over place has priority over grid (since this was the old rule). Also, the method definitions in the Pack, Place and Grid classes now all have their respective geometry manager name as a prefix (e.g. pack_configure); the shorter names are aliases defined through assignment. A similar renaming has been done for all config() methods found elsewhere; these have been renamed to configure() with config being the alias (instead of the other way around). (This may not make much of a difference but the official Tk command name is now 'configure' and it may help in debugging tracebacks.) Finally, a new base class BaseWidget has been introduced, which implements the methods common between Widget and Toplevel (the difference between those two classes is that Toplevel has a different __init__() but also that Toplevel doesn't inherit from Pack, Place or Grid. | 07 November 1997, 20:38:49 UTC |
1abbd7f | Guido van Rossum | 07 November 1997, 19:58:10 UTC | Added vgrindefs. | 07 November 1997, 19:58:10 UTC |
93a47d7 | Guido van Rossum | 07 November 1997, 19:57:54 UTC | Plucked this from the net. | 07 November 1997, 19:57:54 UTC |
f518154 | Guido van Rossum | 07 November 1997, 19:20:34 UTC | Fix problem discovered by Barry: if you hit ^C to sys.stdin.readline(), you get a fatal error (no current thread). This is because there was a call to PyErr_CheckSignals() while there was no current thread. I wonder how many more of these we find... I bnetter go hunting for PyErr_CheckSignals() now... | 07 November 1997, 19:20:34 UTC |
c1189eb | Guido van Rossum | 06 November 1997, 15:45:05 UTC | Separate out a function pystones(loops=LOOPS) which runs the benchmark and returns a (benchtime, stones) tuple. The main() function now calls this and prints the report. Fred Drake's code. | 06 November 1997, 15:45:05 UTC |
f849291 | Guido van Rossum | 06 November 1997, 15:41:23 UTC | Add __init__.py to test package. | 06 November 1997, 15:41:23 UTC |
6ae21ad | Barry Warsaw | 06 November 1997, 14:36:49 UTC | #(py-emacs-features): Fixed typo in docstring. | 06 November 1997, 14:36:49 UTC |
b8f1166 | Barry Warsaw | 06 November 1997, 14:35:15 UTC | (python-font-lock-keywords): Pick up block introducing keywords with immediately following colons. Sjoerd noticed this one too. Here's a nonsense.py file that flexes all the font-lock keyword combinations. class A: class B(A): pass def __init__(self): if i == 2 and j == 3 or k == 4: import stuff from otherstuff import cool for i in range(cool.count): if i == j: break elif j == 1: continue print i else: return not i elif q is not i: return lambda x: x + 1 else: try: try: raise stuff.error except stuff.error, v: print v except: global q finally: while q > 0: q = q - 1 assert q == 0 def make(): a = A() exec "nonsense" del a | 06 November 1997, 14:35:15 UTC |
ef3c891 | Barry Warsaw | 05 November 1997, 18:55:50 UTC | (python-font-lock-keywords): Fix for consecutive keyword font locking, given by Sjoerd Mullender <Sjoerd.Mullender@cwi.nl>. | 05 November 1997, 18:55:50 UTC |
5e21cb0 | Barry Warsaw | 05 November 1997, 18:41:11 UTC | (py-emacs-features): Test for working make-temp-name, which is broken on NTEmacs 19.34.6. (py-serial-number): New variable. (py-execute-region): If make-temp-name is broken, simply append a serial number to the string "python-" to get a temporary file name. It's possible concurrent NTEmacs can step on each others toes, but it makes no sense to further coddle a busted NTEmacs. | 05 November 1997, 18:41:11 UTC |
2bd358c | Guido van Rossum | 05 November 1997, 17:15:02 UTC | A nice blurb that Mark Hammond wrote, aimed at Windows users. | 05 November 1997, 17:15:02 UTC |
a9ce70f | Barry Warsaw | 05 November 1997, 16:56:51 UTC | (py-execute-region): Fixed small bug with queuing file for execution in a py-shell. Temp files now get cleaned up. | 05 November 1997, 16:56:51 UTC |
2518c67 | Barry Warsaw | 05 November 1997, 00:51:08 UTC | (mark-python-def-or-class): Renamed to py-mark-def-or-class globally. (py-mode-map): Moved py-mark-def-or-class from M-C-h to C-c C-m since the old binding conflicts with the standard global backward-kill-word binding, and this new binding is more conformant with other language modes. Moved py-mark-block to C-c C-k. | 05 November 1997, 00:51:08 UTC |
851e7d5 | Guido van Rossum | 04 November 1997, 20:22:24 UTC | Got rid of the errorstr dictionary, which is redundant now that there's os.strerror() -- also, it would form a locale liability. | 04 November 1997, 20:22:24 UTC |
4a1f39a | Guido van Rossum | 04 November 1997, 19:36:18 UTC | Undo half of the previous change :-( Setting interp->builtins to the __builtin__ module instead of to its dictionary had the unfortunate side effect of always running in restricted execution mode :-( I will check in a different way of setting __main__.__builtins__ to the __builtin__ module later. Also, there was a typo -- a comment was unfinished, and as a result some finalizations were not being executed. In Bart Simpson style, I Will Not Check In Untested Changes. I Will Not Check In Untested Changes. I Will Not Check In Untested Changes. I Will Not Check In Untested Changes. I Will Not Check In Untested Changes. I Will Not Check In Untested Changes. I Will Not Check In Untested Changes. I Will Not Check In Untested Changes. I Will Not Check In Untested Changes. I Will Not Check In Untested Changes. | 04 November 1997, 19:36:18 UTC |
6d48c4a | Barry Warsaw | 04 November 1997, 19:21:50 UTC | (py-backspace-function): New variable. (py-electric-backspace, py-electric-delete): Support the XEmacs 20 Way for backspace and delete mappings. In XEmacs 19, Emacs 19, and Emacs 20, both backspace and delete keysyms are bound to py-electric-backspace. In XEmacs 20, backspace and delete keysyms are bound separately, allowing the user to specify forward or backward deletion of the delete keysym through the variable delete-key-deletes-forward. All this is the Right Way To Do It and this implementation was largely ripped from CC Mode. | 04 November 1997, 19:21:50 UTC |
a97a3f3 | Barry Warsaw | 04 November 1997, 18:47:06 UTC | First round of changes, mostly subprocess stuff. (py-execute-file): Better interaction with comint. Set comint-scroll-to-bottom-on-output to t. Wrapper buffer change in unwind-protect in case process filter fails. (py-shell): Start Python with -i flag to fix tty problem on Windows; presumably -- not yet tested. (py-clear-queue): New function to clear the pending exec file queue. Not currently keybound. (py-execute-region, py-execute-buffer): Added optional async flag (use via C-u prefix) to execute the region in a new asynchrous buffer, even if the Python shell is running. (py-append-to-process-buffer): Removed as obsolete. Comint provides this functionality. Removed fbound test defun of match-string. All modern X/Emacsen have this function. | 04 November 1997, 18:47:06 UTC |
bfa9f13 | Guido van Rossum | 04 November 1997, 18:40:53 UTC | islink() returns false, but there is no constant false! Return 0 instead. | 04 November 1997, 18:40:53 UTC |
79b2038 | Guido van Rossum | 04 November 1997, 17:35:43 UTC | When checking for equality, open the slave file in text mode so it will compare equal even if the master file uses only \n to terminate lines (this is by far the most common situation). Also, check for the case where the master file is missing, and print the time difference in seconds when the slave file appears newer than the master (for debugging). | 04 November 1997, 17:35:43 UTC |
19f4456 | Guido van Rossum | 04 November 1997, 17:32:59 UTC | Use ``0'' instead of ``None'' to reset the underlying object in close methods. Using None causes problems if the destructor is called after the __builtin__ module has already been destroyed (unfortunately, this can happen!). I can't just delete the object because it is actually tested for (if self._sock: ...). Setting it to 0 is a bit weird but works. | 04 November 1997, 17:32:59 UTC |
8f3c812 | Guido van Rossum | 04 November 1997, 17:12:33 UTC | Fix due to Bill Noon for problem discovered by Ken Manheimer: packing 0.0 as float or double would yield the representation for 1.0! | 04 November 1997, 17:12:33 UTC |
25c649f | Guido van Rossum | 04 November 1997, 17:04:34 UTC | Get rid of another reference to _PyImport_Inittab (now a static array) that should be PyImport_Inittab (a new pointer initialized to point to the array). | 04 November 1997, 17:04:34 UTC |
22348dc | Guido van Rossum | 03 November 1997, 22:08:36 UTC | The warning about thread still having a frame now only happens in verbose mode. | 03 November 1997, 22:08:36 UTC |
8607ae2 | Guido van Rossum | 03 November 1997, 22:04:46 UTC | Move the Py_{{BEGIN,END}_ALLOW,BLOCK}_THREADS macros in time_sleep() to inside floatsleep(). This is necessary because floatsleep() does the error handling and it must have grabbed the interpreter lock and thread state before it can do so. | 03 November 1997, 22:04:46 UTC |