]>
granicus.if.org Git - python/log
Georg Brandl [Tue, 31 Mar 2009 18:26:55 +0000 (18:26 +0000)]
#837577: note cryptic return value of spawn*e on invalid env dicts.
Jesse Noller [Tue, 31 Mar 2009 18:12:35 +0000 (18:12 +0000)]
Apply patch for netbsd multiprocessing support
Raymond Hettinger [Tue, 31 Mar 2009 17:47:06 +0000 (17:47 +0000)]
Per the language summit, the optional fastpath imports should use from-import-star.
Georg Brandl [Tue, 31 Mar 2009 17:13:06 +0000 (17:13 +0000)]
#970783: document PyObject_Generic[GS]etAttr.
Georg Brandl [Tue, 31 Mar 2009 16:54:38 +0000 (16:54 +0000)]
#992207: document that the parser only accepts \\n newlines.
Gregory P. Smith [Tue, 31 Mar 2009 16:54:10 +0000 (16:54 +0000)]
The unittest.TestCase.assertEqual() now displays the differences in lists,
tuples, dicts and sets on failure.
Many new handy type and comparison specific assert* methods have been added
that fail with error messages actually useful for debugging. Contributed in
by Google and completed with help from mfoord and GvR at PyCon 2009 sprints.
Discussion lives in http://bugs.python.org/issue2578.
Georg Brandl [Tue, 31 Mar 2009 16:50:25 +0000 (16:50 +0000)]
#5417: replace references to undocumented functions by ones to documented functions.
Georg Brandl [Tue, 31 Mar 2009 16:31:11 +0000 (16:31 +0000)]
#
1386675 : specify WindowsError as the exception, because it has a winerror attribute that EnvironmentError doesnt have.
Georg Brandl [Tue, 31 Mar 2009 16:11:45 +0000 (16:11 +0000)]
#5529: backport new docs of import semantics written by Brett to 2.x.
Georg Brandl [Tue, 31 Mar 2009 15:50:16 +0000 (15:50 +0000)]
#5581: fget argument of abstractproperty is optional as well.
Georg Brandl [Tue, 31 Mar 2009 15:46:30 +0000 (15:46 +0000)]
#5566: fix versionadded from PyLong ssize_t functions.
Georg Brandl [Tue, 31 Mar 2009 15:43:20 +0000 (15:43 +0000)]
#5519: remove reference to Kodos, which seems dead.
Jeremy Hylton [Tue, 31 Mar 2009 15:04:15 +0000 (15:04 +0000)]
Add check for PyDict_Update() error.
Jeremy Hylton [Tue, 31 Mar 2009 13:48:15 +0000 (13:48 +0000)]
Global statements from one function leaked into parallel functions.
Re http://bugs.python.org/issue4315
The symbol table used the same name dictionaries to recursively
analyze each of its child blocks, even though the dictionaries are
modified during analysis. The fix is to create new temporary
dictionaries via the analyze_child_block(). The only information that
needs to propagate back up is the names of the free variables.
Add more comments and break out a helper function. This code doesn't
get any easier to understand when you only look at it once a year.
Jeremy Hylton [Tue, 31 Mar 2009 13:31:00 +0000 (13:31 +0000)]
Update quicktest to match Python 3 branch
Ronald Oussoren [Tue, 31 Mar 2009 13:20:45 +0000 (13:20 +0000)]
Minor update to OSX build-installer script, needed
to ensure that the build will succeed in a clean
checkout and with a non-default deployment target.
Jeremy Hylton [Tue, 31 Mar 2009 13:17:03 +0000 (13:17 +0000)]
Add is_declared_global() which distinguishes between implicit and
explicit global variables.
Hirokazu Yamamoto [Tue, 31 Mar 2009 13:13:05 +0000 (13:13 +0000)]
Issue #5387: Fixed mmap.move crash by integer overflow.
Jesse Noller [Tue, 31 Mar 2009 03:31:16 +0000 (03:31 +0000)]
add JoinableQueue to __all__
Georg Brandl [Tue, 31 Mar 2009 01:25:15 +0000 (01:25 +0000)]
Fix a wrong struct field assignment (docstring as closure).
Andrew M. Kuchling [Tue, 31 Mar 2009 01:21:01 +0000 (01:21 +0000)]
Add various items
Jesse Noller [Mon, 30 Mar 2009 23:29:31 +0000 (23:29 +0000)]
merge in patch from tim golden to fix contextmanager support for mp.Lock()
R. David Murray [Mon, 30 Mar 2009 23:10:37 +0000 (23:10 +0000)]
Actually suppress warnings in test_at_least_import_untested_modules
inside the catch_warnings context manager.
Ronald Oussoren [Mon, 30 Mar 2009 23:10:35 +0000 (23:10 +0000)]
Fix issue #4865: add /Library/Python/2.7/site-packages to
sys.path on OSX, to make it easier to share (some) installed
packages between the system install and a user install.
Andrew M. Kuchling [Mon, 30 Mar 2009 23:09:46 +0000 (23:09 +0000)]
Add more items
Andrew M. Kuchling [Mon, 30 Mar 2009 23:08:24 +0000 (23:08 +0000)]
typo fix
R. David Murray [Mon, 30 Mar 2009 23:05:48 +0000 (23:05 +0000)]
Change more tests to use import_module for the modules that
should cause tests to be skipped. Also rename import_function
to the more descriptive get_attribute and add a docstring.
Georg Brandl [Mon, 30 Mar 2009 22:43:00 +0000 (22:43 +0000)]
#5039: make it clear that the impl. note refers to CPython.
Barry Warsaw [Mon, 30 Mar 2009 22:42:17 +0000 (22:42 +0000)]
A fix for issue 1974, inspired by the patch from Andi Albrecht (aalbrecht),
though with some changes by me. This patch should not be back ported or
forward ported. It's a bit too risky for 2.6 and 3.x does things fairly
differently.
Andrew M. Kuchling [Mon, 30 Mar 2009 22:31:11 +0000 (22:31 +0000)]
Many edits
Andrew M. Kuchling [Mon, 30 Mar 2009 22:30:20 +0000 (22:30 +0000)]
Add several items and placeholders
Andrew M. Kuchling [Mon, 30 Mar 2009 22:29:53 +0000 (22:29 +0000)]
Remove comment
Andrew M. Kuchling [Mon, 30 Mar 2009 22:29:15 +0000 (22:29 +0000)]
Typo fixes
Georg Brandl [Mon, 30 Mar 2009 22:09:34 +0000 (22:09 +0000)]
#5199: make warning about vars() assignment more visible.
Martin v. Löwis [Mon, 30 Mar 2009 22:06:33 +0000 (22:06 +0000)]
Add several VM developers.
Jesse Noller [Mon, 30 Mar 2009 21:53:29 +0000 (21:53 +0000)]
finalize the queue prior to shutdown
Senthil Kumaran [Mon, 30 Mar 2009 21:51:50 +0000 (21:51 +0000)]
Fix for bugs: Issue4675 and Issue4962.
R. David Murray [Mon, 30 Mar 2009 20:04:06 +0000 (20:04 +0000)]
Remove references to test_socket_ssl which was deleted in trunk
in r64392 and py3k in r59038.
Ronald Oussoren [Mon, 30 Mar 2009 20:02:08 +0000 (20:02 +0000)]
Fix for issue 13095
Ronald Oussoren [Mon, 30 Mar 2009 19:56:25 +0000 (19:56 +0000)]
Fixes issue 5270
Ronald Oussoren [Mon, 30 Mar 2009 19:34:51 +0000 (19:34 +0000)]
* Set a custom icon on the Python installer DMG
* Remove last traces of "MacPython"
* Add options to build different flavors of the installer
(still defaulting to a 2-way universal build that
runs on OSX 10.3)
Ronald Oussoren [Mon, 30 Mar 2009 19:22:56 +0000 (19:22 +0000)]
Remove usage of the deprecated '-cString' and '+stringWithCString:' API's
in PythonLauncher, replacing them with the correct counterparts.
R. David Murray [Mon, 30 Mar 2009 19:04:00 +0000 (19:04 +0000)]
Add import_function method to test.test_support, and modify a number of
tests that expect to be skipped if imports fail or functions don't
exist to use import_function and import_module. The ultimate goal is
to change regrtest to not skip automatically on ImportError. Checking
in now to make sure the buldbots don't show any errors on platforms
I can't direct test on.
Ronald Oussoren [Mon, 30 Mar 2009 17:53:39 +0000 (17:53 +0000)]
Fix issue where 'make altinstall' or 'make install' would install everything
that needs to be installed on OSX (depending on the configure flags)
Ronald Oussoren [Mon, 30 Mar 2009 17:15:29 +0000 (17:15 +0000)]
* Updates installed dependencies to latest releaases (bzip, zlib, ...)
* Changes code for updating folder icons from Python code
that uses the deprecated Carbon module to a much simpler
Cocoa program in Objective-C
Kurt B. Kaiser [Mon, 30 Mar 2009 16:22:00 +0000 (16:22 +0000)]
Tk 8.5 Text widget requires 'wordprocessor' tabstyle attr to handle mixed space/tab properly. Issue 5120, patch by Guilherme Polo.
Ronald Oussoren [Mon, 30 Mar 2009 16:01:51 +0000 (16:01 +0000)]
Fix for issue 896199 (some Carbon modules aren't present in the documentation)
Jesse Noller [Mon, 30 Mar 2009 15:50:42 +0000 (15:50 +0000)]
Issue 5177: use socket.SO_REUSEADDR on multiprocessing SocketManager sockets
R. David Murray [Mon, 30 Mar 2009 15:30:34 +0000 (15:30 +0000)]
Revert incorrect change.
Brett Cannon [Mon, 30 Mar 2009 15:20:53 +0000 (15:20 +0000)]
Add an entry to developers.txt.
Ronald Oussoren [Mon, 30 Mar 2009 15:20:46 +0000 (15:20 +0000)]
This patch fixes issue
1254695 (wrong argument type conversion in Carbon.Qt)
Benjamin Peterson [Mon, 30 Mar 2009 15:15:38 +0000 (15:15 +0000)]
don't rely on the order dict repr #5605
R. David Murray [Mon, 30 Mar 2009 15:14:01 +0000 (15:14 +0000)]
Convert import try/except to use test_support.import_module().
Benjamin Peterson [Mon, 30 Mar 2009 14:42:23 +0000 (14:42 +0000)]
add missing import
Benjamin Peterson [Mon, 30 Mar 2009 02:49:32 +0000 (02:49 +0000)]
there's actually three methods here #5600
Benjamin Peterson [Mon, 30 Mar 2009 02:14:21 +0000 (02:14 +0000)]
fix import
Bob Ippolito [Sun, 29 Mar 2009 22:33:58 +0000 (22:33 +0000)]
Issue 5381: fix regression in pure python code path, Issue 5584: fix a decoder bug for unicode float literals outside of a container
Benjamin Peterson [Sun, 29 Mar 2009 22:27:26 +0000 (22:27 +0000)]
add missing import
Benjamin Peterson [Sun, 29 Mar 2009 21:50:14 +0000 (21:50 +0000)]
use the awesome new status iterator
Benjamin Peterson [Sun, 29 Mar 2009 21:31:05 +0000 (21:31 +0000)]
thanks to guido's bytecode verifier, this is fixed
Benjamin Peterson [Sun, 29 Mar 2009 21:22:35 +0000 (21:22 +0000)]
this has been fixed since 2.6 (I love removing these)
Raymond Hettinger [Sun, 29 Mar 2009 18:51:11 +0000 (18:51 +0000)]
Make life easier for non-CPython implementations.
Mark Dickinson [Sun, 29 Mar 2009 16:24:29 +0000 (16:24 +0000)]
Issue #532631: Apply floatformat changes to unicodeobject.c
as well as stringobject.c.
Mark Dickinson [Sun, 29 Mar 2009 16:17:16 +0000 (16:17 +0000)]
Issue #532631: Add paranoid check to avoid potential buffer overflow
on systems with sizeof(int) > 4.
Mark Dickinson [Sun, 29 Mar 2009 14:37:51 +0000 (14:37 +0000)]
Issue #532631: Replace confusing fabs(x)/1e25 >= 1e25 test
with fabs(x) >= 1e50, and fix documentation.
Guilherme Polo [Sun, 29 Mar 2009 10:19:05 +0000 (10:19 +0000)]
Typo fix.
Collin Winter [Sun, 29 Mar 2009 03:44:19 +0000 (03:44 +0000)]
Add the ability to control the random seed used by regrtest.py -r.
This adds a --randseed option, and makes regrtest.py -r indicate what random seed it's using so that that value can later be fed back to --randseed. This option is useful for tracking down test order-related issues found by make buildbottest, for example.
Benjamin Peterson [Sun, 29 Mar 2009 03:39:58 +0000 (03:39 +0000)]
fix consistency
Benjamin Peterson [Sun, 29 Mar 2009 03:31:40 +0000 (03:31 +0000)]
stop the versionchanged directive from hiding the docs
Benjamin Peterson [Sun, 29 Mar 2009 03:16:57 +0000 (03:16 +0000)]
a more realistic example
Georg Brandl [Sat, 28 Mar 2009 19:57:36 +0000 (19:57 +0000)]
Add section numbering to some of the larger subdocuments.
Georg Brandl [Sat, 28 Mar 2009 19:52:58 +0000 (19:52 +0000)]
Switch to fixed Sphinx version.
Georg Brandl [Sat, 28 Mar 2009 19:33:33 +0000 (19:33 +0000)]
Add a script to fixup rst files if the pre-commit hook rejects them.
Antoine Pitrou [Sat, 28 Mar 2009 19:17:54 +0000 (19:17 +0000)]
Fix a typo and be more specific
Guilherme Polo [Sat, 28 Mar 2009 19:17:16 +0000 (19:17 +0000)]
Typo fix
Benjamin Peterson [Sat, 28 Mar 2009 19:16:10 +0000 (19:16 +0000)]
give os.symlink and os.link() better parameter names #5564
Georg Brandl [Sat, 28 Mar 2009 19:10:37 +0000 (19:10 +0000)]
#5324: document __subclasses__().
Antoine Pitrou [Sat, 28 Mar 2009 19:10:13 +0000 (19:10 +0000)]
Publicize the GC untracking optimization
Georg Brandl [Sat, 28 Mar 2009 00:48:48 +0000 (00:48 +0000)]
Fix typo.
Guilherme Polo [Fri, 27 Mar 2009 21:43:08 +0000 (21:43 +0000)]
Adjusted _tkinter to compile without warnings when WITH_THREAD is not
defined (part of issue #5035)
Benjamin Peterson [Thu, 26 Mar 2009 21:44:43 +0000 (21:44 +0000)]
fix another name
Benjamin Peterson [Thu, 26 Mar 2009 21:40:29 +0000 (21:40 +0000)]
update email tests to use SkipTest
Benjamin Peterson [Thu, 26 Mar 2009 21:30:54 +0000 (21:30 +0000)]
** is required here
Benjamin Peterson [Thu, 26 Mar 2009 21:30:10 +0000 (21:30 +0000)]
add missing import
Benjamin Peterson [Thu, 26 Mar 2009 21:11:16 +0000 (21:11 +0000)]
must pass argument to get expected behavior ;)
Benjamin Peterson [Thu, 26 Mar 2009 21:10:30 +0000 (21:10 +0000)]
fix incorrect auto-translation of TestSkipped -> unittest.SkipTest
Benjamin Peterson [Thu, 26 Mar 2009 20:49:40 +0000 (20:49 +0000)]
fix naming
Benjamin Peterson [Thu, 26 Mar 2009 20:48:25 +0000 (20:48 +0000)]
remove test_support.TestSkipped and just use unittest.SkipTest
Benjamin Peterson [Thu, 26 Mar 2009 20:17:27 +0000 (20:17 +0000)]
apply the second part of #4242's patch; classify all the implementation details in test_descr
Benjamin Peterson [Thu, 26 Mar 2009 20:05:50 +0000 (20:05 +0000)]
rename TestCase.skip() to skipTest() because it causes annoying problems with trial #5571
Benjamin Peterson [Thu, 26 Mar 2009 19:58:18 +0000 (19:58 +0000)]
add some useful utilities for skipping tests with unittest's new skipping ability
most significantly apply a modified portion of the patch from #4242 with
patches for skipping implementation details
Benjamin Peterson [Thu, 26 Mar 2009 19:09:21 +0000 (19:09 +0000)]
add support for PyPy
Benjamin Peterson [Thu, 26 Mar 2009 18:58:30 +0000 (18:58 +0000)]
roll old test in with new one
Benjamin Peterson [Thu, 26 Mar 2009 18:55:48 +0000 (18:55 +0000)]
more and more implementations now support sys.subversion
Benjamin Peterson [Thu, 26 Mar 2009 18:35:37 +0000 (18:35 +0000)]
add much better tests for python version information parsing
Benjamin Peterson [Thu, 26 Mar 2009 16:32:23 +0000 (16:32 +0000)]
remove uneeded function
Raymond Hettinger [Wed, 25 Mar 2009 22:41:32 +0000 (22:41 +0000)]
Separate initialization from clearing.
Benjamin Peterson [Wed, 25 Mar 2009 21:42:51 +0000 (21:42 +0000)]
this can be slightly less ugly
Benjamin Peterson [Wed, 25 Mar 2009 21:24:04 +0000 (21:24 +0000)]
add shorthands for expected failures and unexpected success
Marc-André Lemburg [Wed, 25 Mar 2009 19:45:33 +0000 (19:45 +0000)]
News item for the platform.py fix (r70594).