https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
b43dbcb This commit was manufactured by cvs2svn to create tag 'r24a1'. 08 July 2004, 10:24:04 UTC
3970c11 Add exception handling for BaseRotatingFileHandler (SF #979252) 08 July 2004, 10:24:04 UTC
4bbab2b FileHandler now stores the basename as an absolute path (fix for SF #982049) 08 July 2004, 10:22:35 UTC
081483c Fix markup and nits. 08 July 2004, 09:33:00 UTC
536f76b Fix markup, typos, and nits. 08 July 2004, 09:22:33 UTC
dfef882 dont think it's still being used, but just in case 08 July 2004, 07:18:34 UTC
74a72b9 Bump build number to 54 for 2.4.0a1 08 July 2004, 07:11:33 UTC
275ce74 2.4a1 08 July 2004, 06:01:42 UTC
3210b36 release dates 08 July 2004, 05:59:43 UTC
bd377a3 license updates for 2.4 (cleared with tim, on behalf of the psf) 08 July 2004, 05:57:59 UTC
27f8836 Whitespace normalization. 08 July 2004, 04:22:35 UTC
0e43db5 bump the version number for 2.4a1 08 July 2004, 03:59:33 UTC
63a0191 Deal with macros that have to be replaced with simple text; only a couple of these are currently found in index data, but these should all be handled in the same way. Closes SF bug #952737. 08 July 2004, 03:56:12 UTC
1c0423a Exercise xrange a bit 08 July 2004, 01:59:55 UTC
d7be118 Exercise some error conditions 08 July 2004, 01:56:46 UTC
739a8f8 Fix a couple of signed/unsigned comparison warnings 08 July 2004, 01:55:58 UTC
4ded4b5 Pass the flags along, rather than ignoring them. Backport candidate 08 July 2004, 01:54:07 UTC
93468ea Remove unused macros in .c files 08 July 2004, 01:49:00 UTC
bdcb941 SF bug #978308, Spurious errors taking bool of dead pro Need to return -1 on error. Needs backport. 08 July 2004, 01:22:31 UTC
bd7f76d Tim gets his default traps. 08 July 2004, 00:49:18 UTC
4e0e1b6 Whitespace normalization. 07 July 2004, 20:54:48 UTC
b7e898a "#if WITH_THREAD" is incorrect; must be #ifdef instead; WITH_THREAD isn't always set to an integer value when it's defined. 07 July 2004, 20:42:07 UTC
30ea2f2 This closes patch: [ 960406 ] unblock signals in threads although the changes do not correspond exactly to any patch attached to that report. Non-main threads no longer have all signals masked. A different interface to readline is used. The handling of signals inside calls to PyOS_Readline is now rather different. These changes are all a bit scary! Review and cross-platform testing much appreciated. 07 July 2004, 17:44:12 UTC
e3c330b Replaced some tabs with spaces in verbatim section. 07 July 2004, 15:59:49 UTC
ea271f2 [Bug #982806] The default argument for opening GDBM files is bogus. Patch #984672 by James Lamanna 07 July 2004, 14:19:09 UTC
1263bd8 [Bug #925107] Make .readline() consider self.stop. This makes read() and readline() very similar, so they're refactored into _read. Patch by Johannes Gijsbers. 2.3 bugfix candidate. 07 July 2004, 14:09:21 UTC
5a8b459 OS/2 EMX needs addrinfo.h for code included from getaddrinfo.c 07 July 2004, 14:02:59 UTC
378d3c0 bring OS/2 EMX port build environment up to date 07 July 2004, 13:55:25 UTC
ee5e4cd [Bug #984017] Incorrect prototype, fixed by Timothy Stranex 07 July 2004, 13:07:47 UTC
bcefe69 Add logging changes 07 July 2004, 13:01:53 UTC
6fe93cd For readable() objects, the previous value of 'flags' was ignored. Rearrange code for writable() case to make the parallel logic clearer 07 July 2004, 12:23:53 UTC
ad6ce46 Remove the annoing and useless messagebox asking about overwriting files. Fixes SF #984290. 07 July 2004, 07:34:40 UTC
b8b20e2 Made the explanation more accurate; trimmed trailing whitespace; fixed a typo. 07 July 2004, 02:46:03 UTC
7497966 Typo repair. 07 July 2004, 02:32:36 UTC
d916142 whitespace normalization 06 July 2004, 21:53:27 UTC
a146fea Fix SF#983164. Patch from Mark Hammond: bdist_wininst attempts to use the correct MSVC runtime for the current version of Python. This doesn't work correctly when --target-version is set. In that case, bdist_wininst still uses the *current* sys.version (ie, 2.4) rather than the version specified as --target-version. Thus, the msvc7 runtime based executable stub is *always* used. This patch "hard-codes" knowledge of earlier Python versions, providing the correct result when Python 2.4 is used to build Python 2.3 and earlier distributions. Remove the short variant (-v) of the --target-version command line options, it conflicts with the --verbose/-v standard distutils switch. 06 July 2004, 19:23:27 UTC
5124b4a Add msg for bug #981530 (shutil.rmtree). Somehow that got missed in the checkin. 06 July 2004, 17:52:32 UTC
7ff7d2c testGetServBy(): Use services that should be available both on *nix and Windows (XP at least ;). Test in this order: echo, daytime, domain. 06 July 2004, 16:48:25 UTC
513ffe8 * Fix missing return after error message is set. * Add a test case that would have caught it. 06 July 2004, 13:44:41 UTC
2f55eb4 Demonstrate how to round final result. 06 July 2004, 01:55:14 UTC
0aeac10 * Add __eq__ and __ne__ so that things like list.index() work properly for lists of mixed types. * Test that sort works. 05 July 2004, 22:53:03 UTC
10959b1 Expand examples to show polymorphism 05 July 2004, 21:13:28 UTC
77e13b4 Simplify examples. 05 July 2004, 20:27:53 UTC
c4f93d4 Doc tested the recipes. 05 July 2004, 20:17:13 UTC
9c719ba Fix typo 05 July 2004, 18:56:03 UTC
5548be2 Test the logic for int(d). 05 July 2004, 18:49:38 UTC
ca3cc2f * Update the todo list. * Make ConversionSyntax signals get trapped by default. 05 July 2004, 18:48:22 UTC
d84efb3 * Added missing info on construction from a tuple. * Added a recipe section. 05 July 2004, 18:41:42 UTC
8de63a2 Add decimal docs to the core. 05 July 2004, 05:52:03 UTC
e0f1581 * Fixup docstrings * Make capitals default part of DefaultContext 05 July 2004, 05:36:39 UTC
71432f1 Various edits 05 July 2004, 01:40:07 UTC
3bf85f1 Various edits 05 July 2004, 01:37:07 UTC
3b79091 Bump version #; write introductory para 04 July 2004, 16:39:40 UTC
81e3fb4 Typo fixes 04 July 2004, 15:41:59 UTC
d0b6d9d More additions 04 July 2004, 15:35:00 UTC
0ea241e Changed the rounding constant values to match their variable names. This serves to made the context representation more useful (the names in match the names out). Removed the link to ReXX. That document did not shed add anything to information already in the spec. Further tighten the public API to improve usability: * Emax and Emin are set through Context(). Their defaults are set in the DefaultContext, so there is no need to expose DEFAULT_MAX_EXPONENT and DEFAULT_MIN_EXPONENT. * The string functions isnan() and isinfinity() were only used internal to the module and were not among the test cases. External use cases are served by the Decimal constructor. So, made these private. 04 July 2004, 13:53:24 UTC
068979c Textual change to make the doc reflect reality 04 July 2004, 04:47:40 UTC
b1b605e Fix clear_flags(). Make a readable (not evalable) Context repr. 04 July 2004, 01:55:39 UTC
d4be86c Write another section 04 July 2004, 01:44:04 UTC
c8f8a81 Rewrite two sections 04 July 2004, 01:26:42 UTC
49a5fe1 Redirect the warning stream to the shell during the ScriptBinding check of user code and format the warning similarly to an exception for both that check and for warnings raised in the subprocess. M NEWS.txt M Pyshell.py M ScriptBinding.py M run.py 04 July 2004, 01:25:56 UTC
9ec3e3b Namespace cleanups: * delete temporary globals immediately after use * move a global into a class variable * Rename BasicDefaultContext and ExtendedDefaultContext to BasicContext and ExtendedContext. 03 July 2004, 13:48:56 UTC
6ea4845 * Make the tests independent of the default precision. * Change the default precision to 28 (to match VB's decimal type). 03 July 2004, 12:26:21 UTC
17c52d8 Refactored RotatingFileHandler to create a base class for rotating handlers. Added TimedRotatingFileHandler. 03 July 2004, 11:48:34 UTC
779e0c9 Changed basicConfig() to add keyword arguments. Changes are backward-compatible. Added error checking to log() to check that level is an integer, and raise a TypeError if not (as long as raiseExceptions is set). Minor documentation corrections. 03 July 2004, 11:47:26 UTC
a13c60b Moved example section up to just after the section on Logger objects, and changed it to use the new basicConfig() API 03 July 2004, 11:45:53 UTC
d9c0a7a Work through several open todos: * Added test for pickling contexts * Renamed ExceptionList to Signals (to match wording in the spec) * Simplified Context constructor by allowing flags=None to automatically generate a zeroed-out flags dictionary. * inlined _convertString() which was used only once * _rounding_decision is private, so excluded its contants from __all__. * added an XXX comment with concerns about subclassing signals results in a deviation from the spec (maybe important, maybe not). * Taught the test_suite to determine its own directory (modeled after code in regrtest.py). Enables it to be run when the current directory is not the test directory. * Added a clear_flags() method to the Context API to make it easier to do a common operation with flags. * Fixed the trap_enablers defaults in BasicDefaultContext to match the spec. 03 July 2004, 10:02:28 UTC
41d13f6 Clarify last added comment (bug #754449). 03 July 2004, 03:54:54 UTC
cc4e935 threading.Thread objects will now print a traceback for an exception raised during interpreter shutdown instead of masking it with another traceback about accessing a NoneType when trying to print the exception out in the first place. Closes bug #754449 (using patch #954922). 03 July 2004, 03:52:35 UTC
f9bfdd8 Patch [ 983775 ] Allow bdist_wininst to install for non-admin users to address bugs: [ 555812 ] installing extension w/o admin rights [ 555810 ] removing extensions without admin rights * When enumerating the Python versions found, also remember the HKEY they were found under. * When installing, if Python was installed under HKCU, we will too. If Python was installed under HKLM, we check the permissions of the current user, and install where we can. * The "root" key we use is a global variable - all registry setting and delete functions use this global rather than a hardcoded HKLM. * A new entry is written to the install log, indicating the key we used. Uninstallation is based on this key. * 'tempnam()' is used rather than 'tmpnam()' - 'tmpnam' creates a temp file on the root of the current drive, and if this is readonly would explain the 'freopen' errors occasionally reported. 'tempnam' creates the temp file in the %TEMP% directory. 02 July 2004, 23:53:16 UTC
59ad456 Add tests that check the result of calendar.monthcalendar() for a set of corner cases. 02 July 2004, 19:00:09 UTC
0a4dd39 Make weak references subclassable: - weakref.ref and weakref.ReferenceType will become aliases for each other - weakref.ref will be a modern, new-style class with proper __new__ and __init__ methods - weakref.WeakValueDictionary will have a lighter memory footprint, using a new weakref.ref subclass to associate the key with the value, allowing us to have only a single object of overhead for each dictionary entry (currently, there are 3 objects of overhead per entry: a weakref to the value, a weakref to the dictionary, and a function object used as a weakref callback; the weakref to the dictionary could be avoided without this change) - a new macro, PyWeakref_CheckRefExact(), will be added - PyWeakref_CheckRef() will check for subclasses of weakref.ref This closes SF patch #983019. 02 July 2004, 18:57:45 UTC
8139140 Update info about the windows build. 02 July 2004, 08:58:46 UTC
04c673b SF #951851 fixed. 02 July 2004, 08:56:20 UTC
1df0461 When importing an extension on Windows, the code reads the PE 'import table' of the dll, to make sure that the dll really was build for the correct Python version. It does this by looking for an entry 'pythonXY.dll' (X.Y is the Python version number). The code now checks the size of the dll's import table before reading entries from it. Before this patch, the code crashed trying to read the import table when the size was zero (as in Win2k's wmi.dll, for example). Look for imports of 'pythonXY_d.dll' in a debug build instead of 'pythonXY.dll'. Fixes SF 951851: Crash when reading "import table" of certain windows dlls. Already backported to the 2.3 branch. 02 July 2004, 08:53:57 UTC
32b8f80 Fix for SF 982215: bdist_wininst - Next button not greyed out during file copy. Patch from Mark Hammond. Recompiled binary. Already packported to the 2.3 branch. 02 July 2004, 08:02:40 UTC
214b1c3 SF Bug #215126: Over restricted type checking on eval() function The builtin eval() function now accepts any mapping for the locals argument. Time sensitive steps guarded by PyDict_CheckExact() to keep from slowing down the normal case. My timings so no measurable impact. 02 July 2004, 06:41:07 UTC
78bace7 add cp866 row 02 July 2004, 02:14:34 UTC
d88471f Change signatures for arguments to "s" and friends to be the proper ``const char *`` instead of just ``char *``. Also added the mentioning of "const" in some places where it was left out even when the signature already stated the fact. Closes bug #980925. 01 July 2004, 20:55:42 UTC
83a6430 Committing Tim's patch for SF bug #983585: test_repr() fails with id() values that appear negative 01 July 2004, 20:28:47 UTC
ac1075a Document that encode() and decode() raise UnicodeError instead of ValueError. Add a note about error handling schemes added by PEP 293. 01 July 2004, 19:58:47 UTC
ecf7a52 link to the codecs page from the "".encode() description. 01 July 2004, 19:26:04 UTC
d7cc1bd Fix [ 924301 ] A leak case with cmd.py & readline & exception by ensuring that the readline completion function is always reset even in the case of an exception being raised. As a bonus, this makes the documentation for pre & postloop accurate again. 01 July 2004, 14:52:10 UTC
1f34eb1 fix small consistency nit 01 July 2004, 14:28:36 UTC
1b89656 add omitted markup 01 July 2004, 14:26:31 UTC
68a37ac * Fix typos. * Format an example so that the identation is more obvious. * Add a section on the decimal module to the Brief Tour Part II. 01 July 2004, 12:56:54 UTC
0fff62f Move Decimal from the sandbox into production. 01 July 2004, 11:52:15 UTC
75cc1cb Move Decimal from the sandbox into production. 01 July 2004, 11:15:39 UTC
7c85fa4 Move Decimal from the sandbox into production. 01 July 2004, 11:01:35 UTC
2ccf5d6 use file() in preference to open() 30 June 2004, 21:06:45 UTC
7db865a tyop 30 June 2004, 09:09:38 UTC
c30ba84 restore NEWS entry for 957240 30 June 2004, 09:06:29 UTC
d5cf143 Check in the updated version of patch #957240, which doesn't rely on the marshalling characteristics of infinities. 30 June 2004, 09:02:33 UTC
96b935e fix handling when a proper getopt(1) is available; the "--" end-of-options marker wasn't recognized 29 June 2004, 14:39:06 UTC
93b4b88 [Patch #974633] Check PyObject_MALLOC return for error 29 June 2004, 14:03:04 UTC
6d3a0d2 [Bug #948970] Add PyExc_* symbols to index. (I ran this through texcheck, but don't have LaTeX installed on this machine and therefore haven't verified that the changes are accepted by LaTeX.) 29 June 2004, 13:52:14 UTC
7dd8fda [Bug #978556] Update SHA spec URL; bugfix candidate 29 June 2004, 13:35:01 UTC
08c08bb [Bug #912845] urllib2 only checks for a 200 return code, but 206 is also legal if a Range: header was supplied. (Actually, should the first 'if' statement be modified to allow any 2xx status code?) 29 June 2004, 13:19:19 UTC
31352c5 Remove unused import. (If it's there for some deep, dark reason, it should have been commented.) 29 June 2004, 13:17:29 UTC
bd3200f Add test case for bug #912845: requesting an HTTP byte range doesn't work 29 June 2004, 13:15:46 UTC
back to top