Commit Graph

50152 Commits

Author SHA1 Message Date
Ned Deily 657b2de893 Issue #9516: Update Misc/NEWS. 2011-06-28 19:51:30 -07:00
Benjamin Peterson 4f86193a68 merge 3.2 2011-06-28 21:49:49 -05:00
Benjamin Peterson 84d8fcfcf7 merge 3.1 2011-06-28 21:49:40 -05:00
Ned Deily a8f8b50bd7 Issue #9516: Change distutils to no longer globally attempt to check and
set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process
on OS X.  This could cause failures in non-distutils subprocesses and was
unreliable since tests or user programs could modify the interpreter
environment after distutils set it.  Instead, have distutils set the
the deployment target only in the environment of each build subprocess.

Continue to use the previous algorithm for deriving the deployment target
value:
    if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env:
        use the interpreter build configure MACOSX_DEPLOYMENT_TARGET
    elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value:
        use the env MACOSX_DEPLOYMENT_TARGET
    else: # env value less than interpreter build configure value
        raise exception
This allows building extensions that can only run on newer versions of
the OS than the version python was built for, for example with a python
built for 10.3 or later and an extension that needs to be built for 10.5.
2011-06-28 19:44:24 -07:00
Ned Deily d13007fa11 Issue #9516: Correct and expand OS X deployment target tests in distutils
test_build_ext.
2011-06-28 19:43:15 -07:00
Benjamin Peterson 274271d1ae remove unused imports (closes #12432)
A patch from Vincent Legoll.
2011-06-28 10:25:04 -05:00
Benjamin Peterson e4a51e6543 use the Include in srcdir 2011-06-28 09:26:39 -05:00
Ned Deily 4a1ec12999 Issue #12141: Install copies of template C module file so that
test_build_ext of test_distutils and test_command_build_ext of
test_packaging are no longer silently skipped when
run outside of a build directory.
2011-06-28 00:53:54 -07:00
Ned Deily 58f27b203c Issue #12141: Install a copy of template C module file so that
test_build_ext of test_distutils is no longer silently skipped when
run outside of a build directory.
2011-06-28 00:42:50 -07:00
Ned Deily 8b56c4b1b8 Issue #8746: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X).  Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED).  Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:13:01 -07:00
Ned Deily 3eb67d58d6 Issue #8746: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X).  Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED).  Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:00:28 -07:00
Ned Deily f6837aa171 Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
2.8 +  on Mac OS X.  (Patch by Ronald Oussoren)
2011-06-27 23:18:45 -07:00
Ned Deily 11f00f3b00 Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
on Mac OS X.  (Patch by Ronald Oussoren)
2011-06-27 23:12:20 -07:00
Benjamin Peterson 4177eff088 general cleaning up 2011-06-27 18:25:06 -05:00
Benjamin Peterson fbf528f06c remove svn support 2011-06-27 17:59:45 -05:00
Benjamin Peterson b37db00c46 merge 3.2 2011-06-27 17:51:44 -05:00
Benjamin Peterson 68b543aa02 fix ws 2011-06-27 17:51:18 -05:00
Benjamin Peterson 9df8874b41 merge 3.2 (#11302) 2011-06-27 17:50:14 -05:00
Benjamin Peterson 6ccfe85847 add more ast tests (closes #11302)
A patch from Vincent Legoll.
2011-06-27 17:46:06 -05:00
Benjamin Peterson e90ec366fb don't memoize objects that are their own copies (closes #12422)
Patch mostly by Alex Gaynor.
2011-06-27 16:22:46 -05:00
Senthil Kumaran 31877c9d0e merge from 3.2 2011-06-27 09:07:14 -07:00
Senthil Kumaran 84e3ccc48d Fix closes Issue12385 - Clarify maketrans method docstring for bytes and bytearray object. 2011-06-27 09:06:45 -07:00
Vinay Sajip 2353e35570 Closes #12419: Added ident to SysLogHandler. 2011-06-27 15:40:06 +01:00
Benjamin Peterson 345a5d7357 merge 3.2 2011-06-27 09:19:02 -05:00
Benjamin Peterson 0f93d3d6f3 strip trailing ws 2011-06-27 09:18:46 -05:00
Benjamin Peterson 16ba98cc28 merge heads 2011-06-27 09:16:47 -05:00
Benjamin Peterson dd6098b8a1 merge 3.2 2011-06-27 09:16:40 -05:00
Benjamin Peterson a63a530eab merge heads 2011-06-27 09:16:14 -05:00
Benjamin Peterson 68151d4f7f merge 3.2 (#12417) 2011-06-27 09:15:19 -05:00
Benjamin Peterson afa44a8096 update profile license (closes #12417) 2011-06-27 09:14:34 -05:00
Benjamin Peterson 8d77069558 update profile license (closes #12417) 2011-06-27 09:14:34 -05:00
Giampaolo Rodola' 096dcb1eff Issue 12139: add CCC command support to FTP_TLS class to revert the SSL connection back to clear-text. 2011-06-27 11:17:51 +02:00
Senthil Kumaran 504783975b merge from 3.2 2011-06-26 23:49:49 -07:00
Senthil Kumaran 7d80bd1909 Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior. 2011-06-26 23:48:23 -07:00
Raymond Hettinger ea30a5e6bd Issue #8890: Remove /tmp from examples. 2011-06-26 15:29:27 +02:00
Raymond Hettinger b34705ff37 Issue #8890: Remove /tmp from examples. 2011-06-26 15:29:06 +02:00
Raymond Hettinger 29e2c64edd Issue #4608: urllib.request.urlopen does not return an iterable object 2011-06-26 14:30:25 +02:00
Raymond Hettinger 038018aaa4 Issue #4608: urllib.request.urlopen does not return an iterable object 2011-06-26 14:29:35 +02:00
Ezio Melotti 58ff0039a3 #11363: merge with 3.2. 2011-06-26 13:39:35 +03:00
Ezio Melotti 4850d52b4d #11363: add missing functions from curses doc. Patch by Sandro Tosi. 2011-06-26 13:34:56 +03:00
Ezio Melotti b6b7371329 #11363: clean up curses doc. 2011-06-26 13:38:11 +03:00
Ezio Melotti 2df0549943 #11669: merge with 3.2. 2011-06-26 11:38:08 +03:00
Ezio Melotti fc3db8a91e #11669: rephrase footnote in the Compound Statements page. 2011-06-26 11:25:28 +03:00
Benjamin Peterson 9003760991 map cells to arg slots at code creation time (closes #12399)
This removes nested loops in PyEval_EvalCodeEx.
2011-06-25 22:54:45 -05:00
Ezio Melotti 935fa016f4 Merge heads. 2011-06-25 20:30:52 +03:00
Ezio Melotti 5778671073 Backed out changeset ef306bd1d122 2011-06-25 20:10:39 +03:00
Ezio Melotti 54cc5fd72d Use correct markup in zipimport.rst. Patch by Sara Magliacane. 2011-06-25 19:40:06 +03:00
Ezio Melotti 2d826e8f4b Use correct markup in zipimport.rst. Patch by Sara Magliacane. 2011-06-25 19:40:06 +03:00
Raymond Hettinger 70797194ab Issue 11802: filecmp cache was growing without bound. 2011-06-25 17:20:21 +02:00
Raymond Hettinger 6ddefd7916 Issue 12086: add example showing how to use name mangling. 2011-06-25 16:30:39 +02:00