dedeeaa | Neal Norwitz | 31 March 2006, 06:54:45 UTC | Get gcc to do strict IEEE math. This flag was already used for cc, just not gcc. Without this flag, doing pretty much anything with NaNs causes a Floating Point Exception signal. This causes the interpreter to quit. The failing tests this fixes are: test_float, test_long, and test_struct. This is somewhat equivalent to doing signal(SIGFPE, SIG_IGN). Will verify if this is a problem in 2.4 and backport if necessary (probably). | 31 March 2006, 06:54:45 UTC |
7b8cf38 | Fred Drake | 31 March 2006, 05:30:19 UTC | improve reporting of illegal section nesting (provide location which caused detection of the error) | 31 March 2006, 05:30:19 UTC |
842ab70 | Fred Drake | 31 March 2006, 05:28:38 UTC | fix sectioning: cannot skip section levels | 31 March 2006, 05:28:38 UTC |
46cc702 | Tim Peters | 31 March 2006, 04:11:16 UTC | test_main(): Restore the decimal context that was in effect at the time test_decimal was imported. Else running test_decimal had the bad side effect of permanently changing the decimal context in effect. That caused text_tokenize to fail if it ran after test_decimal. | 31 March 2006, 04:11:16 UTC |
ef57567 | Tim Peters | 31 March 2006, 03:17:30 UTC | Repaired a number of errors in this test: - The doctests in decistmt() weren't run at all when test_tokenize was run via regrtest.py. - Some expected output in decistmt() was Windows-specific (but nobody noticed because the doctests weren't getting run). - test_roundtrip() didn't actually test anything when running the tests with -O. Now it does. - Changed test_roundtrip() to show the name of the input file when it fails. That would have saved a lot of time earlier today. - Added a bunch of comments. | 31 March 2006, 03:17:30 UTC |
176014f | Barry Warsaw | 30 March 2006, 22:45:35 UTC | SF patch #1458476 with modifications based on discussions in python-dev. This adds the following API calls: PySet_Clear(), _PySet_Next(), and _PySet_Update(). The latter two are considered non-public. Tests and documentation (for the public API) are included. | 30 March 2006, 22:45:35 UTC |
c259cc9 | Guido van Rossum | 30 March 2006, 21:43:35 UTC | Insert a safety space after numbers as well as names in untokenize(). | 30 March 2006, 21:43:35 UTC |
090f815 | Ronald Oussoren | 30 March 2006, 20:18:33 UTC | Add '-Wno-deprecated-warnings' to the compile flags for the Carbon extensions on OSX 10.4 or later. This stops the compiler for complaining about calls to deprecated functions in these extensions, they are supposed to wrap as much of Carbon as possible. | 30 March 2006, 20:18:33 UTC |
0d93a23 | Thomas Heller | 30 March 2006, 19:16:15 UTC | Try to fix test_loading on openbsd. | 30 March 2006, 19:16:15 UTC |
300269a | Thomas Heller | 30 March 2006, 18:29:25 UTC | Oops - this should not have gone in. | 30 March 2006, 18:29:25 UTC |
b320682 | Thomas Heller | 30 March 2006, 17:49:55 UTC | Output more info when the test fails. | 30 March 2006, 17:49:55 UTC |
314861c | Armin Rigo | 30 March 2006, 14:04:02 UTC | Minor bugs in the __index__ code (PEP 357), with tests. | 30 March 2006, 14:04:02 UTC |
4ef3a23 | Anthony Baxter | 30 March 2006, 12:59:11 UTC | whitespace normalisation | 30 March 2006, 12:59:11 UTC |
ecdc0a9 | Georg Brandl | 30 March 2006, 12:19:07 UTC | That one was a mistake. | 30 March 2006, 12:19:07 UTC |
d37ac69 | Georg Brandl | 30 March 2006, 11:58:57 UTC | Remove unnecessary casts from type object initializers. | 30 March 2006, 11:58:57 UTC |
347b300 | Georg Brandl | 30 March 2006, 11:57:00 UTC | Remove unnecessary casts in type object initializers. | 30 March 2006, 11:57:00 UTC |
3987df5 | Thomas Heller | 30 March 2006, 11:51:58 UTC | Try to build _ctypes on x86 openbsd. | 30 March 2006, 11:51:58 UTC |
5eca19b | Armin Rigo | 30 March 2006, 11:28:43 UTC | Checking in the test for PEP 357. This is from the SF tracker as well; for some reason the content of test_index.py was lost and an empty file was checked in instead. | 30 March 2006, 11:28:43 UTC |
67b6d51 | Anthony Baxter | 30 March 2006, 10:54:07 UTC | Fixed bug #1459029 - unicode reprs were double-escaped. | 30 March 2006, 10:54:07 UTC |
262c00a | Anthony Baxter | 30 March 2006, 10:53:17 UTC | Fixed bug #1459029 - unicode reprs were double-escaped. Backed out an old patch from 2000. | 30 March 2006, 10:53:17 UTC |
80a5d01 | Phillip J. Eby | 30 March 2006, 07:09:06 UTC | Mark the upload command as new in 2.5, per Neal Norwitz's request. | 30 March 2006, 07:09:06 UTC |
66bc4ef | Fred Drake | 30 March 2006, 03:04:41 UTC | fill in refcount information for APIs first documented in Python 2.5 | 30 March 2006, 03:04:41 UTC |
3e482d9 | Fred Drake | 30 March 2006, 02:58:38 UTC | merge revision 43437 from the release24-maint branch: - update the refcount information (late, but not a bad thing to do...) - clarify that PyGen_New() steals a reference | 30 March 2006, 02:58:38 UTC |
59821cf | Phillip J. Eby | 30 March 2006, 02:16:40 UTC | Oops, forgot to checkin the NEWS for --identity | 30 March 2006, 02:16:40 UTC |
2e550b3 | Phillip J. Eby | 30 March 2006, 02:12:14 UTC | Implementation for patch request #1457316: support --identity option for setup.py "upload" command. | 30 March 2006, 02:12:14 UTC |
3c3346d | Raymond Hettinger | 29 March 2006, 09:13:13 UTC | SF bug #1460340: random.sample can raise KeyError Fix the hit and miss style of testing for sets and dicts. | 29 March 2006, 09:13:13 UTC |
62e97f0 | Tim Peters | 28 March 2006, 21:44:32 UTC | In format strings slinging Py_ssize_t, unconditionally interpolate PY_FORMAT_SIZE_T instead of #if'ing on MS_WIN64. | 28 March 2006, 21:44:32 UTC |
efb6e75 | Armin Rigo | 28 March 2006, 20:30:45 UTC | add the ctypes.test subpackage to a normal Unix installation -- otherwise, test/test_ctypes.py fails. What about ctypes.macholib? | 28 March 2006, 20:30:45 UTC |
12bec1b | Armin Rigo | 28 March 2006, 19:27:56 UTC | fix a comment. | 28 March 2006, 19:27:56 UTC |
80bb2bb | Georg Brandl | 28 March 2006, 19:19:56 UTC | Revert r43399. | 28 March 2006, 19:19:56 UTC |
d34fa52 | Armin Rigo | 28 March 2006, 19:10:40 UTC | answer a question from a comment | 28 March 2006, 19:10:40 UTC |
1d278fc | Martin v. Löwis | 28 March 2006, 18:30:05 UTC | Move product_codes in their own file. | 28 March 2006, 18:30:05 UTC |
275935d | Georg Brandl | 28 March 2006, 18:02:44 UTC | document sys.maxint in std objects | 28 March 2006, 18:02:44 UTC |
7fd548f | Georg Brandl | 28 March 2006, 12:48:43 UTC | Bug #1459103: add inter-section links for strftime section. | 28 March 2006, 12:48:43 UTC |
f1349cd | Georg Brandl | 28 March 2006, 12:40:24 UTC | Bug #1459963: urllib2 now normalizes HTTP header names correctly with title(). | 28 March 2006, 12:40:24 UTC |
240ec6b | Thomas Heller | 28 March 2006, 11:00:08 UTC | Make the tests succeed with -Qnew: Do not rely on the exact wording of a ZeroDivisionError. | 28 March 2006, 11:00:08 UTC |
f871270 | Georg Brandl | 28 March 2006, 10:29:45 UTC | Make uu use floor division instead of classic division. This was discovered by test_email failing with -Qnew. | 28 March 2006, 10:29:45 UTC |
019514e | Georg Brandl | 28 March 2006, 10:26:45 UTC | Make test_augassign pass with -Qnew and convert to unittest. | 28 March 2006, 10:26:45 UTC |
b921a84 | Georg Brandl | 28 March 2006, 10:07:46 UTC | Make xdrlib use floor division instead of classic division. Makes test_xdrlib pass. | 28 March 2006, 10:07:46 UTC |
686eaeb | Georg Brandl | 28 March 2006, 10:00:53 UTC | Make test_coercion pass with -Qnew. Converted to unittest on the occasion. | 28 March 2006, 10:00:53 UTC |
4054b97 | Thomas Wouters | 28 March 2006, 08:44:55 UTC | In true regression-test spirit, make sure the itertools.tee->instance->attribute->itertools.tee and itertools.tee->teedataobject->itertools.tee cycles, which can be found now that itertools.tee and its teedataobject participate in GC, remain findable and cleanable. The test won't fail when they aren't, but at least the frequent hunt-refleaks runs would spot the rise in refleaks. | 28 March 2006, 08:44:55 UTC |
a33b2bc | Thomas Wouters | 28 March 2006, 08:14:24 UTC | Add an example of a generator->freevar->cell->generator reference-cycle that doesn't get cleaned up and thus leaks. | 28 March 2006, 08:14:24 UTC |
96c3f7f | Georg Brandl | 28 March 2006, 08:06:35 UTC | Make test_decimal work with -Qnew. | 28 March 2006, 08:06:35 UTC |
df51179 | Martin v. Löwis | 28 March 2006, 07:51:51 UTC | Correct case in test for Windows 9X. | 28 March 2006, 07:51:51 UTC |
b82cb8d | Tim Peters | 28 March 2006, 07:39:22 UTC | Part of bug 1459808: fiddle test_input_and_raw_input() so it passes w/ -Qnew. | 28 March 2006, 07:39:22 UTC |
1c5bc1c | Tim Peters | 28 March 2006, 07:28:40 UTC | Part of bug 1459808: fiddle so that this passes with or without -Qnew. | 28 March 2006, 07:28:40 UTC |
7491d2a | Neal Norwitz | 28 March 2006, 06:19:28 UTC | Try to get rid of a Coverity warning by consistently using origpending. | 28 March 2006, 06:19:28 UTC |
d03b073 | Neal Norwitz | 28 March 2006, 05:51:02 UTC | Add version added info for with statement and context managers | 28 March 2006, 05:51:02 UTC |
168e99f | Phillip J. Eby | 28 March 2006, 00:13:10 UTC | Document objects that can be used with the ``with`` statement. | 28 March 2006, 00:13:10 UTC |
bdfd693 | Phillip J. Eby | 28 March 2006, 00:08:22 UTC | Fix some missing imports | 28 March 2006, 00:08:22 UTC |
35fd142 | Phillip J. Eby | 28 March 2006, 00:07:24 UTC | Fix contextlib not copying function attributes | 28 March 2006, 00:07:24 UTC |
d207b4f | Phillip J. Eby | 27 March 2006, 23:58:46 UTC | Document the contextlib module. | 27 March 2006, 23:58:46 UTC |
849974f | Phillip J. Eby | 27 March 2006, 23:32:10 UTC | dummy_thread needs to support PEP 343 too. | 27 March 2006, 23:32:10 UTC |
b6e92c4 | Georg Brandl | 27 March 2006, 22:09:16 UTC | Document change made to number of preallocated integers. | 27 March 2006, 22:09:16 UTC |
02e1997 | Phillip J. Eby | 27 March 2006, 21:55:21 UTC | Patch #1459476: install PKG-INFO metadata alongside distutils-installed packages. | 27 March 2006, 21:55:21 UTC |
16e86da | Phillip J. Eby | 27 March 2006, 21:42:30 UTC | The "with" statement needs a __future__. :) | 27 March 2006, 21:42:30 UTC |
075ef1a | Phillip J. Eby | 27 March 2006, 21:06:13 UTC | Document the "with" statement. | 27 March 2006, 21:06:13 UTC |
19bf33b | Thomas Wouters | 27 March 2006, 21:02:13 UTC | Make itertools.tee and its internal teedataobject participate in GC. This alone does not solve the leak in test_generators, unfortunately, but it is part of test_generators' problem and it does solve other cycles. | 27 March 2006, 21:02:13 UTC |
5d0f4c6 | Phillip J. Eby | 27 March 2006, 19:59:34 UTC | Document the PEP 343 context manager protocol methods. | 27 March 2006, 19:59:34 UTC |
06b3dde | Martin v. Löwis | 27 March 2006, 16:35:13 UTC | Drop information about 2.4 DLLs. | 27 March 2006, 16:35:13 UTC |
0a4e98b | Martin v. Löwis | 27 March 2006, 16:30:41 UTC | Allow supression of subwcrev.exe invocation on a per-working-copy basis. | 27 March 2006, 16:30:41 UTC |
cff2208 | Walter Dörwald | 27 March 2006, 15:11:56 UTC | Whitespace for generated code. | 27 March 2006, 15:11:56 UTC |
0750883 | Anthony Baxter | 27 March 2006, 13:37:36 UTC | Tagging for release r25a0 | 27 March 2006, 13:37:36 UTC |
285965a | Anthony Baxter | 27 March 2006, 13:35:34 UTC | oops. lets try that one more time | 27 March 2006, 13:35:34 UTC |
06a4ed5 | Anthony Baxter | 27 March 2006, 12:12:48 UTC | Tagging for release r25a0 | 27 March 2006, 12:12:48 UTC |
a0b1a74 | Anthony Baxter | 27 March 2006, 11:56:58 UTC | Tagging for release svn+ssh://pythondev@svn.python.org/python//tags/r25a0 | 27 March 2006, 11:56:58 UTC |
deee509 | Anthony Baxter | 27 March 2006, 11:53:34 UTC | more testing. | 27 March 2006, 11:53:34 UTC |
1fe4f01 | Martin v. Löwis | 27 March 2006, 09:51:16 UTC | Add product ids for 2.5. | 27 March 2006, 09:51:16 UTC |
a8da934 | Walter Dörwald | 27 March 2006, 09:02:04 UTC | Whitespace. | 27 March 2006, 09:02:04 UTC |
33b730e | Neal Norwitz | 27 March 2006, 08:58:23 UTC | Fix SF bug #1458903 with AST compiler. def foo((x)): was getting recognized as requiring tuple unpacking which is not correct. Add tests for this case and the proper way to unpack a tuple of one: def foo((x,)): test_inpsect was incorrect before. I'm not sure why it was passing, but that has been corrected with a test for both functions above. This means the test (and therefore inspect.getargspec()) are broken in 2.4. | 27 March 2006, 08:58:23 UTC |
6c40359 | Hye-Shik Chang | 27 March 2006, 08:43:11 UTC | Find a source file in srcdir to allow to build outside of srcdir. | 27 March 2006, 08:43:11 UTC |
b9c03e9 | Hye-Shik Chang | 27 March 2006, 08:24:54 UTC | Fix reference leaks introduced by the recent incremental codec changes. | 27 March 2006, 08:24:54 UTC |
40108c9 | Walter Dörwald | 27 March 2006, 08:15:44 UTC | Mention patch id for the CJK part of the patch and the name of the two new C functions. | 27 March 2006, 08:15:44 UTC |
17d25ca | Anthony Baxter | 27 March 2006, 01:11:38 UTC | tagging for release 2.5a0 | 27 March 2006, 01:11:38 UTC |
f096615 | Anthony Baxter | 27 March 2006, 01:11:07 UTC | updating snapshot. | 27 March 2006, 01:11:07 UTC |
c9d78aa | Tim Peters | 26 March 2006, 23:27:58 UTC | Years in the making. objimpl.h, pymem.h: Stop mapping PyMem_{Del, DEL} and PyMem_{Free, FREE} to PyObject_{Free, FREE} in a release build. They're aliases for the system free() now. _subprocess.c/sp_handle_dealloc(): Since the memory was originally obtained via PyObject_NEW, it must be released via PyObject_FREE (or _DEL). pythonrun.c, tokenizer.c, parsermodule.c: I lost count of the number of PyObject vs PyMem mismatches in these -- it's like the specific function called at each site was picked at random, sometimes even with memory obtained via PyMem getting released via PyObject. Changed most to use PyObject uniformly, since the blobs allocated are predictably small in most cases, and obmalloc is generally faster than system mallocs then. If extension modules in real life prove as sloppy as Python's front end, we'll have to revert the objimpl.h + pymem.h part of this patch. Note that no problems will show up in a debug build (all calls still go thru obmalloc then). Problems will show up only in a release build, most likely segfaults. | 26 March 2006, 23:27:58 UTC |
1c168d8 | Georg Brandl | 26 March 2006, 20:59:38 UTC | Bug #1457264: parse http://host?query correctly in urllib | 26 March 2006, 20:59:38 UTC |
04855cc | Martin v. Löwis | 26 March 2006, 16:40:47 UTC | Fix typo. | 26 March 2006, 16:40:47 UTC |
6da56f9 | Martin v. Löwis | 26 March 2006, 10:02:34 UTC | Patch from Aldo Cortesi: expected skips for OpenBSD. | 26 March 2006, 10:02:34 UTC |
c667d05 | Martin v. Löwis | 26 March 2006, 09:50:11 UTC | Provide more debug output, to diagnose OpenBSD test failures. | 26 March 2006, 09:50:11 UTC |
04904fa | Hye-Shik Chang | 26 March 2006, 06:53:37 UTC | Utilize %zd for Py_ssize_t formatting instead of casting to long. | 26 March 2006, 06:53:37 UTC |
9f4b632 | Hye-Shik Chang | 26 March 2006, 06:21:34 UTC | Allow long objects as a position value of error callbacks returned. | 26 March 2006, 06:21:34 UTC |
7545a6b | Neal Norwitz | 26 March 2006, 04:59:27 UTC | regsub is gone, nothing to ignore | 26 March 2006, 04:59:27 UTC |
2c85d82 | Neal Norwitz | 26 March 2006, 03:11:57 UTC | Try to handle sys.getfilesystemencoding() returning None. ascii seems like the safest bet that it will exist. I wonder if utf-8 would be a better choice? This should get test_fileinput passing on OpenBSD. | 26 March 2006, 03:11:57 UTC |
334b5b2 | Raymond Hettinger | 26 March 2006, 03:11:29 UTC | Tighten an overbroad and misleading assertion. (Reported by Jim Jewett.) | 26 March 2006, 03:11:29 UTC |
e2ac4ab | Hye-Shik Chang | 26 March 2006, 02:34:59 UTC | Patch #1443155: Add the incremental codecs support for CJK codecs. (reviewed by Walter Dörwald) | 26 March 2006, 02:34:59 UTC |
a531e5b | Raymond Hettinger | 26 March 2006, 01:41:25 UTC | Guarantee evaluation order for izip(). Document its creative uses and its limitations. | 26 March 2006, 01:41:25 UTC |
1818ed7 | Neal Norwitz | 26 March 2006, 00:29:48 UTC | Try to fix broken compile on openbsd. | 26 March 2006, 00:29:48 UTC |
7fbd691 | Neal Norwitz | 25 March 2006, 23:55:39 UTC | Get rid of warnings on some platforms by using %u for a size_t. | 25 March 2006, 23:55:39 UTC |
4d65af0 | Raymond Hettinger | 25 March 2006, 23:26:43 UTC | Add section headers and examples. | 25 March 2006, 23:26:43 UTC |
6a91e94 | Neal Norwitz | 25 March 2006, 21:25:30 UTC | SF bug # 1457358 and patch # 1458419, floor division not documented. Patch by Andy. Will backport. | 25 March 2006, 21:25:30 UTC |
4ec3c26 | Skip Montanaro | 25 March 2006, 14:12:03 UTC | Found this in an old email message from Hartmut Goebel. | 25 March 2006, 14:12:03 UTC |
baf05b7 | Georg Brandl | 25 March 2006, 13:12:56 UTC | fix typo | 25 March 2006, 13:12:56 UTC |
c4e94b9 | Raymond Hettinger | 25 March 2006, 12:15:04 UTC | Don't decrement below zero. And add more tests. | 25 March 2006, 12:15:04 UTC |
ccc7bb4 | Phillip J. Eby | 25 March 2006, 04:32:12 UTC | More extensive comment on __exit__ handling, per Guido's request. | 25 March 2006, 04:32:12 UTC |
e33901e | Tim Peters | 25 March 2006, 01:50:43 UTC | Whitespace normalization. | 25 March 2006, 01:50:43 UTC |
1a9fac0 | Phillip J. Eby | 25 March 2006, 00:46:43 UTC | Yield is now allowed in try-finally, so update docs accordingly | 25 March 2006, 00:46:43 UTC |
6edd258 | Phillip J. Eby | 25 March 2006, 00:28:24 UTC | Fix a problem with @contextmanager not detecting a broken generator that yields after a throw(). Make @contextmanager not reraise exceptions, but return a false value in that case instead. Add test cases for both behaviors. | 25 March 2006, 00:28:24 UTC |
bee0712 | Phillip J. Eby | 25 March 2006, 00:05:50 UTC | Support throw() of string exceptions. | 25 March 2006, 00:05:50 UTC |
43b00da | Raymond Hettinger | 24 March 2006, 23:55:32 UTC | Revert previous change. Wasn't ready yet. | 24 March 2006, 23:55:32 UTC |