Tarek Ziadé
ca2b8d283a
more tests for the register command
2009-03-31 20:53:13 +00:00
Tarek Ziadé
023862890f
added tests for the clean command
2009-03-31 20:50:59 +00:00
Tarek Ziadé
c7cd138bc2
using log.warn for sys.stderr
2009-03-31 20:48:31 +00:00
Georg Brandl
ef660e8e50
#1674032 : return value of flag from Event.wait(). OKed by Guido.
2009-03-31 20:41:08 +00:00
Hirokazu Yamamoto
1d7d5325be
Issue #5387 : Fixed mmap.move crash by integer overflow. (take2)
2009-03-31 20:14:04 +00:00
Gregory P. Smith
65ff00559a
Issue an actual PendingDeprecationWarning for the TestCase.fail* methods.
...
Document the deprecation.
2009-03-31 19:59:14 +00:00
R. David Murray
41448c58d2
Add NEWS entry for regrtest change.
2009-03-31 19:57:24 +00:00
R. David Murray
612f1d5f48
Remove the regrtest check that turns any ImportError into a skipped test.
...
Hopefully all modules whose imports legitimately result in a skipped
test have been properly wrapped by the previous commits.
2009-03-31 19:49:15 +00:00
R. David Murray
bdeacba51b
Improve test_support.import_module docstring, remove
...
deprecated flag from get_attribute since it isn't likely
to do anything useful.
2009-03-31 19:33:15 +00:00
Josiah Carlson
df90b02415
This resolves issue 1161031. Tests pass.
2009-03-31 19:32:34 +00:00
R. David Murray
73fba6915a
Delete out-of-date and little-known README from the test
...
directory by consensus of devs at pycon sprint.
2009-03-31 19:31:17 +00:00
Georg Brandl
bdaa6a7043
#5618 : fix typo.
2009-03-31 19:30:56 +00:00
Georg Brandl
956ed9782a
#4411 : document mro() and __mro__. (I hope I got it right.)
2009-03-31 19:26:24 +00:00
Georg Brandl
2ce1c61ca6
Fix-up unwanted change.
2009-03-31 19:14:42 +00:00
Georg Brandl
c5d8c63345
#5190 : export make_option in __all__.
2009-03-31 19:12:17 +00:00
Georg Brandl
b48adecbd6
#1096310 : document usage of sys.__std*__ a bit better.
2009-03-31 19:10:35 +00:00
Georg Brandl
5206086e0d
#4882 : document named group behavior a bit better.
2009-03-31 19:06:57 +00:00
Gregory P. Smith
7558d57ad2
Rename the actual method definitions to the official assertFoo names.
...
Adds unittests to make sure the old fail* names continue to work now
and adds a comment that they are pending deprecation.
Also adds a test to confirm that the plural Equals method variants
continue to exist even though we're unlikely to deprecate those.
http://bugs.python.org/issue2578
2009-03-31 19:03:28 +00:00
Georg Brandl
6eabc24416
#5241 : document missing U in regex howto.
2009-03-31 18:38:56 +00:00
Georg Brandl
a9efe6f65c
#5227 : note that Py_Main doesnt return on SystemExit.
2009-03-31 18:33:10 +00:00
R. David Murray
597ebab744
A few more test skips via import_module, and change import_module to
...
return the error message produced by importlib, so that if an import
in the package whose import is being wrapped is what failed the skip
message will contain the name of that module instead of the name of the
wrapped module. Also fixed formatting of some previous comments.
2009-03-31 18:32:17 +00:00
Georg Brandl
9e0b363629
#5245 : note that PyRun_SimpleString doesnt return on SystemExit.
2009-03-31 18:30:37 +00:00
Jesse Noller
1f0a55523f
missed the news/acks for netbsd patch
2009-03-31 18:27:14 +00:00
Georg Brandl
22717dffba
#837577 : note cryptic return value of spawn*e on invalid env dicts.
2009-03-31 18:26:55 +00:00
Jesse Noller
40a6164afa
Apply patch for netbsd multiprocessing support
2009-03-31 18:12:35 +00:00
Raymond Hettinger
3476d1279f
Per the language summit, the optional fastpath imports should use from-import-star.
2009-03-31 17:47:06 +00:00
Georg Brandl
aa118103d7
#970783 : document PyObject_Generic[GS]etAttr.
2009-03-31 17:13:06 +00:00
Georg Brandl
268d85d1e8
#992207 : document that the parser only accepts \\n newlines.
2009-03-31 16:54:38 +00:00
Gregory P. Smith
2839985c7e
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 .
2009-03-31 16:54:10 +00:00
Georg Brandl
c2784229b8
#5417 : replace references to undocumented functions by ones to documented functions.
2009-03-31 16:50:25 +00:00
Georg Brandl
b945bbf33e
#1386675 : specify WindowsError as the exception, because it has a winerror attribute that EnvironmentError doesnt have.
2009-03-31 16:31:11 +00:00
Georg Brandl
624f3372e2
#5529 : backport new docs of import semantics written by Brett to 2.x.
2009-03-31 16:11:45 +00:00
Georg Brandl
21b60afd4c
#5581 : fget argument of abstractproperty is optional as well.
2009-03-31 15:50:16 +00:00
Georg Brandl
74c018a981
#5566 : fix versionadded from PyLong ssize_t functions.
2009-03-31 15:46:30 +00:00
Georg Brandl
382edff289
#5519 : remove reference to Kodos, which seems dead.
2009-03-31 15:43:20 +00:00
Jeremy Hylton
2696275348
Add check for PyDict_Update() error.
2009-03-31 15:04:15 +00:00
Jeremy Hylton
88f1c04215
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.
2009-03-31 13:48:15 +00:00
Jeremy Hylton
1e6da5c39f
Update quicktest to match Python 3 branch
2009-03-31 13:31:00 +00:00
Ronald Oussoren
e392b357e9
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.
2009-03-31 13:20:45 +00:00
Jeremy Hylton
1c157ea984
Add is_declared_global() which distinguishes between implicit and
...
explicit global variables.
2009-03-31 13:17:03 +00:00
Hirokazu Yamamoto
9d2ee5ded2
Issue #5387 : Fixed mmap.move crash by integer overflow.
2009-03-31 13:13:05 +00:00
Jesse Noller
b2898e0acb
add JoinableQueue to __all__
2009-03-31 03:31:16 +00:00
Georg Brandl
42827e91ee
Fix a wrong struct field assignment (docstring as closure).
2009-03-31 01:25:15 +00:00
Andrew M. Kuchling
7706957f59
Add various items
2009-03-31 01:21:01 +00:00
Jesse Noller
82eb5902ce
merge in patch from tim golden to fix contextmanager support for mp.Lock()
2009-03-30 23:29:31 +00:00
R. David Murray
d7bf8a5478
Actually suppress warnings in test_at_least_import_untested_modules
...
inside the catch_warnings context manager.
2009-03-30 23:10:37 +00:00
Ronald Oussoren
e0154ed7ff
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.
2009-03-30 23:10:35 +00:00
Andrew M. Kuchling
6c2633e919
Add more items
2009-03-30 23:09:46 +00:00
Andrew M. Kuchling
efa97718e6
typo fix
2009-03-30 23:08:24 +00:00
R. David Murray
3db8a3432b
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.
2009-03-30 23:05:48 +00:00