Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
2c69336 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 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 Typo reported by Greg Stein: "modifiable" is the correct spelling. 01 October 1998, 15:59:48 UTC
4cbe387 NSEW is also valid for -sticky 01 October 1998, 15:54:48 UTC
b2031f7 Document that apply() can now take any sequence in argument 2. 01 October 1998, 15:35:43 UTC
968f8cb builtin_apply(): Second argument type check is relaxed to allow any sequence. 01 October 1998, 15:33:12 UTC
566373e 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 Gridify this widget 01 October 1998, 14:26:57 UTC
b26743a Make sure the menubar is stretched 01 October 1998, 14:26:26 UTC
65f0b6b Add a nice divider 01 October 1998, 14:26:04 UTC
9190046 Added NS and EW constants, which are meaningful values for grid's -sticky option. 01 October 1998, 13:49:37 UTC
85e6965 Fixed toggle b/w hex and decimal 01 October 1998, 13:41:05 UTC
d344165 Added options to visible window 01 October 1998, 03:08:07 UTC
aa40b55 Groove for debugging 01 October 1998, 03:07:20 UTC
03e8a31 Get rid of Edit menu 01 October 1998, 03:06:04 UTC
0fa6e4b Added options to visible window 01 October 1998, 02:57:05 UTC
65f15d4 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 Disable python event handling in mainloop (discovered by Tasselli Marco) 30 September 1998, 09:11:51 UTC
fda3ace Added interface to get/set colordb 29 September 1998, 20:04:19 UTC
a9b4558 Removed old cruft, added raw about dialog 29 September 1998, 20:03:53 UTC
7a13418 Changed interface for nearest() method to take individual red, green, blue values instead of tuple 29 September 1998, 20:03:15 UTC
4202019 Got updating with Return/Tab working 29 September 1998, 20:02:27 UTC
885b371 Un PMW-ified 29 September 1998, 19:51:18 UTC
d7d4725 Added an extra frame in widget heirarchy in case I want to add separators later 29 September 1998, 17:36:43 UTC
f984a65 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 Un PMW-ified 29 September 1998, 15:44:20 UTC
63c9e98 Rework startup 28 September 1998, 23:41:53 UTC
1ac18cd simplify 28 September 1998, 23:41:12 UTC
0e3e699 triplet_to_brightness(): New function 28 September 1998, 23:39:18 UTC
a69c1ba De PMW-ify 28 September 1998, 23:38:44 UTC
26f4b5d Fixed the brightness calculation 28 September 1998, 22:52:02 UTC
0dc9c92 Updated to new post-PMW framework. Moved generators to here and added the StripViewer class. 28 September 1998, 22:42:44 UTC
93d2754 Remove redundant definition of NEXITFUNCS. (Reported by Jeff Rush.) 28 September 1998, 22:15:37 UTC
2645241 Fixes for OS/2 by Jeff Rush. 28 September 1998, 22:07:11 UTC
03dc538 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 New set of files for the OS/2 port by Jeff Rush. 28 September 1998, 22:02:40 UTC
be70450 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 formatting 28 September 1998, 21:01:55 UTC
6a3ea74 Un PMW-ified 28 September 1998, 20:58:06 UTC
04c7886 Un PMW-ified 28 September 1998, 16:28:04 UTC
987fb92 Initial revision 28 September 1998, 15:59:21 UTC
26367a0 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 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 Add warning that on Windows it only works on sockets. 28 September 1998, 14:28:38 UTC
954b9ad Document new urllib features by Eric Raymond. 28 September 1998, 14:08:29 UTC
9ab96d4 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 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 Fixed unit test 25 September 1998, 22:51:36 UTC
9195f55 Updated the docstring and class hierarchy diagram 25 September 1998, 22:43:21 UTC
4f94c73 (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 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 (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 (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 Add two constants (with the same value) to specify the on-board CD input. 24 September 1998, 18:09:47 UTC
f4cbb9c Added realclean and distclean targets to match ../Makefile. 23 September 1998, 17:37:14 UTC
4da55f0 Add define of HAVE_STDDEF_H (to 1). Suggested by Greg Stein. 23 September 1998, 13:35:45 UTC
5227f0f 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 (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 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 When sys.stdin.fileno() doesn't work, fall back to default_getpass() -- don't just die. 21 September 1998, 20:00:35 UTC
5fb2631 Explicitly document the fact that the search method returns a MatchObject. (Reported by Gary Herron.) 21 September 1998, 19:26:16 UTC
4ecd85a 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 Changes so that JPython can also use this version of profile.py. Suggested by Jim Hugunin. 21 September 1998, 16:52:44 UTC
f07029e 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 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 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 When we have siginterrupt(), use it to disable restarting interrupted system calls. 21 September 1998, 14:46:00 UTC
0db4c94 Enable the 'new' module by default. 21 September 1998, 14:45:22 UTC
6ac06b3 Patch by Greg Stein to document the 'P' flag. 21 September 1998, 14:44:34 UTC
10a7985 re.findall(): Mark as added in 1.5.2. 18 September 1998, 17:11:49 UTC
78694d9 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 Get rid of 'ppp' that accidentally crept in. 17 September 1998, 17:07:15 UTC
91b5bed Added optional mouseregion parameter to WaitNextEvent (which is now manually generated). 17 September 1998, 15:28:58 UTC
6442116 Richard Wolff's changes, documenting his changes to pdb.py. 17 September 1998, 15:11:51 UTC
fc076d4 Untabified and applied Richard Wolff's changes (plus my own reflowing of some paragraphs). 17 September 1998, 15:01:38 UTC
3a98e78 Richard Wolff's additional changes; some layout nits, and change the alias delimiter to ';;'. 17 September 1998, 15:00:30 UTC
1d2e9d1 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 At Greg Stein's request, add PyLong_*LongLong entry points. 17 September 1998, 13:58:37 UTC
b00d252 Define SIZEOF_LONG_LONG (as 8) at Greg Stein's request. 17 September 1998, 13:19:36 UTC
743d17e 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 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 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 Added the mainloop() call. 14 September 1998, 17:52:29 UTC
5fae9e8 nannified 14 September 1998, 17:51:14 UTC
8d5bef7 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 nannified 14 September 1998, 16:44:15 UTC
f9a6d7d Print serious errors to stderr instead of stdout. 14 September 1998, 16:22:21 UTC
bc3760b #Code rearranging to quiet byte-compiler 14 September 1998, 16:16:18 UTC
caf9fca nannified 14 September 1998, 16:03:02 UTC
e7e632a Nannified. 14 September 1998, 16:02:28 UTC
a53f30b nannified 14 September 1998, 15:57:09 UTC
4e96ec6 nannified. 14 September 1998, 15:56:40 UTC
7944ea5 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 Utility to replace CRLF with LF in argument files. 14 September 1998, 15:46:41 UTC
499a6e5 Utility to replace LF with CRLF in argument files. 14 September 1998, 15:46:15 UTC
ce85827 Utility to untabify stubber results. 14 September 1998, 15:43:38 UTC
dcd038f nannified. 14 September 1998, 15:34:45 UTC
a0f0a33 Mac-specific mod to enable aliases on import paths. (Jack Jansen and/or Just van Rossum) 14 September 1998, 13:40:53 UTC
ce11393 Remove some unused variables from gethostbyaddr_ex and gethostbyaddr, discovered by Marc Lemburg. 13 September 1998, 15:52:13 UTC
065ce5a 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
back to top