2c69336 | Guido van Rossum | 01 October 1998, 16:02:31 UTC | On second though, NEXITFUNCS should be defined in pythonrun.c and not here; pystate.h doesn't use it (I thought I wanted to move the array there but that won't work). | 01 October 1998, 16:02:31 UTC |
2dcfc96 | Guido van Rossum | 01 October 1998, 16:01:57 UTC | On second though, NEXITFUNCS should be defined here and not in pystate.h; pystate.h doesn't use it (I thought I wanted to move the array there but that won't work). | 01 October 1998, 16:01:57 UTC |
07d7800 | Guido van Rossum | 01 October 1998, 15:59:48 UTC | Typo reported by Greg Stein: "modifiable" is the correct spelling. | 01 October 1998, 15:59:48 UTC |
4cbe387 | Barry Warsaw | 01 October 1998, 15:54:48 UTC | NSEW is also valid for -sticky | 01 October 1998, 15:54:48 UTC |
b2031f7 | Barry Warsaw | 01 October 1998, 15:35:43 UTC | Document that apply() can now take any sequence in argument 2. | 01 October 1998, 15:35:43 UTC |
968f8cb | Barry Warsaw | 01 October 1998, 15:33:12 UTC | builtin_apply(): Second argument type check is relaxed to allow any sequence. | 01 October 1998, 15:33:12 UTC |
566373e | Guido van Rossum | 01 October 1998, 15:24:50 UTC | While scalling sys.modules, skip entries that don't have string keys, to protect us from jokers who put items with non-string keys in sys.modules. Reported by Greg Stein. | 01 October 1998, 15:24:50 UTC |
231c8c0 | Barry Warsaw | 01 October 1998, 14:26:57 UTC | Gridify this widget | 01 October 1998, 14:26:57 UTC |
b26743a | Barry Warsaw | 01 October 1998, 14:26:26 UTC | Make sure the menubar is stretched | 01 October 1998, 14:26:26 UTC |
65f0b6b | Barry Warsaw | 01 October 1998, 14:26:04 UTC | Add a nice divider | 01 October 1998, 14:26:04 UTC |
9190046 | Barry Warsaw | 01 October 1998, 13:49:37 UTC | Added NS and EW constants, which are meaningful values for grid's -sticky option. | 01 October 1998, 13:49:37 UTC |
85e6965 | Barry Warsaw | 01 October 1998, 13:41:05 UTC | Fixed toggle b/w hex and decimal | 01 October 1998, 13:41:05 UTC |
d344165 | Barry Warsaw | 01 October 1998, 03:08:07 UTC | Added options to visible window | 01 October 1998, 03:08:07 UTC |
aa40b55 | Barry Warsaw | 01 October 1998, 03:07:20 UTC | Groove for debugging | 01 October 1998, 03:07:20 UTC |
03e8a31 | Barry Warsaw | 01 October 1998, 03:06:04 UTC | Get rid of Edit menu | 01 October 1998, 03:06:04 UTC |
0fa6e4b | Barry Warsaw | 01 October 1998, 02:57:05 UTC | Added options to visible window | 01 October 1998, 02:57:05 UTC |
65f15d4 | Guido van Rossum | 30 September 1998, 14:34:52 UTC | In FreeBSD when using ELF, an underscore is needed in front of the function name. (Vladimir Kushnir by way of Thomas Gellekum.) | 30 September 1998, 14:34:52 UTC |
e504fa2 | Jack Jansen | 30 September 1998, 09:11:51 UTC | Disable python event handling in mainloop (discovered by Tasselli Marco) | 30 September 1998, 09:11:51 UTC |
fda3ace | Barry Warsaw | 29 September 1998, 20:04:19 UTC | Added interface to get/set colordb | 29 September 1998, 20:04:19 UTC |
a9b4558 | Barry Warsaw | 29 September 1998, 20:03:53 UTC | Removed old cruft, added raw about dialog | 29 September 1998, 20:03:53 UTC |
7a13418 | Barry Warsaw | 29 September 1998, 20:03:15 UTC | Changed interface for nearest() method to take individual red, green, blue values instead of tuple | 29 September 1998, 20:03:15 UTC |
4202019 | Barry Warsaw | 29 September 1998, 20:02:27 UTC | Got updating with Return/Tab working | 29 September 1998, 20:02:27 UTC |
885b371 | Barry Warsaw | 29 September 1998, 19:51:18 UTC | Un PMW-ified | 29 September 1998, 19:51:18 UTC |
d7d4725 | Barry Warsaw | 29 September 1998, 17:36:43 UTC | Added an extra frame in widget heirarchy in case I want to add separators later | 29 September 1998, 17:36:43 UTC |
f984a65 | Guido van Rossum | 29 September 1998, 15:57:42 UTC | Fix suggested by Sjoerd (long ago!) to get a better error message when there's a syntax error. (In particular, display the correct filename). This changes the API: if there's a syntax error, the function now returns normally after dumping the error to sys.stderr. I changed Sjoerd's use of string.join(string.split(...)) with string.replace(). | 29 September 1998, 15:57:42 UTC |
dc492e6 | Barry Warsaw | 29 September 1998, 15:44:20 UTC | Un PMW-ified | 29 September 1998, 15:44:20 UTC |
63c9e98 | Barry Warsaw | 28 September 1998, 23:41:53 UTC | Rework startup | 28 September 1998, 23:41:53 UTC |
1ac18cd | Barry Warsaw | 28 September 1998, 23:41:12 UTC | simplify | 28 September 1998, 23:41:12 UTC |
0e3e699 | Barry Warsaw | 28 September 1998, 23:39:18 UTC | triplet_to_brightness(): New function | 28 September 1998, 23:39:18 UTC |
a69c1ba | Barry Warsaw | 28 September 1998, 23:38:44 UTC | De PMW-ify | 28 September 1998, 23:38:44 UTC |
26f4b5d | Barry Warsaw | 28 September 1998, 22:52:02 UTC | Fixed the brightness calculation | 28 September 1998, 22:52:02 UTC |
0dc9c92 | Barry Warsaw | 28 September 1998, 22:42:44 UTC | Updated to new post-PMW framework. Moved generators to here and added the StripViewer class. | 28 September 1998, 22:42:44 UTC |
93d2754 | Guido van Rossum | 28 September 1998, 22:15:37 UTC | Remove redundant definition of NEXITFUNCS. (Reported by Jeff Rush.) | 28 September 1998, 22:15:37 UTC |
2645241 | Guido van Rossum | 28 September 1998, 22:07:11 UTC | Fixes for OS/2 by Jeff Rush. | 28 September 1998, 22:07:11 UTC |
03dc538 | Guido van Rossum | 28 September 1998, 22:05:22 UTC | Move the #include of <sys/select> to *after* mytime.h (or <time.h>), as this is the logical order of dependencies. Suggested by Jeff Rush. | 28 September 1998, 22:05:22 UTC |
e8afe51 | Guido van Rossum | 28 September 1998, 22:02:40 UTC | New set of files for the OS/2 port by Jeff Rush. | 28 September 1998, 22:02:40 UTC |
be70450 | Guido van Rossum | 28 September 1998, 21:55:25 UTC | Removed some OS/2 #defines (now in the OS/2 specific config.h). Patch by Jeff Rush. | 28 September 1998, 21:55:25 UTC |
5177c48 | Barry Warsaw | 28 September 1998, 21:01:55 UTC | formatting | 28 September 1998, 21:01:55 UTC |
6a3ea74 | Barry Warsaw | 28 September 1998, 20:58:06 UTC | Un PMW-ified | 28 September 1998, 20:58:06 UTC |
04c7886 | Barry Warsaw | 28 September 1998, 16:28:04 UTC | Un PMW-ified | 28 September 1998, 16:28:04 UTC |
987fb92 | Barry Warsaw | 28 September 1998, 15:59:21 UTC | Initial revision | 28 September 1998, 15:59:21 UTC |
26367a0 | Guido van Rossum | 28 September 1998, 15:34:46 UTC | New version from Piers Lauder, who writes: Added a debug function to replace 'print' statements. Ensured that response attached to 'NO' replies is passed back. added readonly exception. Rearranged method order into types. Ensure select returns a meaningful error on 'NO'. 'NO' returns from authenticate and login raise error with last message, not list. | 28 September 1998, 15:34:46 UTC |
75bb54c | Guido van Rossum | 28 September 1998, 15:33:38 UTC | Don't set a local variable named __args__; this feature no longer works and Greg Ward just reported a problem it caused... | 28 September 1998, 15:33:38 UTC |
9814a94 | Guido van Rossum | 28 September 1998, 14:28:38 UTC | Add warning that on Windows it only works on sockets. | 28 September 1998, 14:28:38 UTC |
954b9ad | Guido van Rossum | 28 September 1998, 14:08:29 UTC | Document new urllib features by Eric Raymond. | 28 September 1998, 14:08:29 UTC |
9ab96d4 | Guido van Rossum | 28 September 1998, 14:07:00 UTC | Changes by Eric Raymond: 1. Generate a correct Content-Length header visible through the info() method if a request to open an FTP URL gets a length in the response to RETR. 2. Take a third argument to urlretrieve() that makes it possible to progress- meter an urlretrieve call (this is what I needed the above change for). See the second patch band below for details. 3. To avoid spurious errors, I commented out the gopher test. The target document no longer exists. | 28 September 1998, 14:07:00 UTC |
d5af7bd | Jack Jansen | 28 September 1998, 10:37:08 UTC | Truncate messages if they are longer than 255 characters. Note that this is not really a good solution for default input strings... | 28 September 1998, 10:37:08 UTC |
a5a018f | Barry Warsaw | 25 September 1998, 22:51:36 UTC | Fixed unit test | 25 September 1998, 22:51:36 UTC |
9195f55 | Barry Warsaw | 25 September 1998, 22:43:21 UTC | Updated the docstring and class hierarchy diagram | 25 September 1998, 22:43:21 UTC |
4f94c73 | Barry Warsaw | 25 September 1998, 19:40:10 UTC | (py-comint-output-filter-function): Horrible kludgearound for making the de-queing of exec files work for NT XEmacs 21.0. | 25 September 1998, 19:40:10 UTC |
67906af | Guido van Rossum | 25 September 1998, 14:11:46 UTC | In PyFrame_New(), don't set extras to something derived from code before code has been checked for validity. Discovered by Vladimir Marangozov. | 25 September 1998, 14:11:46 UTC |
d35c255 | Barry Warsaw | 25 September 1998, 00:08:38 UTC | (py-guess-indent-offset): Only print message about py-indent-offset when in an interactive session (suggested by B. Wiener). | 25 September 1998, 00:08:38 UTC |
02e5f69 | Barry Warsaw | 24 September 1998, 23:48:40 UTC | (py-execute-file, py-execute-import-or-reload): Use a Python `raw' string in the argument to execfile() so a Windows temp directory named, e.g. c:\\tmp doesn't get interpreted as a file name with an embedded tab! (given by C. Waldman). | 24 September 1998, 23:48:40 UTC |
f7d7700 | Guido van Rossum | 24 September 1998, 18:09:47 UTC | Add two constants (with the same value) to specify the on-board CD input. | 24 September 1998, 18:09:47 UTC |
f4cbb9c | Fred Drake | 23 September 1998, 17:37:14 UTC | Added realclean and distclean targets to match ../Makefile. | 23 September 1998, 17:37:14 UTC |
4da55f0 | Guido van Rossum | 23 September 1998, 13:35:45 UTC | Add define of HAVE_STDDEF_H (to 1). Suggested by Greg Stein. | 23 September 1998, 13:35:45 UTC |
5227f0f | Guido van Rossum | 22 September 1998, 20:38:53 UTC | Reworked it quite a bit. There are now two classes: a base class, InteractiveInterpreter, which handles parsing and interpreter state but doesn't know deal with buffering or prompting or input file naming. And a derived class, InteractiveConsole, which adds buffering and prompting and supports setting the filename once. Also tweak the algorithm in compile_command() a bit so that input consisting of all blank lines or comments always succeeds immediately, and note the fact that apart from SyntaxError it can also raise OverflowError. | 22 September 1998, 20:38:53 UTC |
218eb75 | Barry Warsaw | 22 September 1998, 19:51:47 UTC | (py-block-comment-prefix): Remove trailing space. Also explain that this string should not end with whitespace. (py-compute-indentation): Append whitespace regexp to py-block-comment-prefix so that any combination of intervening whitespace will be recognized. | 22 September 1998, 19:51:47 UTC |
0238a25 | Guido van Rossum | 22 September 1998, 02:38:42 UTC | Do the check for lacking sys.stdin.fileno() *before* testing for Windows. If sys.stdin doesn't appear to be a real file (characterized by having a working fileno()), don't use any console specific methods -- go straight to the default. | 22 September 1998, 02:38:42 UTC |
ef0056a | Guido van Rossum | 21 September 1998, 20:00:35 UTC | When sys.stdin.fileno() doesn't work, fall back to default_getpass() -- don't just die. | 21 September 1998, 20:00:35 UTC |
5fb2631 | Guido van Rossum | 21 September 1998, 19:26:16 UTC | Explicitly document the fact that the search method returns a MatchObject. (Reported by Gary Herron.) | 21 September 1998, 19:26:16 UTC |
4ecd85a | Guido van Rossum | 21 September 1998, 17:40:47 UTC | After the previous changes, func_normalize() turned out to be redundant. This simplified some other places in the code. | 21 September 1998, 17:40:47 UTC |
b0a94c0 | Guido van Rossum | 21 September 1998, 16:52:44 UTC | Changes so that JPython can also use this version of profile.py. Suggested by Jim Hugunin. | 21 September 1998, 16:52:44 UTC |
f07029e | Guido van Rossum | 21 September 1998, 14:53:26 UTC | Get rid of the classes RModuleLoader and RModuleImporter -- these were only there to override reload() in a way that doesn't make a whole lot of sense and moreover broke since the latest changes in ihooks. | 21 September 1998, 14:53:26 UTC |
e3f8a64 | Guido van Rossum | 21 September 1998, 14:52:22 UTC | Comment out 't = t[0] + t[1]' in profiler_simulation() -- this function is only used when running the calibration code, and it turns out that recent changes in the timing code caused this statement to raise an exception. | 21 September 1998, 14:52:22 UTC |
4690678 | Guido van Rossum | 21 September 1998, 14:47:16 UTC | Get rid of the test for non-NULL thread state in EventHook; it can be triggered in situations that are not an error. | 21 September 1998, 14:47:16 UTC |
1b23676 | Guido van Rossum | 21 September 1998, 14:46:00 UTC | When we have siginterrupt(), use it to disable restarting interrupted system calls. | 21 September 1998, 14:46:00 UTC |
0db4c94 | Guido van Rossum | 21 September 1998, 14:45:22 UTC | Enable the 'new' module by default. | 21 September 1998, 14:45:22 UTC |
6ac06b3 | Guido van Rossum | 21 September 1998, 14:44:34 UTC | Patch by Greg Stein to document the 'P' flag. | 21 September 1998, 14:44:34 UTC |
10a7985 | Fred Drake | 18 September 1998, 17:11:49 UTC | re.findall(): Mark as added in 1.5.2. | 18 September 1998, 17:11:49 UTC |
78694d9 | Guido van Rossum | 18 September 1998, 14:14:13 UTC | Patches from Greg Stein to support 'P' format in struct module's native format, as void* (translated to Python int or long). Also adds PyLong_FromVoidPtr and PyLong_AsVoidPtr to longobject.c. | 18 September 1998, 14:14:13 UTC |
43b655c | Guido van Rossum | 17 September 1998, 17:07:15 UTC | Get rid of 'ppp' that accidentally crept in. | 17 September 1998, 17:07:15 UTC |
91b5bed | Jack Jansen | 17 September 1998, 15:28:58 UTC | Added optional mouseregion parameter to WaitNextEvent (which is now manually generated). | 17 September 1998, 15:28:58 UTC |
6442116 | Guido van Rossum | 17 September 1998, 15:11:51 UTC | Richard Wolff's changes, documenting his changes to pdb.py. | 17 September 1998, 15:11:51 UTC |
fc076d4 | Guido van Rossum | 17 September 1998, 15:01:38 UTC | Untabified and applied Richard Wolff's changes (plus my own reflowing of some paragraphs). | 17 September 1998, 15:01:38 UTC |
3a98e78 | Guido van Rossum | 17 September 1998, 15:00:30 UTC | Richard Wolff's additional changes; some layout nits, and change the alias delimiter to ';;'. | 17 September 1998, 15:00:30 UTC |
1d2e9d1 | Guido van Rossum | 17 September 1998, 14:00:22 UTC | Duplicate the decls for PySys_WriteStd{out,err} here so the VC++ compiler doesn't grumble. Greg Stein's suggestion. | 17 September 1998, 14:00:22 UTC |
e0bdf99 | Guido van Rossum | 17 September 1998, 13:58:37 UTC | At Greg Stein's request, add PyLong_*LongLong entry points. | 17 September 1998, 13:58:37 UTC |
b00d252 | Guido van Rossum | 17 September 1998, 13:19:36 UTC | Define SIZEOF_LONG_LONG (as 8) at Greg Stein's request. | 17 September 1998, 13:19:36 UTC |
743d17e | Guido van Rossum | 15 September 1998, 20:25:57 UTC | In load_inst(), when instantiating an instance the old way (i.e. when there's an __getinitargs__() method), if a TypeError occurs, catch and reraise it but add info to the error about the class name being instantiated. This makes debugging a lot easier if __getinitargs__() returns something bogus (e.g. a string instead of a singleton tuple). | 15 September 1998, 20:25:57 UTC |
0c92000 | Guido van Rossum | 14 September 1998, 19:06:39 UTC | Ignore the TclError exception raised when deleting the registration for callit, used by the after() command. This can happen when the callback deletes the window. | 14 September 1998, 19:06:39 UTC |
98b6246 | Barry Warsaw | 14 September 1998, 18:51:11 UTC | Several changes that Python carry on in the face of errors in the initialization of class exceptions. Specifically: init_class_exc(): This function now returns an integer status of the class exception initialization. No fatal errors in this method now. Also, use PySys_WriteStderr() when writing error messages. When an error occurs in this function, 0 is returned, but the partial creation of the exception classes is not undone (this happens elsewhere). Things that could trigger the fallback: - exceptions.py fails to be imported (due to syntax error, etc.) - one of the exception classes is missing (e.g. due to library version mismatch) - exception class can't be inserted into __builtin__'s dictionary - MemoryError instance can't be pre-allocated - some other PyErr_Occurred newstdexception(): Changed the error message. This is still a fatal error because if the string based exceptions can't be created, we really can't continue. initerrors(): Be sure to xdecref the .exc field, which might be non-NULL if class exceptions init was aborted. _PyBuiltin_Init_2(): If class exception init fails, print a warning message and reinstate the string based exceptions. | 14 September 1998, 18:51:11 UTC |
d24d3fc | Guido van Rossum | 14 September 1998, 17:52:29 UTC | Added the mainloop() call. | 14 September 1998, 17:52:29 UTC |
5fae9e8 | Guido van Rossum | 14 September 1998, 17:51:14 UTC | nannified | 14 September 1998, 17:51:14 UTC |
8d5bef7 | Guido van Rossum | 14 September 1998, 17:36:51 UTC | There was a confusion in my checkin of the code to support list() with and without a message number argument: the argument was called 'msg' but the code expected it to be called 'which'. In line with the other methods, I've renamed the argument to 'which', and adapted the doc string not to refer to 'msg'. | 14 September 1998, 17:36:51 UTC |
4117e54 | Guido van Rossum | 14 September 1998, 16:44:15 UTC | nannified | 14 September 1998, 16:44:15 UTC |
f9a6d7d | Guido van Rossum | 14 September 1998, 16:22:21 UTC | Print serious errors to stderr instead of stdout. | 14 September 1998, 16:22:21 UTC |
bc3760b | Barry Warsaw | 14 September 1998, 16:16:18 UTC | #Code rearranging to quiet byte-compiler | 14 September 1998, 16:16:18 UTC |
caf9fca | Guido van Rossum | 14 September 1998, 16:03:02 UTC | nannified | 14 September 1998, 16:03:02 UTC |
e7e632a | Guido van Rossum | 14 September 1998, 16:02:28 UTC | Nannified. | 14 September 1998, 16:02:28 UTC |
a53f30b | Guido van Rossum | 14 September 1998, 15:57:09 UTC | nannified | 14 September 1998, 15:57:09 UTC |
4e96ec6 | Guido van Rossum | 14 September 1998, 15:56:40 UTC | nannified. | 14 September 1998, 15:56:40 UTC |
7944ea5 | Guido van Rossum | 14 September 1998, 15:50:40 UTC | Patch by Marc-Andre Lemburg: use re module to compare test results. This makes it possible to accept that on Linux %w returns "01" instead of "1", for example. | 14 September 1998, 15:50:40 UTC |
09eea82 | Guido van Rossum | 14 September 1998, 15:46:41 UTC | Utility to replace CRLF with LF in argument files. | 14 September 1998, 15:46:41 UTC |
499a6e5 | Guido van Rossum | 14 September 1998, 15:46:15 UTC | Utility to replace LF with CRLF in argument files. | 14 September 1998, 15:46:15 UTC |
ce85827 | Guido van Rossum | 14 September 1998, 15:43:38 UTC | Utility to untabify stubber results. | 14 September 1998, 15:43:38 UTC |
dcd038f | Guido van Rossum | 14 September 1998, 15:34:45 UTC | nannified. | 14 September 1998, 15:34:45 UTC |
a0f0a33 | Guido van Rossum | 14 September 1998, 13:40:53 UTC | Mac-specific mod to enable aliases on import paths. (Jack Jansen and/or Just van Rossum) | 14 September 1998, 13:40:53 UTC |
ce11393 | Guido van Rossum | 13 September 1998, 15:52:13 UTC | Remove some unused variables from gethostbyaddr_ex and gethostbyaddr, discovered by Marc Lemburg. | 13 September 1998, 15:52:13 UTC |
065ce5a | Guido van Rossum | 13 September 1998, 15:37:20 UTC | Undo victim of careless global substitute ("long long_hash" was changed to "LONG_LONG_hash" in the list of forward decls). Discovered by Jason Harper. | 13 September 1998, 15:37:20 UTC |