........
r70615 | benjamin.peterson | 2009-03-26 20:58:18 +0100 (Do, 26 Mär 2009) | 5 lines
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
........
r70618 | benjamin.peterson | 2009-03-26 21:48:25 +0100 (Do, 26 Mär 2009) | 1 line
remove test_support.TestSkipped and just use unittest.SkipTest
........
r70619 | benjamin.peterson | 2009-03-26 21:49:40 +0100 (Do, 26 Mär 2009) | 1 line
fix naming
........
r70620 | benjamin.peterson | 2009-03-26 22:10:30 +0100 (Do, 26 Mär 2009) | 1 line
fix incorrect auto-translation of TestSkipped -> unittest.SkipTest
........
r70621 | benjamin.peterson | 2009-03-26 22:11:16 +0100 (Do, 26 Mär 2009) | 1 line
must pass argument to get expected behavior ;)
........
r70624 | benjamin.peterson | 2009-03-26 22:30:54 +0100 (Do, 26 Mär 2009) | 1 line
** is required here
........
r70856 | r.david.murray | 2009-03-31 20:32:17 +0200 (Di, 31 Mär 2009) | 7 lines
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.
........
r70864 | gregory.p.smith | 2009-03-31 21:03:28 +0200 (Di, 31 Mär 2009) | 10 lines
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
........
r71004 | benjamin.peterson | 2009-04-02 01:15:49 +0200 (Do, 02 Apr 2009) | 1 line
remove double underscores
........
r71043 | michael.foord | 2009-04-02 07:51:54 +0200 (Do, 02 Apr 2009) | 7 lines
Store the functions in the _type_equality_funcs as wrapped objects that are deep copyable.
This allows for the deep copying of TestCase instances.
Issue 5660
........
r71208 | michael.foord | 2009-04-05 03:15:01 +0200 (So, 05 Apr 2009) | 4 lines
Change the way unittest.TestSuite use their tests to always access them through iteration. Non behavior changing, this allows you to create custom subclasses that override __iter__.
Issue #5693
........
r71721 | benjamin.peterson | 2009-04-18 21:26:19 +0200 (Sa, 18 Apr 2009) | 1 line
fix a few nits in unittest.py #5771
........
r72582 | michael.foord | 2009-05-12 12:46:23 +0200 (Di, 12 Mai 2009) | 1 line
Fix to restore command line behaviour for test modules using unittest.main(). Regression caused by issue 5995. Michael
........
r72583 | michael.foord | 2009-05-12 12:49:13 +0200 (Di, 12 Mai 2009) | 1 line
Better fix for modules using unittest.main(). Fixes regression caused by commit for issue 5995. Michael Foord
........
r72812 | michael.foord | 2009-05-22 00:57:02 +0200 (Fr, 22 Mai 2009) | 1 line
Rename TestCase._result to _resultForDoCleanups to avoid potential clashes in TestCase subclasses. Issue 6072.
........
r72923 | michael.foord | 2009-05-25 22:36:56 +0200 (Mo, 25 Mai 2009) | 1 line
Make assertSequenceEqual error messages less cryptic, particularly for nested sequences.
........
r73151 | michael.foord | 2009-06-02 20:08:27 +0200 (Di, 02 Jun 2009) | 1 line
Restore default testRunner argument in unittest.main to None. Issue 6177
........
r73247 | michael.foord | 2009-06-05 16:14:34 +0200 (Fr, 05 Jun 2009) | 1 line
Fix unittest discovery tests for Windows. Issue 6199
........
r73839 | gregory.p.smith | 2009-07-04 10:42:10 +0200 (Sa, 04 Jul 2009) | 3 lines
Merge r73838 from py3k branch. Use the nondeprecated unittest method
names.
........
r74007 | michael.foord | 2009-07-14 19:58:12 +0200 (Di, 14 Jul 2009) | 1 line
Move TestRunner initialisation into unittest.TestProgram.runTests. Fixes issue 6418.
........
r74095 | benjamin.peterson | 2009-07-19 22:18:21 +0200 (So, 19 Jul 2009) | 1 line
split unittest.py into a package
........
r75095 | michael.foord | 2009-09-27 21:15:41 +0200 (So, 27 Sep 2009) | 1 line
Test creation moved from TestProgram.parseArgs to TestProgram.createTests exclusively. Issue 6956.
........
........
r72199 | benjamin.peterson | 2009-05-02 19:33:01 +0200 (Sa, 02 Mai 2009) | 1 line
remove py3k compat code
........
r72210 | gregory.p.smith | 2009-05-02 20:58:21 +0200 (Sa, 02 Mai 2009) | 2 lines
Convert test method names to PEP8 style.
........
r72241 | gregory.p.smith | 2009-05-03 21:37:05 +0200 (So, 03 Mai 2009) | 3 lines
Optimization: move RFC defined network constant construction out of
the is_*() methods and into module private instances.
........
r73109 | gregory.p.smith | 2009-06-01 19:40:41 +0200 (Mo, 01 Jun 2009) | 6 lines
Sync up __version__ number with the version of the ipaddr-py project this
library came from that it matches.
Remove the former apache license text now that its been contributed to PSF to
avoid confusion.
........
r73135 | gregory.p.smith | 2009-06-02 07:25:34 +0200 (Di, 02 Jun 2009) | 3 lines
Fixes issue6169: it was possible for two ipaddr network addresses to compare
as both < and > than eachother.
........
........
r74000 | amaury.forgeotdarc | 2009-07-13 22:01:11 +0200 (Mo, 13 Jul 2009) | 4 lines
#1616979: Add the cp720 (Arabic DOS) encoding.
Since there is no official mapping file from unicode.org,
the codec file is generated on Windows with the new genwincodec.py script.
........
r74001 | amaury.forgeotdarc | 2009-07-13 22:03:21 +0200 (Mo, 13 Jul 2009) | 2 lines
NEWS entry for r74000.
........
r74006 | amaury.forgeotdarc | 2009-07-14 01:11:54 +0200 (Di, 14 Jul 2009) | 2 lines
Document the newly added codec
........
r74150 | benjamin.peterson | 2009-07-22 01:13:14 +0200 (Mi, 22 Jul 2009) | 1 line
install unittest as a package
........
r74152 | benjamin.peterson | 2009-07-22 02:03:43 +0200 (Mi, 22 Jul 2009) | 1 line
simplify
........
r74173 | benjamin.peterson | 2009-07-22 18:34:37 +0200 (Mi, 22 Jul 2009) | 1 line
revert r74152
........
r74365 | georg.brandl | 2009-08-13 09:48:05 +0200 (Do, 13 Aug 2009) | 1 line
#6679: Remove mention that sub supports no flags.
........
r74513 | skip.montanaro | 2009-08-18 16:37:52 +0200 (Di, 18 Aug 2009) | 1 line
missing module ref (issue6723)
........
r74524 | gregory.p.smith | 2009-08-20 11:39:38 +0200 (Do, 20 Aug 2009) | 2 lines
Add weakref support to the thread.lock type.
........
r74556 | kristjan.jonsson | 2009-08-28 00:20:21 +0200 (Fr, 28 Aug 2009) | 2 lines
issue 6275
Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package. This allows further tests on the exception that was raised after the context manager exits.
........
r74625 | benjamin.peterson | 2009-09-02 00:27:57 +0200 (Mi, 02 Sep 2009) | 1 line
remove the check that classmethod's argument is a callable
........
r74733 | benjamin.peterson | 2009-09-09 13:40:54 +0200 (Mi, 09 Sep 2009) | 1 line
tabbify
........
r74734 | benjamin.peterson | 2009-09-09 13:42:57 +0200 (Mi, 09 Sep 2009) | 1 line
revert unintended changes
........
r74780 | michael.foord | 2009-09-13 18:40:02 +0200 (So, 13 Sep 2009) | 1 line
Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567.
........
r74783 | michael.foord | 2009-09-13 19:28:35 +0200 (So, 13 Sep 2009) | 1 line
unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866.
........
r74785 | michael.foord | 2009-09-13 21:07:03 +0200 (So, 13 Sep 2009) | 1 line
Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
........
r74786 | michael.foord | 2009-09-13 21:08:18 +0200 (So, 13 Sep 2009) | 1 line
Remove an extraneous space in unittest documentation.
........
................
r73325 | amaury.forgeotdarc | 2009-06-10 01:08:13 +0200 (Mi, 10 Jun 2009) | 8 lines
#6201: Fix test_winreg on Windows:
since the introduction of the SETUP_WITH opcode,
__enter__ and __exit__ methods must belong to the type,
and are not retrieved at the instance level (__dict__ or __getattr__).
Add a note in whatsnew about this incompatibility;
old style classes are not affected.
................
r73326 | amaury.forgeotdarc | 2009-06-10 01:18:50 +0200 (Mi, 10 Jun 2009) | 2 lines
Both kind of types are concerned.
................
r73340 | amaury.forgeotdarc | 2009-06-10 22:30:19 +0200 (Mi, 10 Jun 2009) | 2 lines
Fix a typo spotted by Nick Coghlan.
................
r73367 | raymond.hettinger | 2009-06-12 00:04:00 +0200 (Fr, 12 Jun 2009) | 1 line
Add example of how to do key lookups with bisect().
................
r73370 | benjamin.peterson | 2009-06-12 00:06:46 +0200 (Fr, 12 Jun 2009) | 105 lines
Merged revisions 72523,72950-72951,72994,73003,73033,73036-73040,73091-73093,73096,73179-73181,73192,73231,73244,73255-73256,73365 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r72523 | benjamin.peterson | 2009-05-09 14:42:26 -0500 (Sat, 09 May 2009) | 1 line
remove parenthesis
........
r72950 | benjamin.peterson | 2009-05-26 18:19:45 -0500 (Tue, 26 May 2009) | 1 line
remove unused imports
........
r72951 | benjamin.peterson | 2009-05-26 18:27:00 -0500 (Tue, 26 May 2009) | 1 line
this is no longer executable
........
r72994 | benjamin.peterson | 2009-05-28 15:32:54 -0500 (Thu, 28 May 2009) | 1 line
fix test_all_fixers on Windows #6134
........
r73003 | benjamin.peterson | 2009-05-28 21:57:28 -0500 (Thu, 28 May 2009) | 4 lines
make 2to3 test utilities easier to use with other applications (3to2)
Patch by Joe Amenta
........
r73033 | benjamin.peterson | 2009-05-29 16:58:32 -0500 (Fri, 29 May 2009) | 1 line
update grammar for multi with statement
........
r73036 | benjamin.peterson | 2009-05-29 17:33:20 -0500 (Fri, 29 May 2009) | 1 line
simplify fix_unicode
........
r73037 | benjamin.peterson | 2009-05-29 17:53:03 -0500 (Fri, 29 May 2009) | 1 line
add custom error for pattern syntax errors
........
r73038 | benjamin.peterson | 2009-05-29 17:55:00 -0500 (Fri, 29 May 2009) | 1 line
complain if details are attached to a token
........
r73039 | benjamin.peterson | 2009-05-29 18:00:28 -0500 (Fri, 29 May 2009) | 1 line
add a test for whitespace
........
r73040 | benjamin.peterson | 2009-05-29 18:01:17 -0500 (Fri, 29 May 2009) | 1 line
a fix for emacs highlighting
........
r73091 | benjamin.peterson | 2009-05-31 20:55:25 -0500 (Sun, 31 May 2009) | 1 line
deprecate set_prefix() and get_prefix() in favor of a prefix property
........
r73092 | benjamin.peterson | 2009-05-31 21:00:51 -0500 (Sun, 31 May 2009) | 1 line
change hideous java naming scheme
........
r73093 | benjamin.peterson | 2009-05-31 21:01:39 -0500 (Sun, 31 May 2009) | 1 line
remove dated comment
........
r73096 | benjamin.peterson | 2009-05-31 21:40:53 -0500 (Sun, 31 May 2009) | 1 line
group tests
........
r73179 | benjamin.peterson | 2009-06-03 13:09:53 -0500 (Wed, 03 Jun 2009) | 1 line
handle the case where there's multiple trailers #6185
........
r73180 | benjamin.peterson | 2009-06-03 13:18:05 -0500 (Wed, 03 Jun 2009) | 1 line
scrap __main__ section
........
r73181 | benjamin.peterson | 2009-06-03 13:24:48 -0500 (Wed, 03 Jun 2009) | 1 line
remove shebang lines and __main__ sections
........
r73192 | benjamin.peterson | 2009-06-03 19:16:30 -0500 (Wed, 03 Jun 2009) | 4 lines
actually test something here
Thanks to Joe Amenta for noticing.y
........
r73231 | benjamin.peterson | 2009-06-04 13:38:50 -0500 (Thu, 04 Jun 2009) | 1 line
remove unused variable
........
r73244 | benjamin.peterson | 2009-06-05 08:39:25 -0500 (Fri, 05 Jun 2009) | 1 line
allow fixers to give different options in setUp
........
r73255 | benjamin.peterson | 2009-06-06 11:23:46 -0500 (Sat, 06 Jun 2009) | 1 line
fix the except fixer on one line suites #6222
........
r73256 | benjamin.peterson | 2009-06-06 11:27:40 -0500 (Sat, 06 Jun 2009) | 1 line
test one-line else and finally clauses
........
r73365 | benjamin.peterson | 2009-06-11 17:01:32 -0500 (Thu, 11 Jun 2009) | 1 line
normalize whitespace
........
................
r73447 | georg.brandl | 2009-06-16 19:41:33 +0200 (Di, 16 Jun 2009) | 1 line
Add tabularcolumns directive for tables with bullet lists in them.
................
r73534 | amaury.forgeotdarc | 2009-06-23 23:09:09 +0200 (Di, 23 Jun 2009) | 2 lines
Remove the ipaddr module per discussion on python-dev
................
r73537 | amaury.forgeotdarc | 2009-06-23 23:53:46 +0200 (Di, 23 Jun 2009) | 3 lines
Remove last remnants of the ipaddr package.
The changes in mcast.py come from the first version of the patch for issue5379.
................
r73546 | kristjan.jonsson | 2009-06-24 11:17:04 +0200 (Mi, 24 Jun 2009) | 2 lines
http://bugs.python.org/issue6192
Move the newly introduced disable_nagle_algorithm flag into the StreamRequestHandler, where it is more appropriate.
................
r73638 | kristjan.jonsson | 2009-06-28 23:04:17 +0200 (So, 28 Jun 2009) | 2 lines
http://bugs.python.org/issue6267
Cumulative patch to http and xmlrpc
................
r73712 | ezio.melotti | 2009-07-01 00:51:06 +0200 (Mi, 01 Jul 2009) | 1 line
Fixed defaultTestCase -> defaultTestResult
................
r73714 | benjamin.peterson | 2009-07-01 00:57:08 +0200 (Mi, 01 Jul 2009) | 1 line
convert usage of fail* to assert*
................
r73717 | benjamin.peterson | 2009-07-01 01:30:12 +0200 (Mi, 01 Jul 2009) | 1 line
use assert* methods in test_unittest
................
r73720 | benjamin.peterson | 2009-07-01 02:36:41 +0200 (Mi, 01 Jul 2009) | 4 lines
fix a few cases where automated fail -> assert translation messed up
Thanks Joe Amenta
................
r73725 | benjamin.peterson | 2009-07-01 02:49:09 +0200 (Mi, 01 Jul 2009) | 21 lines
Merged revisions 73379,73388,73507,73722 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r73379 | benjamin.peterson | 2009-06-11 18:06:21 -0500 (Thu, 11 Jun 2009) | 1 line
use a real conditional expresion
........
r73388 | benjamin.peterson | 2009-06-12 09:44:29 -0500 (Fri, 12 Jun 2009) | 1 line
fix typo in last fix
........
r73507 | benjamin.peterson | 2009-06-22 13:32:04 -0500 (Mon, 22 Jun 2009) | 1 line
remove svn:executable property
........
r73722 | benjamin.peterson | 2009-06-30 19:44:30 -0500 (Tue, 30 Jun 2009) | 1 line
replace fail* with assert*
........
................
r73818 | gregory.p.smith | 2009-07-03 22:48:31 +0200 (Fr, 03 Jul 2009) | 2 lines
Adds the select.PIPE_BUF attribute to expose the system constant.
................
r73916 | amaury.forgeotdarc | 2009-07-10 00:37:22 +0200 (Fr, 10 Jul 2009) | 5 lines
#6416: Fix compilation of the select module on Windows, as well as test_subprocess:
PIPE_BUF is not defined on Windows, and probably has no meaning there.
Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
................
r73962 | benjamin.peterson | 2009-07-12 00:15:13 +0200 (So, 12 Jul 2009) | 1 line
put downloaded test support files in Lib/test/data instead of the cwd
................
r73963 | benjamin.peterson | 2009-07-12 00:25:24 +0200 (So, 12 Jul 2009) | 1 line
ignore things in Lib/test/data/
................
........
r72570 | michael.foord | 2009-05-11 19:59:43 +0200 (Mo, 11 Mai 2009) | 7 lines
Adds a verbosity keyword argument to unittest.main plus a minor fix allowing you to specify test modules / classes
from the command line.
Closes issue 5995.
Michael Foord
........
r72616 | benjamin.peterson | 2009-05-14 02:33:10 +0200 (Do, 14 Mai 2009) | 1 line
importlib.import_module is better these days
........
r72786 | raymond.hettinger | 2009-05-19 19:43:59 +0200 (Di, 19 Mai 2009) | 1 line
Note that ordered dictionaries work with reversed().
........
r72813 | raymond.hettinger | 2009-05-22 03:06:44 +0200 (Fr, 22 Mai 2009) | 1 line
Fix-up moving average example.
........
r72879 | jeffrey.yasskin | 2009-05-24 01:23:01 +0200 (So, 24 Mai 2009) | 14 lines
Issue #6042:
lnotab-based tracing is very complicated and isn't documented very well. There
were at least 3 comment blocks purporting to document co_lnotab, and none did a
very good job. This patch unifies them into Objects/lnotab_notes.txt which
tries to completely capture the current state of affairs.
I also discovered that we've attached 2 layers of patches to the basic tracing
scheme. The first layer avoids jumping to instructions that don't start a line,
to avoid problems in if statements and while loops. The second layer
discovered that jumps backward do need to trace at instructions that don't
start a line, so it added extra lnotab entries for 'while' and 'for' loops, and
added a special case for backward jumps within the same line. I replaced these
patches by just treating forward and backward jumps differently.
........
r72880 | senthil.kumaran | 2009-05-24 11:14:50 +0200 (So, 24 Mai 2009) | 3 lines
Fixed Issue1424152, urllib2 fails with HTTPS over Proxy.
........
r72890 | gregory.p.smith | 2009-05-24 20:00:13 +0200 (So, 24 Mai 2009) | 2 lines
add a versionadded tag for set_tunnel
........
r72905 | benjamin.peterson | 2009-05-25 02:48:58 +0200 (Mo, 25 Mai 2009) | 4 lines
make class skipping decorators the same as skipping every test of the class
This removes ClassTestSuite and a good bit of hacks.
........
r72912 | benjamin.peterson | 2009-05-25 15:13:44 +0200 (Mo, 25 Mai 2009) | 5 lines
add a SETUP_WITH opcode
It speeds up the with statement and correctly looks up the special
methods involved.
........
r72956 | raymond.hettinger | 2009-05-27 04:24:45 +0200 (Mi, 27 Mai 2009) | 3 lines
Fix field name conflicts for named tuples.
........
r73002 | raymond.hettinger | 2009-05-29 03:46:48 +0200 (Fr, 29 Mai 2009) | 3 lines
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
........
r73027 | michael.foord | 2009-05-29 22:33:46 +0200 (Fr, 29 Mai 2009) | 1 line
Add test discovery to unittest. Issue 6001.
........
r73029 | raymond.hettinger | 2009-05-29 23:20:41 +0200 (Fr, 29 Mai 2009) | 1 line
Move the basic examples section back to the beginning.
........
r73049 | georg.brandl | 2009-05-30 12:45:40 +0200 (Sa, 30 Mai 2009) | 1 line
Rewrap a few long lines.
........
r73060 | gregory.p.smith | 2009-05-30 21:58:11 +0200 (Sa, 30 Mai 2009) | 2 lines
Add more examples to the ipaddr documentation.
........
r73068 | antoine.pitrou | 2009-05-30 23:45:40 +0200 (Sa, 30 Mai 2009) | 3 lines
Update ACKS
........
r73071 | georg.brandl | 2009-05-31 16:15:25 +0200 (So, 31 Mai 2009) | 1 line
Fix markup.
........
r73072 | antoine.pitrou | 2009-05-31 16:20:14 +0200 (So, 31 Mai 2009) | 4 lines
Issue #6152: New option '-j'/'--multiprocess' for regrtest allows running
regression tests in parallel, shortening the total runtime.
........
r73272 | kristjan.jonsson | 2009-06-07 18:43:23 +0200 (So, 07 Jun 2009) | 2 lines
http://bugs.python.org/issue6192
Add a feature to disable the Nagle algorithm on sockets in TCPServer
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72558 | benjamin.peterson | 2009-05-11 01:52:09 +0200 (Mo, 11 Mai 2009) | 1 line
sys.setdefaultencoding() strikes me as a bad example
........
r72745 | benjamin.peterson | 2009-05-17 16:16:29 +0200 (So, 17 Mai 2009) | 1 line
ignore .rst files in sphinx its self
........
r72750 | benjamin.peterson | 2009-05-17 18:59:27 +0200 (So, 17 Mai 2009) | 1 line
chop off slash
........
r72876 | benjamin.peterson | 2009-05-23 22:59:09 +0200 (Sa, 23 Mai 2009) | 1 line
remove mention of old ctypes version
........
r73042 | benjamin.peterson | 2009-05-30 05:10:52 +0200 (Sa, 30 Mai 2009) | 1 line
no fdatasync on macos
........
r73045 | georg.brandl | 2009-05-30 09:26:04 +0200 (Sa, 30 Mai 2009) | 1 line
#6146: fix markup bug.
........
r73046 | georg.brandl | 2009-05-30 09:31:25 +0200 (Sa, 30 Mai 2009) | 1 line
Use preferred form of raising exceptions.
........
r73047 | georg.brandl | 2009-05-30 12:33:23 +0200 (Sa, 30 Mai 2009) | 1 line
Fix some more small markup problems.
........
r73048 | georg.brandl | 2009-05-30 12:34:25 +0200 (Sa, 30 Mai 2009) | 1 line
Fix markup problem.
........
r73069 | benjamin.peterson | 2009-05-31 02:42:42 +0200 (So, 31 Mai 2009) | 1 line
fix signature
........
r73089 | andrew.kuchling | 2009-06-01 02:14:19 +0200 (Mo, 01 Jun 2009) | 1 line
The class for regexes isn't called RegexObject any more; correct the text
........
r73163 | georg.brandl | 2009-06-03 09:25:35 +0200 (Mi, 03 Jun 2009) | 1 line
Use the preferred form of raise statements in the docs.
........
r73186 | georg.brandl | 2009-06-03 23:21:09 +0200 (Mi, 03 Jun 2009) | 1 line
#6174: fix indentation in code example.
........
r73213 | georg.brandl | 2009-06-04 12:15:57 +0200 (Do, 04 Jun 2009) | 1 line
#5967: note that the C slicing APIs do not support negative indices.
........
r73215 | georg.brandl | 2009-06-04 12:22:31 +0200 (Do, 04 Jun 2009) | 1 line
#6176: fix man page section for flock(2).
........
r73217 | georg.brandl | 2009-06-04 12:27:21 +0200 (Do, 04 Jun 2009) | 1 line
#6175: document that inet_aton supports alternate input formats with less than three dots.
........
r73257 | georg.brandl | 2009-06-06 19:50:05 +0200 (Sa, 06 Jun 2009) | 1 line
#6211: elaborate a bit on ways to call the function.
........
r73258 | georg.brandl | 2009-06-06 19:51:31 +0200 (Sa, 06 Jun 2009) | 1 line
#6204: use a real reference instead of "see later".
........
r73260 | georg.brandl | 2009-06-06 20:21:58 +0200 (Sa, 06 Jun 2009) | 1 line
#6224: s/JPython/Jython/, and remove one link to a module nine years old.
........
................
r71119 | raymond.hettinger | 2009-04-04 07:37:47 +0200 (Sa, 04 Apr 2009) | 1 line
Add helpful link.
................
r71263 | michael.foord | 2009-04-05 21:19:28 +0200 (So, 05 Apr 2009) | 4 lines
Adding assertIs and assertIsNot methods to unittest.TestCase
Issue #2578
................
r71406 | andrew.kuchling | 2009-04-09 13:23:36 +0200 (Do, 09 Apr 2009) | 1 line
Typo fixes
................
r71419 | raymond.hettinger | 2009-04-10 00:31:51 +0200 (Fr, 10 Apr 2009) | 1 line
Add note on using keyword arguments with OrderedDict.
................
r71430 | raymond.hettinger | 2009-04-10 06:25:45 +0200 (Fr, 10 Apr 2009) | 1 line
Clarify the table entries for combinatorics.
................
r71435 | raymond.hettinger | 2009-04-10 08:38:39 +0200 (Fr, 10 Apr 2009) | 1 line
Fix the count of datatypes.
................
r71448 | raymond.hettinger | 2009-04-10 15:16:50 +0200 (Fr, 10 Apr 2009) | 1 line
Add examples.
................
r71771 | raymond.hettinger | 2009-04-20 20:23:57 +0200 (Mo, 20 Apr 2009) | 1 line
Fix typo
................
r72173 | gregory.p.smith | 2009-05-01 21:59:52 +0200 (Fr, 01 Mai 2009) | 5 lines
Adds the ipaddr module to the standard library. Issue #3959.
Based off of subversion r69 from http://code.google.com/p/ipaddr-py/
This code is 2to3 safe, I'll merge it into py3k later this afternoon.
................
r72191 | michael.foord | 2009-05-02 13:43:06 +0200 (Sa, 02 Mai 2009) | 9 lines
Adds an exit parameter to unittest.main(). If False main no longer
calls sys.exit.
Closes issue 3379.
Michael Foord
................
r72198 | andrew.kuchling | 2009-05-02 19:12:15 +0200 (Sa, 02 Mai 2009) | 1 line
Add items
................
r72219 | michael.foord | 2009-05-02 22:15:05 +0200 (Sa, 02 Mai 2009) | 8 lines
Add addCleanup and doCleanups to unittest.TestCase.
Closes issue 5679.
Michael Foord
................
r72225 | michael.foord | 2009-05-03 00:43:34 +0200 (So, 03 Mai 2009) | 1 line
................
r72267 | gregory.p.smith | 2009-05-04 02:16:49 +0200 (Mo, 04 Mai 2009) | 3 lines
Issue #4751: For hashlib algorithms provided by OpenSSL, the Python
GIL is now released during computation on data lengths >= 2048 bytes.
................
r72487 | jeffrey.yasskin | 2009-05-08 23:51:06 +0200 (Fr, 08 Mai 2009) | 7 lines
PyCode_NewEmpty:
Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
are trying to build an empty code object, usually to put it in a dummy frame
object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
just the filename, function name, and first line number, instead of also
requiring lots of code internals.
................
r72488 | jeffrey.yasskin | 2009-05-09 00:23:21 +0200 (Sa, 09 Mai 2009) | 13 lines
Issue 5954, PyFrame_GetLineNumber:
Most uses of PyCode_Addr2Line
(http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get
the line number of a specified frame, but there's no way to do that directly.
Forcing people to go through the code object makes them know more about the
guts of the interpreter than they should need.
The remaining uses of PyCode_Addr2Line seem to be getting the line from a
traceback (for example,
http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&q=PyCode_Addr2Line),
which is replaced by the tb_lineno field. So we may be able to deprecate
PyCode_Addr2Line entirely for external use.
................
r72489 | gregory.p.smith | 2009-05-09 01:16:47 +0200 (Sa, 09 Mai 2009) | 3 lines
Fix an off by one error on negative indexs to __getitem__
http://code.google.com/p/ipaddr-py/issues/detail?id=15
................
r72494 | benjamin.peterson | 2009-05-09 03:01:14 +0200 (Sa, 09 Mai 2009) | 21 lines
Merged revisions 72491-72493 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r72491 | benjamin.peterson | 2009-05-08 19:33:27 -0500 (Fri, 08 May 2009) | 7 lines
make 2to3 use unicode internally on 2.x
This started out as a fix for #2660, but became this large refactoring
when I realized the dire state this was in. 2to3 now uses
tokenize.detect_encoding to decode the files correctly into unicode.
........
r72492 | benjamin.peterson | 2009-05-08 19:35:38 -0500 (Fri, 08 May 2009) | 1 line
remove compat code
........
r72493 | benjamin.peterson | 2009-05-08 19:54:15 -0500 (Fri, 08 May 2009) | 1 line
add a test for \r\n newlines
........
................
........
r70598 | benjamin.peterson | 2009-03-25 22:24:04 +0100 (Mi, 25 Mär 2009) | 1 line
add shorthands for expected failures and unexpected success
........
r70605 | benjamin.peterson | 2009-03-26 17:32:23 +0100 (Do, 26 Mär 2009) | 1 line
remove uneeded function
........
r70616 | benjamin.peterson | 2009-03-26 21:05:50 +0100 (Do, 26 Mär 2009) | 1 line
rename TestCase.skip() to skipTest() because it causes annoying problems with trial #5571
........
r70668 | benjamin.peterson | 2009-03-29 05:16:57 +0200 (So, 29 Mär 2009) | 1 line
a more realistic example
........
r70669 | benjamin.peterson | 2009-03-29 05:31:40 +0200 (So, 29 Mär 2009) | 1 line
stop the versionchanged directive from hiding the docs
........
r70671 | benjamin.peterson | 2009-03-29 05:39:58 +0200 (So, 29 Mär 2009) | 1 line
fix consistency
........
r70771 | andrew.kuchling | 2009-03-31 00:31:11 +0200 (Di, 31 Mär 2009) | 1 line
Many edits
........
r70772 | barry.warsaw | 2009-03-31 00:42:17 +0200 (Di, 31 Mär 2009) | 5 lines
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.
........
r70837 | gregory.p.smith | 2009-03-31 18:54:10 +0200 (Di, 31 Mär 2009) | 9 lines
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.
........
r70878 | gregory.p.smith | 2009-03-31 21:59:14 +0200 (Di, 31 Mär 2009) | 3 lines
Issue an actual PendingDeprecationWarning for the TestCase.fail* methods.
Document the deprecation.
........
r70918 | raymond.hettinger | 2009-04-01 00:43:03 +0200 (Mi, 01 Apr 2009) | 1 line
Improve examples for collections.deque()
........
r70939 | jesse.noller | 2009-04-01 05:45:50 +0200 (Mi, 01 Apr 2009) | 1 line
Fix multiprocessing.event to match the new threading.Event API
........
r70986 | raymond.hettinger | 2009-04-01 22:50:58 +0200 (Mi, 01 Apr 2009) | 1 line
Add link to an alternative generator with a long-period.
........
r71031 | brett.cannon | 2009-04-02 05:17:39 +0200 (Do, 02 Apr 2009) | 6 lines
PyImport_AppendInittab() took a char * as a first argument even though that
string was stored beyond the life of the call. Changed the signature to be
const char * to help make this point.
Closes issue #1419652.
........
r71032 | michael.foord | 2009-04-02 05:20:38 +0200 (Do, 02 Apr 2009) | 13 lines
Better exception messages for unittest assert methods.
- unittest.assertNotEqual() now uses the inequality operator (!=) instead
of the equality operator.
- Default assertTrue and assertFalse messages are now useful.
- TestCase has a longMessage attribute. This defaults to False, but if set to True
useful error messages are shown in addition to explicit messages passed to assert methods.
Issue #5663
........
r71036 | jesse.noller | 2009-04-02 06:22:09 +0200 (Do, 02 Apr 2009) | 1 line
Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES
........
r71070 | antoine.pitrou | 2009-04-02 23:18:34 +0200 (Do, 02 Apr 2009) | 3 lines
Issue #2396: backport the memoryview object.
........
r71075 | raymond.hettinger | 2009-04-03 00:34:17 +0200 (Fr, 03 Apr 2009) | 1 line
Update docs for namedtuple's renaming change.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69987 | benjamin.peterson | 2009-02-26 01:30:11 +0100 (Do, 26 Feb 2009) | 1 line
fix str.format()'s first arg #5371
........
r70002 | andrew.kuchling | 2009-02-26 23:34:30 +0100 (Do, 26 Feb 2009) | 1 line
The curses panel library is now supported
........
r70061 | hirokazu.yamamoto | 2009-02-28 16:24:00 +0100 (Sa, 28 Feb 2009) | 1 line
Binary flag is needed on windows.
........
........
r69522 | raymond.hettinger | 2009-02-12 06:39:46 +0100 (Do, 12 Feb 2009) | 3 lines
Issue 5032: added a step argument to itertools.count() and allowed non-integer arguments.
........
r69604 | raymond.hettinger | 2009-02-14 01:25:51 +0100 (Sa, 14 Feb 2009) | 1 line
Add keyword argument support to itertools.count().
........
r69709 | raymond.hettinger | 2009-02-17 09:33:01 +0100 (Di, 17 Feb 2009) | 1 line
Fix-up intro paragraph for collections docs.
........
r69715 | raymond.hettinger | 2009-02-17 12:00:27 +0100 (Di, 17 Feb 2009) | 1 line
Fixup intro paragraphs for the itertools docs. Add some tables for quick reference.
........
r69739 | raymond.hettinger | 2009-02-18 21:54:53 +0100 (Mi, 18 Feb 2009) | 1 line
Generalize the itertools.tee() recipe.
........
r69757 | raymond.hettinger | 2009-02-19 06:34:35 +0100 (Do, 19 Feb 2009) | 1 line
Add some cross-references to the docs. Simplify the python code equivalent for izip(). Supply an optional argument for the nth() recipe.
........
r69761 | raymond.hettinger | 2009-02-19 06:51:41 +0100 (Do, 19 Feb 2009) | 1 line
Add an example for math.fsum() and elaborate on the accurary note.
........
r69765 | raymond.hettinger | 2009-02-19 07:55:03 +0100 (Do, 19 Feb 2009) | 1 line
Add links to helpful external resources.
........
r69777 | jeroen.ruigrok | 2009-02-19 19:52:21 +0100 (Do, 19 Feb 2009) | 3 lines
Since we recommend one module per import line, reflect this also in the
documentation.
........
r69795 | benjamin.peterson | 2009-02-20 04:31:23 +0100 (Fr, 20 Feb 2009) | 1 line
revert r69777 since all the experts agree that extra import lines distract from the code
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69520 | benjamin.peterson | 2009-02-12 04:50:00 +0100 (Do, 12 Feb 2009) | 1 line
os.fsync() should be used to ensure that data is written to disk
........
r69633 | hirokazu.yamamoto | 2009-02-15 10:19:48 +0100 (So, 15 Feb 2009) | 1 line
Fixed typo.
........
r69672 | benjamin.peterson | 2009-02-16 15:54:34 +0100 (Mo, 16 Feb 2009) | 1 line
note functions that are not aliased to PyBytes_ #5280
........
r69703 | raymond.hettinger | 2009-02-16 23:42:54 +0100 (Mo, 16 Feb 2009) | 3 lines
Issue 5229: Documentation for super() neglects to say what super() actually does
........
r69704 | raymond.hettinger | 2009-02-17 00:00:25 +0100 (Di, 17 Feb 2009) | 1 line
Add explanation for super(type1, type2).
........
r69717 | marc-andre.lemburg | 2009-02-17 13:48:19 +0100 (Di, 17 Feb 2009) | 5 lines
Clarify the deprecation of platform.dist().
Add versionadded tags.
........
r69731 | gregory.p.smith | 2009-02-18 06:46:11 +0100 (Mi, 18 Feb 2009) | 3 lines
Clarify socket timeout behavior vs system network stack behavior on connect
for issue5293.
........
........
r69074 | raymond.hettinger | 2009-01-29 00:58:16 +0100 (Do, 29 Jan 2009) | 1 line
Correct docs for ABCs (MutableSequence was missing __setiem). Simplify the table by taking out inherited requirements for abstract methods.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68760 | vinay.sajip | 2009-01-19 07:49:19 +0100 (Mo, 19 Jan 2009) | 1 line
Added more cross-reference targets and tidied up list of useful handlers.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68628 | benjamin.peterson | 2009-01-16 03:55:24 +0100 (Fr, 16 Jan 2009) | 1 line
compare with == not is #4946
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68633 | thomas.heller | 2009-01-16 19:53:44 +0100 (Fr, 16 Jan 2009) | 3 lines
Change an example in the docs to avoid a mistake when the code is copy
pasted and changed afterwards.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68623 | vinay.sajip | 2009-01-15 23:48:13 +0100 (Do, 15 Jan 2009) | 1 line
Made minor changes/corrections in markup. Added a couple of section headings.
........
r68624 | vinay.sajip | 2009-01-16 00:04:47 +0100 (Fr, 16 Jan 2009) | 1 line
Minor changes/corrections in markup.
........
Merged revisions 75312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75312 | antoine.pitrou | 2009-10-10 22:52:11 +0200 (sam., 10 oct. 2009) | 4 lines
Issue #7055: test___all__ now greedily detects all modules which have an
__all__ attribute, rather than using a hardcoded and incomplete list.
........