]> granicus.if.org Git - python/log
python
15 years agofix typo
Benjamin Peterson [Fri, 16 Apr 2010 22:25:57 +0000 (22:25 +0000)]
fix typo

15 years agobytearray -> type2test
Benjamin Peterson [Fri, 16 Apr 2010 22:24:16 +0000 (22:24 +0000)]
bytearray -> type2test

15 years agoremove check for unicode
Benjamin Peterson [Fri, 16 Apr 2010 21:55:10 +0000 (21:55 +0000)]
remove check for unicode

15 years agoIgnore jinja2
Antoine Pitrou [Fri, 16 Apr 2010 21:34:02 +0000 (21:34 +0000)]
Ignore jinja2

15 years agoFix issue2987: RFC2732 support for urlparse (IPv6 addresses)
Senthil Kumaran [Fri, 16 Apr 2010 02:46:46 +0000 (02:46 +0000)]
Fix issue2987: RFC2732 support for urlparse (IPv6 addresses)

15 years agoadd space
Benjamin Peterson [Thu, 15 Apr 2010 21:42:16 +0000 (21:42 +0000)]
add space

15 years agoAdd various items
Andrew M. Kuchling [Thu, 15 Apr 2010 01:42:27 +0000 (01:42 +0000)]
Add various items

15 years agoFix os.kill tests to be more robust and work with slower machines.
Brian Curtin [Thu, 15 Apr 2010 00:40:40 +0000 (00:40 +0000)]
Fix os.kill tests to be more robust and work with slower machines.

Rather than depending on some sleep value, start up an interpreter
as a subprocess and communicate with it. Because subprocess pipes
can't be read from until EOF and I want to read from them before that,
use ctypes to peek by using PeekNamedPipe. Once the subprocess has
written the message, then it is ready to roll and accept signals.
After that, kill it.

15 years agoAdd various items; correct argparse output
Andrew M. Kuchling [Wed, 14 Apr 2010 23:55:17 +0000 (23:55 +0000)]
Add various items; correct argparse output

15 years agoFix missing.
Georg Brandl [Wed, 14 Apr 2010 21:46:45 +0000 (21:46 +0000)]
Fix missing.

15 years ago#8370: fix module name in backported doc addition.
Georg Brandl [Wed, 14 Apr 2010 21:36:49 +0000 (21:36 +0000)]
#8370: fix module name in backported doc addition.

15 years ago#5250: document __instancecheck__ and __subclasscheck__. I hope the part about the...
Georg Brandl [Wed, 14 Apr 2010 21:34:44 +0000 (21:34 +0000)]
#5250: document __instancecheck__ and __subclasscheck__.  I hope the part about the class/metaclass distinction is understandable.

15 years ago#8399: add note about Windows and O_BINARY.
Georg Brandl [Wed, 14 Apr 2010 19:16:38 +0000 (19:16 +0000)]
#8399: add note about Windows and O_BINARY.

15 years agoAdd some text
Andrew M. Kuchling [Wed, 14 Apr 2010 14:28:31 +0000 (14:28 +0000)]
Add some text

15 years agoAdd an x-ref to where the O_ constants are documented and move the SEEK_ constants...
Georg Brandl [Wed, 14 Apr 2010 13:50:31 +0000 (13:50 +0000)]
Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek().

15 years ago#5341: fix typo and adapt docstring syntax.
Georg Brandl [Wed, 14 Apr 2010 08:56:01 +0000 (08:56 +0000)]
#5341: fix typo and adapt docstring syntax.

15 years ago#5341: typo.
Georg Brandl [Wed, 14 Apr 2010 08:53:38 +0000 (08:53 +0000)]
#5341: typo.

15 years agoAdd a small sleep to let a subprocess start before terminating it.
Brian Curtin [Wed, 14 Apr 2010 02:24:24 +0000 (02:24 +0000)]
Add a small sleep to let a subprocess start before terminating it.

David Bolen's buildbot isn't know for it's speed, and it seems that we
may have been trying to kill the subprocess before it was fully
initialized. I ran with this change on the bot itself and it seemed to work.

15 years agoAdd argparse example
Andrew M. Kuchling [Wed, 14 Apr 2010 01:14:59 +0000 (01:14 +0000)]
Add argparse example

15 years agoIssue #5277: Fix quote counting when parsing RFC 2231 encoded parameters.
R. David Murray [Tue, 13 Apr 2010 20:57:40 +0000 (20:57 +0000)]
Issue #5277: Fix quote counting when parsing RFC 2231 encoded parameters.

15 years agoFix overzealous patterns in .hgignore, which used to hide files containing e.g. ...
Antoine Pitrou [Tue, 13 Apr 2010 17:36:07 +0000 (17:36 +0000)]
Fix overzealous patterns in .hgignore, which used to hide files containing e.g. "python".

(also an occasional source of bugs on the hgsvn-generated hg mirrors)

15 years agoIn test_winsound, don't try to import _winreg until after checking that winsound...
Mark Dickinson [Tue, 13 Apr 2010 11:37:23 +0000 (11:37 +0000)]
In test_winsound, don't try to import _winreg until after checking that winsound is supported.

15 years agoGet rid of multi-row cells.
Georg Brandl [Tue, 13 Apr 2010 06:43:54 +0000 (06:43 +0000)]
Get rid of multi-row cells.

15 years agoFix #7306. Add skips to test_winsound when no default sound is configured.
Brian Curtin [Tue, 13 Apr 2010 02:25:20 +0000 (02:25 +0000)]
Fix #7306. Add skips to test_winsound when no default sound is configured.

These failures occur on a Windows Server 2003 machine I test on.

15 years agoAdd an item; stray edit
Andrew M. Kuchling [Tue, 13 Apr 2010 01:32:51 +0000 (01:32 +0000)]
Add an item; stray edit

15 years agoFix #8364. Update the setquit docstring and change a built-in to builtin.
Brian Curtin [Mon, 12 Apr 2010 23:30:49 +0000 (23:30 +0000)]
Fix #8364. Update the setquit docstring and change a built-in to builtin.

15 years agoAdd usage notes for collections.Counter().
Raymond Hettinger [Mon, 12 Apr 2010 21:12:06 +0000 (21:12 +0000)]
Add usage notes for collections.Counter().

15 years agoMore struct doc tweaks.
Mark Dickinson [Mon, 12 Apr 2010 20:38:36 +0000 (20:38 +0000)]
More struct doc tweaks.

15 years agoRewrap some long lines in struct module doc source.
Mark Dickinson [Mon, 12 Apr 2010 19:46:20 +0000 (19:46 +0000)]
Rewrap some long lines in struct module doc source.

15 years agoIssue #7355: Various improvements to struct module documentation.
Mark Dickinson [Mon, 12 Apr 2010 19:25:32 +0000 (19:25 +0000)]
Issue #7355: Various improvements to struct module documentation.

 - note early on that the result of struct.pack includes padding
   bytes by default

 - add examples showing how order of struct fields can affect size
   (due to padding)

 - better headers and references; introduction to format strings

 - integrate packing notes into table

Many thanks to Meador Inge for the patch.

15 years agoUpdate the Windows FAQ's text about os.kill (#1220212).
Brian Curtin [Mon, 12 Apr 2010 18:07:21 +0000 (18:07 +0000)]
Update the Windows FAQ's text about os.kill (#1220212).

15 years agoIssue #7585: use tab between components in unified and context diff headers.
R. David Murray [Mon, 12 Apr 2010 16:35:19 +0000 (16:35 +0000)]
Issue #7585: use tab between components in unified and context diff headers.

Instead of spaces between the filename and date (or whatever the string
is that follows the filename, if any) use tabs.  This is what the unix
'diff' command does, for example, and difflib was intended to follow
the 'standard' way of doing diffs.  This improves compatibility with
patch tools.  The docs and examples are also changed to recommended that
the date format used be the ISO 8601 format, which is what modern diff
tools emit by default.

Patch by Anatoly Techtonik.

15 years agoIssue #8367: Fix spurious test failure on systems without a sound card.
Stefan Krah [Mon, 12 Apr 2010 15:21:25 +0000 (15:21 +0000)]
Issue #8367: Fix spurious test failure on systems without a sound card.

15 years agotypo
Barry Warsaw [Mon, 12 Apr 2010 14:40:49 +0000 (14:40 +0000)]
typo

15 years agoIssue #7472: ISO-2022 charsets now consistently use 7bit CTE.
R. David Murray [Mon, 12 Apr 2010 14:26:06 +0000 (14:26 +0000)]
Issue #7472: ISO-2022 charsets now consistently use 7bit CTE.

Fixed a typo in the email.encoders module so that messages output using
an ISO-2022 character set will use a content-transfer-encoding of
7bit consistently.  Previously if the input data had any eight bit
characters the output data would get marked as 8bit even though it
was actually 7bit.

15 years agoAdding additional examples of valid urls as per RFC 3986 (for issue8339)
Senthil Kumaran [Mon, 12 Apr 2010 06:50:24 +0000 (06:50 +0000)]
Adding additional examples of valid urls as per RFC 3986 (for issue8339)

15 years agoRe-enable all tests, to see which ones fail on the buildbots.
Martin v. Löwis [Mon, 12 Apr 2010 05:22:25 +0000 (05:22 +0000)]
Re-enable all tests, to see which ones fail on the buildbots.

15 years agoIssue #8330: Fix expected output in test_gdb.
Martin v. Löwis [Mon, 12 Apr 2010 05:18:16 +0000 (05:18 +0000)]
Issue #8330: Fix expected output in test_gdb.

15 years agoIt is possible to add extra testing options using EXTRATESTOPTS.
Antoine Pitrou [Mon, 12 Apr 2010 00:10:46 +0000 (00:10 +0000)]
It is possible to add extra testing options using EXTRATESTOPTS.
When such extra options include "-x testname", subsequent arguments
are all taken as test names to ignore. Therefore, standard options
must be passed before *TESTOPTS.

(witnessed on the ARM buildbots)

15 years agoFix misplaced items and incorrect title.
Antoine Pitrou [Sun, 11 Apr 2010 22:45:47 +0000 (22:45 +0000)]
Fix misplaced items and incorrect title.

15 years agoIssue #8374: Update the internal alias table in the :mod:`locale` module
Antoine Pitrou [Sun, 11 Apr 2010 22:32:39 +0000 (22:32 +0000)]
Issue #8374: Update the internal alias table in the :mod:`locale` module
to cover recent locale changes and additions.

15 years agoAdd several items
Andrew M. Kuchling [Sun, 11 Apr 2010 20:40:09 +0000 (20:40 +0000)]
Add several items

15 years agoMinor factoring
Raymond Hettinger [Sun, 11 Apr 2010 20:39:28 +0000 (20:39 +0000)]
Minor factoring

15 years agoFix for issues #3581, #1481 and #7650:
Stefan Krah [Sun, 11 Apr 2010 15:15:54 +0000 (15:15 +0000)]
Fix for issues #3581, #1481 and #7650:

1. The assumptions in check_node() were too restrictive:

     - Hardware addresses with universal_local_bit=1 are valid
       (locally administered).

     - Many of the tested functions (including uuid.getnode())
       may return valid RFC 4122 random node IDs. These are pretty
       much random 48-bit values with the multicast bit set to 1.

2. _unixdll_getnode() calls _uuid_generate_time(), which may be None
   on some platforms. The resulting TypeError is now caught.

15 years agoAdd two items
Andrew M. Kuchling [Sun, 11 Apr 2010 12:49:37 +0000 (12:49 +0000)]
Add two items

15 years agoTwo typo fixes
Andrew M. Kuchling [Sun, 11 Apr 2010 12:48:08 +0000 (12:48 +0000)]
Two typo fixes

15 years agoAdd descriptor howto to main documentation
Raymond Hettinger [Sun, 11 Apr 2010 08:14:45 +0000 (08:14 +0000)]
Add descriptor howto to main documentation

15 years agoRemove distutils section
Andrew M. Kuchling [Sun, 11 Apr 2010 01:44:13 +0000 (01:44 +0000)]
Remove distutils section

15 years agoname correct
Andrew M. Kuchling [Sun, 11 Apr 2010 01:40:49 +0000 (01:40 +0000)]
name correct

15 years agoadd test for class with no operations defined
Benjamin Peterson [Sun, 11 Apr 2010 01:40:32 +0000 (01:40 +0000)]
add test for class with no operations defined

15 years agoAdd various items
Andrew M. Kuchling [Sun, 11 Apr 2010 01:40:30 +0000 (01:40 +0000)]
Add various items

15 years agoPunctuation fix
Andrew M. Kuchling [Sun, 11 Apr 2010 01:40:06 +0000 (01:40 +0000)]
Punctuation fix

15 years agoTwo grammar fixes
Andrew M. Kuchling [Sun, 11 Apr 2010 01:39:36 +0000 (01:39 +0000)]
Two grammar fixes

15 years agoAdd the sorting HOWTO to the main docs.
Raymond Hettinger [Sun, 11 Apr 2010 00:01:23 +0000 (00:01 +0000)]
Add the sorting HOWTO to the main docs.

15 years agoRevert temporary commit in r79937
Antoine Pitrou [Sat, 10 Apr 2010 23:32:12 +0000 (23:32 +0000)]
Revert temporary commit in r79937

15 years agoTemporary commit of fix to issue #5380 (in order to watch buildbot response)
Antoine Pitrou [Sat, 10 Apr 2010 22:43:05 +0000 (22:43 +0000)]
Temporary commit of fix to issue #5380 (in order to watch buildbot response)

15 years agofix PYTHONWARNINGS handling to not modify the original env value and improve
Philip Jenvey [Sat, 10 Apr 2010 20:27:15 +0000 (20:27 +0000)]
fix PYTHONWARNINGS handling to not modify the original env value and improve
its tests

15 years agoRefactor a couple inspect module tests to remove duplicate code
Jean-Paul Calderone [Sat, 10 Apr 2010 19:59:28 +0000 (19:59 +0000)]
Refactor a couple inspect module tests to remove duplicate code

The test_classify_oldstyle and test_classify_newstyle methods of
test.test_inspect.TestClassesAndFunctions were previously almost
identical (aside from irrelevant whitespace and one semantic
difference).  They now share a single helper.

Fixes issue #8363.

15 years agoadjust gc_collect for Jython
Philip Jenvey [Sat, 10 Apr 2010 19:39:07 +0000 (19:39 +0000)]
adjust gc_collect for Jython

15 years agotowards beta 2
Benjamin Peterson [Sat, 10 Apr 2010 18:53:58 +0000 (18:53 +0000)]
towards beta 2

15 years agoIssue 8361: Remove assert from functools.total_ordering\ 1
Raymond Hettinger [Sat, 10 Apr 2010 16:57:36 +0000 (16:57 +0000)]
Issue 8361: Remove assert from functools.total_ordering\ 1

15 years agotag first 2.7b1 beta
Benjamin Peterson [Sat, 10 Apr 2010 16:30:11 +0000 (16:30 +0000)]
tag first 2.7b1 beta

15 years agoupdate pydoc-topics v2.7b1
Benjamin Peterson [Sat, 10 Apr 2010 16:28:34 +0000 (16:28 +0000)]
update pydoc-topics

15 years agobump version to 2.7b1
Benjamin Peterson [Sat, 10 Apr 2010 16:22:05 +0000 (16:22 +0000)]
bump version to 2.7b1

15 years agoFix typo in comment
Nick Coghlan [Sat, 10 Apr 2010 15:01:54 +0000 (15:01 +0000)]
Fix typo in comment

15 years agoTry to turn some buildbots green by allowing test_multiprocessing to pass even if...
Nick Coghlan [Sat, 10 Apr 2010 14:24:36 +0000 (14:24 +0000)]
Try to turn some buildbots green by allowing test_multiprocessing to pass even if it hits the sys.exc_clear code in the threading module, and improve the test coverage by making the ctypes dependencies a bit more granular (two of the cited ctypes objects don't exist on my system)

15 years ago#8346: update version.
Georg Brandl [Sat, 10 Apr 2010 11:16:59 +0000 (11:16 +0000)]
#8346: update version.

15 years ago#8360: skipTest was added in 2.7.
Georg Brandl [Sat, 10 Apr 2010 11:15:24 +0000 (11:15 +0000)]
#8360: skipTest was added in 2.7.

15 years agoFixup new itertools recipes.
Raymond Hettinger [Sat, 10 Apr 2010 07:01:32 +0000 (07:01 +0000)]
Fixup new itertools recipes.

15 years agoRevert r79915 (temporary commit to check for buildbots -> the fix was successful)
Antoine Pitrou [Fri, 9 Apr 2010 22:41:31 +0000 (22:41 +0000)]
Revert r79915 (temporary commit to check for buildbots -> the fix was successful)

15 years agoTemporarily commit fix to issue #8108, to check for buildbot response
Antoine Pitrou [Fri, 9 Apr 2010 21:00:36 +0000 (21:00 +0000)]
Temporarily commit fix to issue #8108, to check for buildbot response

15 years agoSSL_MODE_AUTO_RETRY has been added in OpenSSL 0.9.6. Fix compilation
Antoine Pitrou [Fri, 9 Apr 2010 20:38:39 +0000 (20:38 +0000)]
SSL_MODE_AUTO_RETRY has been added in OpenSSL 0.9.6.  Fix compilation
with earlier versions.

15 years agoIssue #8348: Fix test ftp url in test_urllib2net.
Martin v. Löwis [Thu, 8 Apr 2010 17:40:54 +0000 (17:40 +0000)]
Issue #8348: Fix test ftp url in test_urllib2net.

15 years agoIssue #8204: Fix test_ttk notebook test by forcing focus.
Martin v. Löwis [Thu, 8 Apr 2010 17:38:32 +0000 (17:38 +0000)]
Issue #8204: Fix test_ttk notebook test by forcing focus.

15 years agoIssue #8344: Fix test_ttk bug on FreeBSD.
Martin v. Löwis [Thu, 8 Apr 2010 09:47:40 +0000 (09:47 +0000)]
Issue #8344: Fix test_ttk bug on FreeBSD.

15 years agoThis check-in fixes two problems:
Ronald Oussoren [Thu, 8 Apr 2010 08:13:31 +0000 (08:13 +0000)]
This check-in fixes two problems:

1) A non-critical off-by-one error in pythonw

2) A problem in the configure script that caused
   builds with '--enable-framework --enable-universalsdk=/'
   to fail on OSX 10.6.

15 years agoCorrection of unittest documentation typos and omissions
Michael Foord [Thu, 8 Apr 2010 04:33:20 +0000 (04:33 +0000)]
Correction of unittest documentation typos and omissions

15 years agoSwitch regrtest to use StringIO instead of cStringIO for test_multiprocessing on...
Michael Foord [Thu, 8 Apr 2010 00:04:24 +0000 (00:04 +0000)]
Switch regrtest to use StringIO instead of cStringIO for test_multiprocessing on Windows. Issue 8333.

15 years agounittest.result.TestResult does not create its buffers until they're used. It uses...
Michael Foord [Wed, 7 Apr 2010 23:04:22 +0000 (23:04 +0000)]
unittest.result.TestResult does not create its buffers until they're used. It uses StringIO not cStringIO. Issue 8333.

15 years agoIssue #8337: Disable the remaining test also for now.
Martin v. Löwis [Wed, 7 Apr 2010 19:11:32 +0000 (19:11 +0000)]
Issue #8337: Disable the remaining test also for now.

15 years agoDocument the libffi FreeBSD fix.
Jeroen Ruigrok van der Werven [Wed, 7 Apr 2010 16:34:08 +0000 (16:34 +0000)]
Document the libffi FreeBSD fix.

15 years agoFreeBSD is not a sysv platform, so use freebsd.S instead of sysv.S (as is
Jeroen Ruigrok van der Werven [Wed, 7 Apr 2010 14:33:37 +0000 (14:33 +0000)]
FreeBSD is not a sysv platform, so use freebsd.S instead of sysv.S (as is
also the case in FreeBSD's port of libffi).

Reviewed by: dickinsm

15 years agoIssue #8314: Fix unsigned long long bug in libffi on Sparc v8.
Martin v. Löwis [Wed, 7 Apr 2010 11:01:46 +0000 (11:01 +0000)]
Issue #8314: Fix unsigned long long bug in libffi on Sparc v8.

15 years agoUse some more interesting test values for (unsigned) long long ctypes tests,
Mark Dickinson [Wed, 7 Apr 2010 10:18:27 +0000 (10:18 +0000)]
Use some more interesting test values for (unsigned) long long ctypes tests,
in the hope of getting more information about the test_ctypes failures
on Sparc (see issue #8314).

15 years agoIssue #8331: logging: fixed some grammatical errors in documentation.
Vinay Sajip [Wed, 7 Apr 2010 09:40:52 +0000 (09:40 +0000)]
Issue #8331: logging: fixed some grammatical errors in documentation.

15 years agoIssue #8328: Silence Visual Studio warnings.
Stefan Krah [Wed, 7 Apr 2010 08:24:44 +0000 (08:24 +0000)]
Issue #8328: Silence Visual Studio warnings.

15 years agodocument new PYTHONWARNINGS env var
Philip Jenvey [Tue, 6 Apr 2010 23:38:57 +0000 (23:38 +0000)]
document new PYTHONWARNINGS env var

15 years agotell people to update python.man, too
Benjamin Peterson [Tue, 6 Apr 2010 23:32:27 +0000 (23:32 +0000)]
tell people to update python.man, too

15 years ago#7301: add the environment variable $PYTHONWARNINGS to supplement the -W
Philip Jenvey [Tue, 6 Apr 2010 23:24:45 +0000 (23:24 +0000)]
#7301: add the environment variable $PYTHONWARNINGS to supplement the -W
command line option
patch from Brian Curtin

15 years agoFix module directory finding logic for dotted paths in unittest test discovery.
Michael Foord [Tue, 6 Apr 2010 23:18:16 +0000 (23:18 +0000)]
Fix module directory finding logic for dotted paths in unittest test discovery.

15 years agoIssue #8327: logging: Clarification of propagation functionality in documentation.
Vinay Sajip [Tue, 6 Apr 2010 22:32:37 +0000 (22:32 +0000)]
Issue #8327: logging: Clarification of propagation functionality in documentation.

15 years agoMore NaN consistency doc fixes.
Mark Dickinson [Tue, 6 Apr 2010 22:18:23 +0000 (22:18 +0000)]
More NaN consistency doc fixes.

15 years agoUse consistent spelling for nans (thanks Georg for noticing).
Mark Dickinson [Tue, 6 Apr 2010 22:10:55 +0000 (22:10 +0000)]
Use consistent spelling for nans (thanks Georg for noticing).

15 years agoremove a optimization that resulted in unexpected behavior #8929
Benjamin Peterson [Tue, 6 Apr 2010 21:50:00 +0000 (21:50 +0000)]
remove a optimization that resulted in unexpected behavior #8929

15 years agouse skip decorator
Benjamin Peterson [Tue, 6 Apr 2010 21:37:06 +0000 (21:37 +0000)]
use skip decorator

15 years agoFix syntax.
Georg Brandl [Tue, 6 Apr 2010 20:27:59 +0000 (20:27 +0000)]
Fix syntax.

15 years agoIssue #7947: Clarify math module behaviour for IEEE 754 special cases, along
Mark Dickinson [Tue, 6 Apr 2010 19:50:03 +0000 (19:50 +0000)]
Issue #7947:  Clarify math module behaviour for IEEE 754 special cases, along
with a number of additional minor edits and typo corrections.

15 years agoSilence a 'comparison between signed and unsigned integer expressions' gcc warning.
Mark Dickinson [Tue, 6 Apr 2010 18:58:54 +0000 (18:58 +0000)]
Silence a 'comparison between signed and unsigned integer expressions' gcc warning.

15 years agoIssue #8259: Clarify that there's an upper bound on the right-hand operand of a shift...
Mark Dickinson [Tue, 6 Apr 2010 18:20:11 +0000 (18:20 +0000)]
Issue #8259: Clarify that there's an upper bound on the right-hand operand of a shift operator.

15 years agoIssue #8193: Fix test_zlib failure with zlib 1.2.4.
Antoine Pitrou [Tue, 6 Apr 2010 17:21:09 +0000 (17:21 +0000)]
Issue #8193: Fix test_zlib failure with zlib 1.2.4.