]>
granicus.if.org Git - python/log
Georg Brandl [Tue, 28 Mar 2006 10:29:45 +0000 (10:29 +0000)]
Make uu use floor division instead of classic division.
This was discovered by test_email failing with -Qnew.
Georg Brandl [Tue, 28 Mar 2006 10:26:45 +0000 (10:26 +0000)]
Make test_augassign pass with -Qnew and convert to unittest.
Georg Brandl [Tue, 28 Mar 2006 10:07:46 +0000 (10:07 +0000)]
Make xdrlib use floor division instead of classic division.
Makes test_xdrlib pass.
Georg Brandl [Tue, 28 Mar 2006 10:00:53 +0000 (10:00 +0000)]
Make test_coercion pass with -Qnew. Converted to unittest on the occasion.
Thomas Wouters [Tue, 28 Mar 2006 08:44:55 +0000 (08:44 +0000)]
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.
Thomas Wouters [Tue, 28 Mar 2006 08:14:24 +0000 (08:14 +0000)]
Add an example of a generator->freevar->cell->generator reference-cycle that
doesn't get cleaned up and thus leaks.
Georg Brandl [Tue, 28 Mar 2006 08:06:35 +0000 (08:06 +0000)]
Make test_decimal work with -Qnew.
Martin v. Löwis [Tue, 28 Mar 2006 07:51:51 +0000 (07:51 +0000)]
Correct case in test for Windows 9X.
Tim Peters [Tue, 28 Mar 2006 07:39:22 +0000 (07:39 +0000)]
Part of bug
1459808 : fiddle test_input_and_raw_input()
so it passes w/ -Qnew.
Tim Peters [Tue, 28 Mar 2006 07:28:40 +0000 (07:28 +0000)]
Part of bug
1459808 : fiddle so that this passes
with or without -Qnew.
Neal Norwitz [Tue, 28 Mar 2006 06:19:28 +0000 (06:19 +0000)]
Try to get rid of a Coverity warning by consistently using origpending.
Neal Norwitz [Tue, 28 Mar 2006 05:51:02 +0000 (05:51 +0000)]
Add version added info for with statement and context managers
Phillip J. Eby [Tue, 28 Mar 2006 00:13:10 +0000 (00:13 +0000)]
Document objects that can be used with the ``with`` statement.
Phillip J. Eby [Tue, 28 Mar 2006 00:08:22 +0000 (00:08 +0000)]
Fix some missing imports
Phillip J. Eby [Tue, 28 Mar 2006 00:07:24 +0000 (00:07 +0000)]
Fix contextlib not copying function attributes
Phillip J. Eby [Mon, 27 Mar 2006 23:58:46 +0000 (23:58 +0000)]
Document the contextlib module.
Phillip J. Eby [Mon, 27 Mar 2006 23:32:10 +0000 (23:32 +0000)]
dummy_thread needs to support PEP 343 too.
Georg Brandl [Mon, 27 Mar 2006 22:09:16 +0000 (22:09 +0000)]
Document change made to number of preallocated integers.
Phillip J. Eby [Mon, 27 Mar 2006 21:55:21 +0000 (21:55 +0000)]
Patch #
1459476 : install PKG-INFO metadata alongside distutils-installed packages.
Phillip J. Eby [Mon, 27 Mar 2006 21:42:30 +0000 (21:42 +0000)]
The "with" statement needs a __future__. :)
Phillip J. Eby [Mon, 27 Mar 2006 21:06:13 +0000 (21:06 +0000)]
Document the "with" statement.
Thomas Wouters [Mon, 27 Mar 2006 21:02:13 +0000 (21:02 +0000)]
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.
Phillip J. Eby [Mon, 27 Mar 2006 19:59:34 +0000 (19:59 +0000)]
Document the PEP 343 context manager protocol methods.
Martin v. Löwis [Mon, 27 Mar 2006 16:35:13 +0000 (16:35 +0000)]
Drop information about 2.4 DLLs.
Martin v. Löwis [Mon, 27 Mar 2006 16:30:41 +0000 (16:30 +0000)]
Allow supression of subwcrev.exe invocation on a per-working-copy basis.
Walter Dörwald [Mon, 27 Mar 2006 15:11:56 +0000 (15:11 +0000)]
Whitespace for generated code.
Anthony Baxter [Mon, 27 Mar 2006 13:37:36 +0000 (13:37 +0000)]
Tagging for release r25a0
Anthony Baxter [Mon, 27 Mar 2006 13:35:34 +0000 (13:35 +0000)]
oops. lets try that one more time
Anthony Baxter [Mon, 27 Mar 2006 12:12:48 +0000 (12:12 +0000)]
Tagging for release r25a0
Anthony Baxter [Mon, 27 Mar 2006 11:56:58 +0000 (11:56 +0000)]
Tagging for release svn+ssh://pythondev@svn.python.org/python//tags/r25a0
Anthony Baxter [Mon, 27 Mar 2006 11:53:34 +0000 (11:53 +0000)]
more testing.
Martin v. Löwis [Mon, 27 Mar 2006 09:51:16 +0000 (09:51 +0000)]
Add product ids for 2.5.
Walter Dörwald [Mon, 27 Mar 2006 09:02:04 +0000 (09:02 +0000)]
Whitespace.
Neal Norwitz [Mon, 27 Mar 2006 08:58:23 +0000 (08:58 +0000)]
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.
Hye-Shik Chang [Mon, 27 Mar 2006 08:43:11 +0000 (08:43 +0000)]
Find a source file in srcdir to allow to build outside of srcdir.
Hye-Shik Chang [Mon, 27 Mar 2006 08:24:54 +0000 (08:24 +0000)]
Fix reference leaks introduced by the recent incremental codec
changes.
Walter Dörwald [Mon, 27 Mar 2006 08:15:44 +0000 (08:15 +0000)]
Mention patch id for the CJK part of the patch and
the name of the two new C functions.
Anthony Baxter [Mon, 27 Mar 2006 01:11:38 +0000 (01:11 +0000)]
tagging for release 2.5a0
Anthony Baxter [Mon, 27 Mar 2006 01:11:07 +0000 (01:11 +0000)]
updating snapshot.
Tim Peters [Sun, 26 Mar 2006 23:27:58 +0000 (23:27 +0000)]
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.
Georg Brandl [Sun, 26 Mar 2006 20:59:38 +0000 (20:59 +0000)]
Bug #
1457264 : parse http://host?query correctly in urllib
Martin v. Löwis [Sun, 26 Mar 2006 16:40:47 +0000 (16:40 +0000)]
Fix typo.
Martin v. Löwis [Sun, 26 Mar 2006 10:02:34 +0000 (10:02 +0000)]
Patch from Aldo Cortesi: expected skips for OpenBSD.
Martin v. Löwis [Sun, 26 Mar 2006 09:50:11 +0000 (09:50 +0000)]
Provide more debug output, to diagnose OpenBSD test failures.
Hye-Shik Chang [Sun, 26 Mar 2006 06:53:37 +0000 (06:53 +0000)]
Utilize %zd for Py_ssize_t formatting instead of casting to long.
Hye-Shik Chang [Sun, 26 Mar 2006 06:21:34 +0000 (06:21 +0000)]
Allow long objects as a position value of error callbacks returned.
Neal Norwitz [Sun, 26 Mar 2006 04:59:27 +0000 (04:59 +0000)]
regsub is gone, nothing to ignore
Neal Norwitz [Sun, 26 Mar 2006 03:11:57 +0000 (03:11 +0000)]
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.
Raymond Hettinger [Sun, 26 Mar 2006 03:11:29 +0000 (03:11 +0000)]
Tighten an overbroad and misleading assertion.
(Reported by Jim Jewett.)
Hye-Shik Chang [Sun, 26 Mar 2006 02:34:59 +0000 (02:34 +0000)]
Patch #
1443155 : Add the incremental codecs support for CJK codecs.
(reviewed by Walter Dörwald)
Raymond Hettinger [Sun, 26 Mar 2006 01:41:25 +0000 (01:41 +0000)]
Guarantee evaluation order for izip(). Document its creative uses and its limitations.
Neal Norwitz [Sun, 26 Mar 2006 00:29:48 +0000 (00:29 +0000)]
Try to fix broken compile on openbsd.
Neal Norwitz [Sat, 25 Mar 2006 23:55:39 +0000 (23:55 +0000)]
Get rid of warnings on some platforms by using %u for a size_t.
Raymond Hettinger [Sat, 25 Mar 2006 23:26:43 +0000 (23:26 +0000)]
Add section headers and examples.
Neal Norwitz [Sat, 25 Mar 2006 21:25:30 +0000 (21:25 +0000)]
SF bug #
1457358 and patch #
1458419 , floor division not documented. Patch by Andy.
Will backport.
Skip Montanaro [Sat, 25 Mar 2006 14:12:03 +0000 (14:12 +0000)]
Found this in an old email message from Hartmut Goebel.
Georg Brandl [Sat, 25 Mar 2006 13:12:56 +0000 (13:12 +0000)]
fix typo
Raymond Hettinger [Sat, 25 Mar 2006 12:15:04 +0000 (12:15 +0000)]
Don't decrement below zero. And add more tests.
Phillip J. Eby [Sat, 25 Mar 2006 04:32:12 +0000 (04:32 +0000)]
More extensive comment on __exit__ handling, per Guido's request.
Tim Peters [Sat, 25 Mar 2006 01:50:43 +0000 (01:50 +0000)]
Whitespace normalization.
Phillip J. Eby [Sat, 25 Mar 2006 00:46:43 +0000 (00:46 +0000)]
Yield is now allowed in try-finally, so update docs accordingly
Phillip J. Eby [Sat, 25 Mar 2006 00:28:24 +0000 (00:28 +0000)]
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.
Phillip J. Eby [Sat, 25 Mar 2006 00:05:50 +0000 (00:05 +0000)]
Support throw() of string exceptions.
Raymond Hettinger [Fri, 24 Mar 2006 23:55:32 +0000 (23:55 +0000)]
Revert previous change. Wasn't ready yet.
Raymond Hettinger [Fri, 24 Mar 2006 23:47:53 +0000 (23:47 +0000)]
Add more tests
Phillip J. Eby [Fri, 24 Mar 2006 22:10:54 +0000 (22:10 +0000)]
Revert r42719, because the isinstance() check wasn't redundant; formatting a
string exception was causing a TypeError.
Raymond Hettinger [Fri, 24 Mar 2006 20:43:29 +0000 (20:43 +0000)]
SF Patch #
1455676 : Simplify using Queues with daemon consumer threads
Adds join() and task_done() methods to track when all enqueued tasks have
been gotten and fully processed by daemon consumer threads.
Nick Coghlan [Fri, 24 Mar 2006 13:36:33 +0000 (13:36 +0000)]
Add documentation for PEP 338
Nick Coghlan [Fri, 24 Mar 2006 13:05:53 +0000 (13:05 +0000)]
run_module shouldn't hold the import lock when running a script
Neal Norwitz [Fri, 24 Mar 2006 08:58:38 +0000 (08:58 +0000)]
Use absolute import.
Martin v. Löwis [Fri, 24 Mar 2006 08:26:26 +0000 (08:26 +0000)]
Clarify cases when waitpid might not return self.pid.
Martin v. Löwis [Fri, 24 Mar 2006 08:14:54 +0000 (08:14 +0000)]
Bug #
1183780 : Add Popen objects to _active only in __del__.
Cleanup terminated processes as well.
Add cmd attribute to Popen4.
Neal Norwitz [Fri, 24 Mar 2006 08:02:51 +0000 (08:02 +0000)]
Exceptions should inherit from Exception now.
Neal Norwitz [Fri, 24 Mar 2006 07:30:56 +0000 (07:30 +0000)]
Hmmm, I don't think we wanted to test // twice and / not at all (in this section).
Neal Norwitz [Fri, 24 Mar 2006 07:03:44 +0000 (07:03 +0000)]
Exceptions should inherit from Exception now.
Neal Norwitz [Fri, 24 Mar 2006 05:36:33 +0000 (05:36 +0000)]
SF bug #
1457411 , fix errors using variables that don't exist.
Rename file -> filename to be clear.
Will backport.
Martin v. Löwis [Thu, 23 Mar 2006 19:21:52 +0000 (19:21 +0000)]
Forward port of 43262: Add 2.4.3 UUIDs.
Martin v. Löwis [Thu, 23 Mar 2006 19:14:23 +0000 (19:14 +0000)]
Relax result test for program mode of quopri.
Martin v. Löwis [Thu, 23 Mar 2006 18:18:35 +0000 (18:18 +0000)]
Preserve command name, for later printing of active
commands. If there are active commands when the tests
start, fail, printing these commands.
Martin v. Löwis [Thu, 23 Mar 2006 18:16:43 +0000 (18:16 +0000)]
Rewrite pipe code using subprocess, to make sure the
child process is closed when the test completes.
Hye-Shik Chang [Thu, 23 Mar 2006 12:32:36 +0000 (12:32 +0000)]
Patch #
1396919 : Reenable the system scope threads on FreeBSD 5.4
and later versions because they bumped the default setting to
get our basic tests to run correctly..
Hye-Shik Chang [Thu, 23 Mar 2006 12:12:44 +0000 (12:12 +0000)]
Cosmetic improvement for r43247
Hye-Shik Chang [Thu, 23 Mar 2006 12:04:37 +0000 (12:04 +0000)]
Skip to install files for empty directories; to name it, Lib/lib-old.
BSD make stops the build when it tries to expand wild cards on empty
directories.
Neal Norwitz [Thu, 23 Mar 2006 06:03:08 +0000 (06:03 +0000)]
Stop duplicating code and handle slice indices consistently and correctly
wrt to ssize_t.
Neal Norwitz [Thu, 23 Mar 2006 05:48:09 +0000 (05:48 +0000)]
Fix a ssize_t issue
Tim Peters [Thu, 23 Mar 2006 05:41:24 +0000 (05:41 +0000)]
Heh -- used the right format for a refcount, but forgot
to stop truncating it.
Neal Norwitz [Thu, 23 Mar 2006 05:39:47 +0000 (05:39 +0000)]
Forward port MvL's fix in 43227:
Fix crash when a Unicode string containing an encoding declaration is
compile()d. Fixes #
1115379 .
Tim Peters [Thu, 23 Mar 2006 05:38:33 +0000 (05:38 +0000)]
_Py_NegativeRefcount(): print the full value of ob_refcnt.
Barry Warsaw [Wed, 22 Mar 2006 14:57:54 +0000 (14:57 +0000)]
Add email/mime to LIBSUBDIRS. Fixes SF bug #
1454912 .
Thomas Heller [Wed, 22 Mar 2006 13:21:16 +0000 (13:21 +0000)]
Fix some int/Py_ssize_t issues which led to compiler warnings
on 64-bit platforms.
Thomas Heller [Wed, 22 Mar 2006 12:59:53 +0000 (12:59 +0000)]
Include <malloc.h> on windows, to avoid warnings when compiling with mingw.
Don't use SEH when compiling wth mingw.
Use IS_INTRESOURCE to determine function name from function ordinal.
Rewrite the code that allocates and frees callback functions, hopefully
this avoids the coverty warnings: Remove the THUNK typedef, and move the
definition of struct ffi_info into the header file.
Thomas Heller [Wed, 22 Mar 2006 10:09:27 +0000 (10:09 +0000)]
ctypes was added.
Hye-Shik Chang [Wed, 22 Mar 2006 08:52:43 +0000 (08:52 +0000)]
Remove false information from the comment and reformat it like other
comments in the file. (SF #
1455641 )
Neal Norwitz [Wed, 22 Mar 2006 07:13:30 +0000 (07:13 +0000)]
Damn another occurrence of using as as a keywordf
Georg Brandl [Wed, 22 Mar 2006 06:44:14 +0000 (06:44 +0000)]
Change NEWS entry for recent socket API change
Tim Peters [Wed, 22 Mar 2006 03:23:21 +0000 (03:23 +0000)]
Whitespace normalization.
Tim Peters [Wed, 22 Mar 2006 02:58:17 +0000 (02:58 +0000)]
Record that test_wait[34] get skipped on native Windows.
Barry Warsaw [Wed, 22 Mar 2006 02:45:50 +0000 (02:45 +0000)]
News about email 4.0.
Barry Warsaw [Tue, 21 Mar 2006 19:46:26 +0000 (19:46 +0000)]
remove test file
Barry Warsaw [Tue, 21 Mar 2006 19:37:40 +0000 (19:37 +0000)]
py trunk svn test