]>
granicus.if.org Git - python/log
Vinay Sajip [Thu, 11 Aug 2011 12:46:54 +0000 (13:46 +0100)]
Closes #12718: Merge documentation fix from 3.2.
Vinay Sajip [Thu, 11 Aug 2011 12:45:48 +0000 (13:45 +0100)]
Issue #12718: Add documentation on using custom importers.
Brian Curtin [Thu, 11 Aug 2011 01:34:20 +0000 (20:34 -0500)]
merge
Brian Curtin [Thu, 11 Aug 2011 01:32:10 +0000 (20:32 -0500)]
News item for #12724
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.
Senthil Kumaran [Thu, 11 Aug 2011 01:25:45 +0000 (09:25 +0800)]
merge from 3.2
Senthil Kumaran [Thu, 11 Aug 2011 01:24:37 +0000 (09:24 +0800)]
News item for Issue10087.
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.
Brian Curtin [Thu, 11 Aug 2011 01:05:21 +0000 (20:05 -0500)]
Add Py_RETURN_NOTIMPLEMENTED macro. Fixes #12724.
Benjamin Peterson [Tue, 9 Aug 2011 23:48:02 +0000 (18:48 -0500)]
2.x syntax
Benjamin Peterson [Tue, 9 Aug 2011 23:38:57 +0000 (18:38 -0500)]
make this work on 2.4
Benjamin Peterson [Tue, 9 Aug 2011 21:49:52 +0000 (16:49 -0500)]
make this work with py2.5
Benjamin Peterson [Tue, 9 Aug 2011 21:49:13 +0000 (16:49 -0500)]
typo
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
Benjamin Peterson [Tue, 9 Aug 2011 21:17:12 +0000 (16:17 -0500)]
fix indentation
Benjamin Peterson [Tue, 9 Aug 2011 21:16:33 +0000 (16:16 -0500)]
merge heads
Benjamin Peterson [Tue, 9 Aug 2011 21:15:29 +0000 (16:15 -0500)]
merge 3.2 (#12719)
Benjamin Peterson [Tue, 9 Aug 2011 21:15:04 +0000 (16:15 -0500)]
add a AST validator (closes #12575)
Benjamin Peterson [Tue, 9 Aug 2011 21:14:45 +0000 (16:14 -0500)]
forgotten in
f578ca44193d
Benjamin Peterson [Tue, 9 Aug 2011 21:10:09 +0000 (16:10 -0500)]
the bool asdl type died a while ago
Benjamin Peterson [Tue, 9 Aug 2011 21:08:39 +0000 (16:08 -0500)]
add a asdl bytes type, so Bytes.s be properly typechecked
Benjamin Peterson [Tue, 9 Aug 2011 21:07:01 +0000 (16:07 -0500)]
note mutating tp_dict is bad (closes #12719)
Raymond Hettinger [Tue, 9 Aug 2011 20:00:40 +0000 (13:00 -0700)]
Add support for unary plus and unary minus to collections.Counter()
Éric Araujo [Tue, 9 Aug 2011 16:09:21 +0000 (18:09 +0200)]
Merge 3.2
Éric Araujo [Tue, 9 Aug 2011 16:01:52 +0000 (18:01 +0200)]
Branch merge
Éric Araujo [Tue, 9 Aug 2011 16:01:38 +0000 (18:01 +0200)]
Branch merge
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.
Georg Brandl [Mon, 8 Aug 2011 19:45:24 +0000 (21:45 +0200)]
Merge with 3.2.
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.
Éric Araujo [Mon, 8 Aug 2011 14:56:46 +0000 (16:56 +0200)]
Merge 3.2
Éric Araujo [Mon, 8 Aug 2011 14:56:17 +0000 (16:56 +0200)]
Branch merge
Éric Araujo [Mon, 8 Aug 2011 14:56:00 +0000 (16:56 +0200)]
Branch merge
É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.
Sandro Tosi [Mon, 8 Aug 2011 14:38:47 +0000 (16:38 +0200)]
#12709: merge with 3.2
Sandro Tosi [Mon, 8 Aug 2011 14:38:13 +0000 (16:38 +0200)]
#12709: add error_callback argument to map_async documentation
Sandro Tosi [Sun, 7 Aug 2011 22:17:43 +0000 (00:17 +0200)]
#10741: merge with 3.2
Sandro Tosi [Sun, 7 Aug 2011 22:16:54 +0000 (00:16 +0200)]
#10741: add documentation for PyGILState_GetThisThreadState()
Sandro Tosi [Sun, 7 Aug 2011 15:13:13 +0000 (17:13 +0200)]
#12677: merge with 3.2
Sandro Tosi [Sun, 7 Aug 2011 15:12:19 +0000 (17:12 +0200)]
#12677: correct turtle orientation in doc
É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.
É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).
Eli Bendersky [Sat, 6 Aug 2011 06:32:11 +0000 (09:32 +0300)]
Fix grammar
Eli Bendersky [Sat, 6 Aug 2011 06:31:09 +0000 (09:31 +0300)]
Fix grammar
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.
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.
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.
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.
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)
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)
É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.
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
Éric Araujo [Thu, 4 Aug 2011 15:17:07 +0000 (17:17 +0200)]
Fix wrong use of root logger in packaging (also a NameError)
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.
Brett Cannon [Fri, 5 Aug 2011 05:43:11 +0000 (22:43 -0700)]
Silence the altered state warning about threadgs when running test_httplib.
Brett Cannon [Fri, 5 Aug 2011 05:37:55 +0000 (22:37 -0700)]
Silence altered execution state warnings from test_telnetlib involving threads.
Brett Cannon [Fri, 5 Aug 2011 04:34:52 +0000 (21:34 -0700)]
Explicitly close a file to stop raising a ResourceWarning.
Benjamin Peterson [Thu, 4 Aug 2011 16:09:57 +0000 (11:09 -0500)]
merge 3.2
Benjamin Peterson [Thu, 4 Aug 2011 16:07:42 +0000 (11:07 -0500)]
dosmodule is, thankfully, no more
Senthil Kumaran [Wed, 3 Aug 2011 14:09:51 +0000 (22:09 +0800)]
merge from 3.2 - change the extra svn to svn+ssh
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.
Benjamin Peterson [Wed, 3 Aug 2011 13:54:44 +0000 (08:54 -0500)]
merge heads
Benjamin Peterson [Wed, 3 Aug 2011 13:54:26 +0000 (08:54 -0500)]
fix arg strings
Senthil Kumaran [Wed, 3 Aug 2011 10:46:24 +0000 (18:46 +0800)]
merged heads
Senthil Kumaran [Wed, 3 Aug 2011 10:45:02 +0000 (18:45 +0800)]
merge heads
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.
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.
Georg Brandl [Wed, 3 Aug 2011 06:29:12 +0000 (08:29 +0200)]
Merge with 3.2.
Georg Brandl [Wed, 3 Aug 2011 06:27:00 +0000 (08:27 +0200)]
Fix spacing in string literal.
Benjamin Peterson [Wed, 3 Aug 2011 03:19:14 +0000 (22:19 -0500)]
handle sched_rr_get_interval not working on current
Benjamin Peterson [Wed, 3 Aug 2011 03:15:40 +0000 (22:15 -0500)]
fix punctuation
Benjamin Peterson [Wed, 3 Aug 2011 03:10:55 +0000 (22:10 -0500)]
fix indentation
Benjamin Peterson [Wed, 3 Aug 2011 03:09:56 +0000 (22:09 -0500)]
merge heads
Benjamin Peterson [Wed, 3 Aug 2011 03:09:37 +0000 (22:09 -0500)]
OSX doesn't check sched_get_priority_(min/max) argument
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
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.
Benjamin Peterson [Wed, 3 Aug 2011 00:56:11 +0000 (19:56 -0500)]
need NULL sentinel
Benjamin Peterson [Tue, 2 Aug 2011 23:49:38 +0000 (18:49 -0500)]
merge heads
Benjamin Peterson [Tue, 2 Aug 2011 23:48:59 +0000 (18:48 -0500)]
bsd doesn't like letting normal processes set the scheduler
Senthil Kumaran [Tue, 2 Aug 2011 23:44:46 +0000 (07:44 +0800)]
merge heads.
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.
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.
Benjamin Peterson [Tue, 2 Aug 2011 23:42:14 +0000 (18:42 -0500)]
avoid warning when SchedParamType is not used
Benjamin Peterson [Tue, 2 Aug 2011 23:40:46 +0000 (18:40 -0500)]
only add sched_param if it is initialized
Benjamin Peterson [Tue, 2 Aug 2011 23:34:30 +0000 (18:34 -0500)]
I have been spoiled by chained comparisons in python
Benjamin Peterson [Tue, 2 Aug 2011 23:22:30 +0000 (18:22 -0500)]
comparing on number of cpus makes more sense
Benjamin Peterson [Tue, 2 Aug 2011 23:11:38 +0000 (18:11 -0500)]
fix sched defines
Benjamin Peterson [Tue, 2 Aug 2011 23:07:32 +0000 (18:07 -0500)]
check individually for some for sched_ functions
Benjamin Peterson [Tue, 2 Aug 2011 22:45:00 +0000 (17:45 -0500)]
move news note to correct section
Benjamin Peterson [Tue, 2 Aug 2011 22:44:26 +0000 (17:44 -0500)]
make_new_cpu_set takes the number of cpus
Benjamin Peterson [Tue, 2 Aug 2011 22:41:34 +0000 (17:41 -0500)]
sched.h can exist without sched affinity support
Benjamin Peterson [Tue, 2 Aug 2011 22:30:04 +0000 (17:30 -0500)]
expose sched.h functions (closes #12655)
Benjamin Peterson [Tue, 2 Aug 2011 22:29:30 +0000 (17:29 -0500)]
NEWS note for
bbeda42ea6a8
Benjamin Peterson [Tue, 2 Aug 2011 18:06:19 +0000 (13:06 -0500)]
merge heads
Benjamin Peterson [Tue, 2 Aug 2011 18:05:47 +0000 (13:05 -0500)]
add ThreadError to threading.__all__ (closes #12679)
Sandro Tosi [Tue, 2 Aug 2011 16:43:49 +0000 (18:43 +0200)]
#12665: merge with 3.2
Sandro Tosi [Tue, 2 Aug 2011 16:42:04 +0000 (18:42 +0200)]
#12665: Dictionary view example has error in set operation
Sandro Tosi [Tue, 2 Aug 2011 14:44:31 +0000 (16:44 +0200)]
#12670: merge with 3.2
Ezio Melotti [Tue, 2 Aug 2011 14:42:24 +0000 (17:42 +0300)]
#12183: merge with 3.2.
Sandro Tosi [Tue, 2 Aug 2011 14:17:14 +0000 (16:17 +0200)]
#12670: Fix struct code after forward declaration on ctypes doc
Jason R. Coombs [Tue, 2 Aug 2011 12:19:31 +0000 (08:19 -0400)]
Corrected attribute docstring per pep-257 (reference #10639)