]> granicus.if.org Git - python/log
python
13 years agoIssue #12687: Fix a possible buffering bug when unpickling text mode (protocol 0...
Antoine Pitrou [Thu, 11 Aug 2011 19:15:53 +0000 (21:15 +0200)]
Issue #12687: Fix a possible buffering bug when unpickling text mode (protocol 0, mostly) pickles.

13 years agoIssue #12687: Fix a possible buffering bug when unpickling text mode (protocol 0...
Antoine Pitrou [Thu, 11 Aug 2011 19:04:02 +0000 (21:04 +0200)]
Issue #12687: Fix a possible buffering bug when unpickling text mode (protocol 0, mostly) pickles.

13 years agoAdd doc for Py_RETURN_NOTIMPLEMENTED, added in #12724.
Brian Curtin [Thu, 11 Aug 2011 14:41:31 +0000 (09:41 -0500)]
Add doc for Py_RETURN_NOTIMPLEMENTED, added in #12724.

13 years agoCloses #12718: Merge documentation fix from 3.2.
Vinay Sajip [Thu, 11 Aug 2011 12:46:54 +0000 (13:46 +0100)]
Closes #12718: Merge documentation fix from 3.2.

13 years agoIssue #12718: Add documentation on using custom importers.
Vinay Sajip [Thu, 11 Aug 2011 12:45:48 +0000 (13:45 +0100)]
Issue #12718: Add documentation on using custom importers.

13 years agomerge
Brian Curtin [Thu, 11 Aug 2011 01:34:20 +0000 (20:34 -0500)]
merge

13 years agoNews item for #12724
Brian Curtin [Thu, 11 Aug 2011 01:32:10 +0000 (20:32 -0500)]
News item for #12724

13 years agoReplace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.
Brian Curtin [Thu, 11 Aug 2011 01:28:54 +0000 (20:28 -0500)]
Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.
The macro was introduced in #12724.

13 years agomerge from 3.2
Senthil Kumaran [Thu, 11 Aug 2011 01:25:45 +0000 (09:25 +0800)]
merge from 3.2

13 years agoNews item for Issue10087.
Senthil Kumaran [Thu, 11 Aug 2011 01:24:37 +0000 (09:24 +0800)]
News item for Issue10087.

13 years agoFix closes Issue10087 - fixing the output of calendar display in the html format...
Senthil Kumaran [Thu, 11 Aug 2011 01:22:52 +0000 (09:22 +0800)]
Fix closes Issue10087 -  fixing the output of calendar display in the html format. Patch by Chris Lambacher. Test Contributed by catherine.

13 years agoAdd Py_RETURN_NOTIMPLEMENTED macro. Fixes #12724.
Brian Curtin [Thu, 11 Aug 2011 01:05:21 +0000 (20:05 -0500)]
Add Py_RETURN_NOTIMPLEMENTED macro. Fixes #12724.

13 years ago2.x syntax
Benjamin Peterson [Tue, 9 Aug 2011 23:48:02 +0000 (18:48 -0500)]
2.x syntax

13 years agomake this work on 2.4
Benjamin Peterson [Tue, 9 Aug 2011 23:38:57 +0000 (18:38 -0500)]
make this work on 2.4

13 years agomake this work with py2.5
Benjamin Peterson [Tue, 9 Aug 2011 21:49:52 +0000 (16:49 -0500)]
make this work with py2.5

13 years agotypo
Benjamin Peterson [Tue, 9 Aug 2011 21:49:13 +0000 (16:49 -0500)]
typo

13 years agodon't rewrite the header file if it hasn't changed; this reduces development build...
Benjamin Peterson [Tue, 9 Aug 2011 21:28:58 +0000 (16:28 -0500)]
don't rewrite the header file if it hasn't changed; this reduces development build time

13 years agofix indentation
Benjamin Peterson [Tue, 9 Aug 2011 21:17:12 +0000 (16:17 -0500)]
fix indentation

13 years agomerge heads
Benjamin Peterson [Tue, 9 Aug 2011 21:16:33 +0000 (16:16 -0500)]
merge heads

13 years agomerge 3.2 (#12719)
Benjamin Peterson [Tue, 9 Aug 2011 21:15:29 +0000 (16:15 -0500)]
merge 3.2 (#12719)

13 years agoadd a AST validator (closes #12575)
Benjamin Peterson [Tue, 9 Aug 2011 21:15:04 +0000 (16:15 -0500)]
add a AST validator (closes #12575)

13 years agoforgotten in f578ca44193d
Benjamin Peterson [Tue, 9 Aug 2011 21:14:45 +0000 (16:14 -0500)]
forgotten in f578ca44193d

13 years agothe bool asdl type died a while ago
Benjamin Peterson [Tue, 9 Aug 2011 21:10:09 +0000 (16:10 -0500)]
the bool asdl type died a while ago

13 years agoadd a asdl bytes type, so Bytes.s be properly typechecked
Benjamin Peterson [Tue, 9 Aug 2011 21:08:39 +0000 (16:08 -0500)]
add a asdl bytes type, so Bytes.s be properly typechecked

13 years agonote mutating tp_dict is bad (closes #12719)
Benjamin Peterson [Tue, 9 Aug 2011 21:07:01 +0000 (16:07 -0500)]
note mutating tp_dict is bad (closes #12719)

13 years agoAdd support for unary plus and unary minus to collections.Counter()
Raymond Hettinger [Tue, 9 Aug 2011 20:00:40 +0000 (13:00 -0700)]
Add support for unary plus and unary minus to collections.Counter()

13 years agoMerge 3.2
Éric Araujo [Tue, 9 Aug 2011 16:09:21 +0000 (18:09 +0200)]
Merge 3.2

13 years agoBranch merge
Éric Araujo [Tue, 9 Aug 2011 16:01:52 +0000 (18:01 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Tue, 9 Aug 2011 16:01:38 +0000 (18:01 +0200)]
Branch merge

13 years agoIssue #12700: fix test_faulthandler for Mac OS X Lion
Victor Stinner [Mon, 8 Aug 2011 20:43:45 +0000 (22:43 +0200)]
Issue #12700: fix test_faulthandler for Mac OS X Lion

Read from NULL raises SIGILL, not SIGSEGV, on Mac OS X Lion.

13 years agoMerge with 3.2.
Georg Brandl [Mon, 8 Aug 2011 19:45:24 +0000 (21:45 +0200)]
Merge with 3.2.

13 years agoConfirm that the prime example is actually correct. We get so many complaints about...
Georg Brandl [Mon, 8 Aug 2011 19:45:13 +0000 (21:45 +0200)]
Confirm that the prime example is actually correct.  We get so many complaints about a "buggy example" on docs@python, let us hope this cuts them in half at least.

13 years agoMerge 3.2
Éric Araujo [Mon, 8 Aug 2011 14:56:46 +0000 (16:56 +0200)]
Merge 3.2

13 years agoBranch merge
Éric Araujo [Mon, 8 Aug 2011 14:56:17 +0000 (16:56 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Mon, 8 Aug 2011 14:56:00 +0000 (16:56 +0200)]
Branch merge

13 years agoClean up shutil.disk_usage.
Éric Araujo [Mon, 8 Aug 2011 14:51:11 +0000 (16:51 +0200)]
Clean up shutil.disk_usage.

- Move a test from call time to define time
- Add the function name to __all__
- Improve docstring and docs

A few lines are now duplicated (named tuple definition and docstring)
but I think the end result reads better.

13 years ago#12709: merge with 3.2
Sandro Tosi [Mon, 8 Aug 2011 14:38:47 +0000 (16:38 +0200)]
#12709: merge with 3.2

13 years ago#12709: add error_callback argument to map_async documentation
Sandro Tosi [Mon, 8 Aug 2011 14:38:13 +0000 (16:38 +0200)]
#12709: add error_callback argument to map_async documentation

13 years ago#10741: merge with 3.2
Sandro Tosi [Sun, 7 Aug 2011 22:17:43 +0000 (00:17 +0200)]
#10741: merge with 3.2

13 years ago#10741: add documentation for PyGILState_GetThisThreadState()
Sandro Tosi [Sun, 7 Aug 2011 22:16:54 +0000 (00:16 +0200)]
#10741: add documentation for PyGILState_GetThisThreadState()

13 years ago#12677: merge with 3.2
Sandro Tosi [Sun, 7 Aug 2011 15:13:13 +0000 (17:13 +0200)]
#12677: merge with 3.2

13 years ago#12677: correct turtle orientation in doc
Sandro Tosi [Sun, 7 Aug 2011 15:12:19 +0000 (17:12 +0200)]
#12677: correct turtle orientation in doc

13 years agoMerge doc changes from 3.2 (#8617, #10745).
Éric Araujo [Sat, 6 Aug 2011 14:58:15 +0000 (16:58 +0200)]
Merge doc changes from 3.2 (#8617, #10745).

In the install and library docs, I changed the text to refer to
packaging instead of distutils.  I also checked that the documented
paths correctly reflect what’s really defined in sysconfig; the main
difference with paths defined in distutils.install is that include
directories don’t end with the distribution name anymore (i.e. distutils
uses include/python3.3/spam, sysconfig include/python3.3), I have no
idea why.

13 years agoAdd documentation for PEP 370 features in distutils (#10745).
Éric Araujo [Sat, 6 Aug 2011 14:30:42 +0000 (16:30 +0200)]
Add documentation for PEP 370 features in distutils (#10745).

This started out as an easy task, just add a section describing this
alternate scheme, but I found a lot of cleanup to do along the way:

- fixed inverted reST targets
- fixed entries for modules (hi abiflags!) or data files
- avoided duplicating the same options listing five or six times
- added missing entries for C headers locations
- added documentation for --install-lib
- fixed a few misuses of the option role (see #9312), but not all (not
  worth the time, but will do it in packaging docs)
- fixed some markup

The paths fixes were done with an eye on the source code in the install
command, so they really describe what’s actually done.  The situation on
Mac OS X is rather messy: the fix for #8084 touched site and sysconfig,
but distutils doesn’t use these files.  I suspect we have a mismatched
stdlib at the moment, and the fix is not even clear (see the bug report
for further discussion).

13 years agoFix grammar
Eli Bendersky [Sat, 6 Aug 2011 06:32:11 +0000 (09:32 +0300)]
Fix grammar

13 years agoFix grammar
Eli Bendersky [Sat, 6 Aug 2011 06:31:09 +0000 (09:31 +0300)]
Fix grammar

13 years agomerge from 3.2 - Fix closes Issue12697 - Update the usage syntax of timeit module...
Senthil Kumaran [Sat, 6 Aug 2011 05:37:37 +0000 (13:37 +0800)]
merge from 3.2 - Fix closes Issue12697 - Update the usage syntax of timeit module in the docs.

13 years agoFix closes Issue12697 - Update the usage syntax of timeit module in the docs.
Senthil Kumaran [Sat, 6 Aug 2011 05:37:04 +0000 (13:37 +0800)]
Fix closes Issue12697 - Update the usage syntax of timeit module in the docs.

13 years agomerge from 3.2 - Fix closes issue11047 - Correct the 2.7 whatsnew description for...
Senthil Kumaran [Sat, 6 Aug 2011 04:55:06 +0000 (12:55 +0800)]
merge from 3.2 - Fix closes issue11047 - Correct the 2.7 whatsnew description for issue 7902.

13 years agomerge from 2.7 - Fix closes issue11047 - Correct the 2.7 whatsnew description for...
Senthil Kumaran [Sat, 6 Aug 2011 04:54:23 +0000 (12:54 +0800)]
merge from 2.7 - Fix closes issue11047 - Correct the 2.7 whatsnew description for issue 7902.

13 years agomerge from 3.2 - Fix closes issue12698 - make the no_proxy environment variable handl...
Senthil Kumaran [Sat, 6 Aug 2011 04:28:16 +0000 (12:28 +0800)]
merge from 3.2 - Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)

13 years agoFix closes issue12698 - make the no_proxy environment variable handling a bit lenient...
Senthil Kumaran [Sat, 6 Aug 2011 04:27:40 +0000 (12:27 +0800)]
Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)

13 years agoImprove documentation for PEP 370 support in site module (#8617).
Éric Araujo [Fri, 5 Aug 2011 23:51:07 +0000 (01:51 +0200)]
Improve documentation for PEP 370 support in site module (#8617).

site.USER_BASE and site.USER_SITE are now fully documented.  PEP 370 is
outdated with respects to the Mac framework situation, but the code in
sysconfig and the example in the 3.2 What’s New document helped me find
the right values to document for Mac OS X.

The command-line interface of the site module, partly documented in the
3.2 What’s New, is fully described in the module docs.

The purpose of the usercustomize module is explained in the site docs,
with a gentle introduction in the tutorial (right after the section that
talks about PYTHONSTARTUP; a comment mentions it should be moved from
the tutorial to another file, but that will be another bug).

Various markup and wording improvements were made along the way in the
site module docs.  Duplicate and incomplete declarations of environment
variables have also been removed (the original bug report was actually
about these entries :).  The site module docs are still a bit messy;
I’ll see about improving them for #11553.

All these sections are copiously interlinked and findable from the doc
indexes.

13 years ago#11572: improvements to copy module tests along with removal of old test suite
Sandro Tosi [Fri, 5 Aug 2011 21:05:35 +0000 (23:05 +0200)]
#11572: improvements to copy module tests along with removal of old test suite

13 years agoFix wrong use of root logger in packaging (also a NameError)
Éric Araujo [Thu, 4 Aug 2011 15:17:07 +0000 (17:17 +0200)]
Fix wrong use of root logger in packaging (also a NameError)

13 years agoIssue #12540: Prevent zombie IDLE processes on Windows due to changes
Ned Deily [Fri, 5 Aug 2011 06:38:19 +0000 (23:38 -0700)]
Issue #12540: Prevent zombie IDLE processes on Windows due to changes
in os.kill().  Original patch by Eli Bendersky.

13 years agoSilence the altered state warning about threadgs when running test_httplib.
Brett Cannon [Fri, 5 Aug 2011 05:43:11 +0000 (22:43 -0700)]
Silence the altered state warning about threadgs when running test_httplib.

13 years agoSilence altered execution state warnings from test_telnetlib involving threads.
Brett Cannon [Fri, 5 Aug 2011 05:37:55 +0000 (22:37 -0700)]
Silence altered execution state warnings from test_telnetlib involving threads.

13 years agoExplicitly close a file to stop raising a ResourceWarning.
Brett Cannon [Fri, 5 Aug 2011 04:34:52 +0000 (21:34 -0700)]
Explicitly close a file to stop raising a ResourceWarning.

13 years agomerge 3.2
Benjamin Peterson [Thu, 4 Aug 2011 16:09:57 +0000 (11:09 -0500)]
merge 3.2

13 years agodosmodule is, thankfully, no more
Benjamin Peterson [Thu, 4 Aug 2011 16:07:42 +0000 (11:07 -0500)]
dosmodule is, thankfully, no more

13 years agomerge from 3.2 - change the extra svn to svn+ssh
Senthil Kumaran [Wed, 3 Aug 2011 14:09:51 +0000 (22:09 +0800)]
merge from 3.2 - change the extra svn to svn+ssh

13 years agochange the redundant svn scheme urljoin test case to svn+ssh scheme.
Senthil Kumaran [Wed, 3 Aug 2011 14:08:46 +0000 (22:08 +0800)]
change the redundant svn scheme urljoin test case to svn+ssh scheme.

13 years agomerge heads
Benjamin Peterson [Wed, 3 Aug 2011 13:54:44 +0000 (08:54 -0500)]
merge heads

13 years agofix arg strings
Benjamin Peterson [Wed, 3 Aug 2011 13:54:26 +0000 (08:54 -0500)]
fix arg strings

13 years agomerged heads
Senthil Kumaran [Wed, 3 Aug 2011 10:46:24 +0000 (18:46 +0800)]
merged heads

13 years agomerge heads
Senthil Kumaran [Wed, 3 Aug 2011 10:45:02 +0000 (18:45 +0800)]
merge heads

13 years agomerge from 3.2 - Fix closes issue12683 - urljoin to work with relative join of svn...
Senthil Kumaran [Wed, 3 Aug 2011 10:44:10 +0000 (18:44 +0800)]
merge from 3.2 - Fix closes issue12683 - urljoin to work with relative join of svn scheme.

13 years agoFix closes issue12683 - urljoin to work with relative join of svn scheme.
Senthil Kumaran [Wed, 3 Aug 2011 10:37:22 +0000 (18:37 +0800)]
Fix closes issue12683 - urljoin to work with relative join of svn scheme.

13 years agoMerge with 3.2.
Georg Brandl [Wed, 3 Aug 2011 06:29:12 +0000 (08:29 +0200)]
Merge with 3.2.

13 years agoFix spacing in string literal.
Georg Brandl [Wed, 3 Aug 2011 06:27:00 +0000 (08:27 +0200)]
Fix spacing in string literal.

13 years agohandle sched_rr_get_interval not working on current
Benjamin Peterson [Wed, 3 Aug 2011 03:19:14 +0000 (22:19 -0500)]
handle sched_rr_get_interval not working on current

13 years agofix punctuation
Benjamin Peterson [Wed, 3 Aug 2011 03:15:40 +0000 (22:15 -0500)]
fix punctuation

13 years agofix indentation
Benjamin Peterson [Wed, 3 Aug 2011 03:10:55 +0000 (22:10 -0500)]
fix indentation

13 years agomerge heads
Benjamin Peterson [Wed, 3 Aug 2011 03:09:56 +0000 (22:09 -0500)]
merge heads

13 years agoOSX doesn't check sched_get_priority_(min/max) argument
Benjamin Peterson [Wed, 3 Aug 2011 03:09:37 +0000 (22:09 -0500)]
OSX doesn't check sched_get_priority_(min/max) argument

13 years agoIssue #11049: fix test_forget on installed Python - add os.curdir to sys.path
Eli Bendersky [Wed, 3 Aug 2011 02:18:33 +0000 (05:18 +0300)]
Issue #11049: fix test_forget on installed Python - add os.curdir to sys.path

13 years agoIssue #12540: Prevent zombie IDLE processes on Windows due to changes
Ned Deily [Wed, 3 Aug 2011 01:47:13 +0000 (18:47 -0700)]
Issue #12540: Prevent zombie IDLE processes on Windows due to changes
in os.kill().  Original patch by Eli Bendersky.

13 years agoneed NULL sentinel
Benjamin Peterson [Wed, 3 Aug 2011 00:56:11 +0000 (19:56 -0500)]
need NULL sentinel

13 years agomerge heads
Benjamin Peterson [Tue, 2 Aug 2011 23:49:38 +0000 (18:49 -0500)]
merge heads

13 years agobsd doesn't like letting normal processes set the scheduler
Benjamin Peterson [Tue, 2 Aug 2011 23:48:59 +0000 (18:48 -0500)]
bsd doesn't like letting normal processes set the scheduler

13 years agomerge heads.
Senthil Kumaran [Tue, 2 Aug 2011 23:44:46 +0000 (07:44 +0800)]
merge heads.

13 years agoFix closes issue12663 - Correcting the ArgumentParser.error description. Patch by...
Senthil Kumaran [Tue, 2 Aug 2011 23:43:01 +0000 (07:43 +0800)]
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.

13 years agoFix closes issue12663 - Correcting the ArgumentParser.error description. Patch by...
Senthil Kumaran [Tue, 2 Aug 2011 23:42:18 +0000 (07:42 +0800)]
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.

13 years agoavoid warning when SchedParamType is not used
Benjamin Peterson [Tue, 2 Aug 2011 23:42:14 +0000 (18:42 -0500)]
avoid warning when SchedParamType is not used

13 years agoonly add sched_param if it is initialized
Benjamin Peterson [Tue, 2 Aug 2011 23:40:46 +0000 (18:40 -0500)]
only add sched_param if it is initialized

13 years agoI have been spoiled by chained comparisons in python
Benjamin Peterson [Tue, 2 Aug 2011 23:34:30 +0000 (18:34 -0500)]
I have been spoiled by chained comparisons in python

13 years agocomparing on number of cpus makes more sense
Benjamin Peterson [Tue, 2 Aug 2011 23:22:30 +0000 (18:22 -0500)]
comparing on number of cpus makes more sense

13 years agofix sched defines
Benjamin Peterson [Tue, 2 Aug 2011 23:11:38 +0000 (18:11 -0500)]
fix sched defines

13 years agocheck individually for some for sched_ functions
Benjamin Peterson [Tue, 2 Aug 2011 23:07:32 +0000 (18:07 -0500)]
check individually for some for sched_ functions

13 years agomove news note to correct section
Benjamin Peterson [Tue, 2 Aug 2011 22:45:00 +0000 (17:45 -0500)]
move news note to correct section

13 years agomake_new_cpu_set takes the number of cpus
Benjamin Peterson [Tue, 2 Aug 2011 22:44:26 +0000 (17:44 -0500)]
make_new_cpu_set takes the number of cpus

13 years agosched.h can exist without sched affinity support
Benjamin Peterson [Tue, 2 Aug 2011 22:41:34 +0000 (17:41 -0500)]
sched.h can exist without sched affinity support

13 years agoexpose sched.h functions (closes #12655)
Benjamin Peterson [Tue, 2 Aug 2011 22:30:04 +0000 (17:30 -0500)]
expose sched.h functions (closes #12655)

13 years agoNEWS note for bbeda42ea6a8
Benjamin Peterson [Tue, 2 Aug 2011 22:29:30 +0000 (17:29 -0500)]
NEWS note for bbeda42ea6a8

13 years agomerge heads
Benjamin Peterson [Tue, 2 Aug 2011 18:06:19 +0000 (13:06 -0500)]
merge heads

13 years agoadd ThreadError to threading.__all__ (closes #12679)
Benjamin Peterson [Tue, 2 Aug 2011 18:05:47 +0000 (13:05 -0500)]
add ThreadError to threading.__all__ (closes #12679)

13 years ago#12665: merge with 3.2
Sandro Tosi [Tue, 2 Aug 2011 16:43:49 +0000 (18:43 +0200)]
#12665: merge with 3.2

13 years ago#12665: Dictionary view example has error in set operation
Sandro Tosi [Tue, 2 Aug 2011 16:42:04 +0000 (18:42 +0200)]
#12665: Dictionary view example has error in set operation

13 years ago#12670: merge with 3.2
Sandro Tosi [Tue, 2 Aug 2011 14:44:31 +0000 (16:44 +0200)]
#12670: merge with 3.2