summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* changeset: 76969:0cbe1099226dBrian Curtin2012-05-1326-8/+165
| | | | | | | | branch: vs2010 tag: tip user: Brian Curtin <brian@python.org> date: Sun May 13 16:15:11 2012 -0500 summary: Changes to allow Profile Guided Optimization builds to succeed on VS2010
* Issue #14245: Merge changes from 3.2.Mark Dickinson2012-05-131-37/+26
|\
| * Issue #14245: Improve floating-point entry in FAQ. Thanks Zbyszek ↵Mark Dickinson2012-05-132-37/+27
| | | | | | | | Jędrzejewski-Szmek for some of the wording.
* | Issue #14417: Mutating a dict during lookup now restarts the lookup instead ↵Antoine Pitrou2012-05-135-23/+15
| | | | | | | | of raising a RuntimeError (undoes issue #14205).
* | Issue #14532: Add a secure_compare() helper to the hmac module, to mitigateCharles-François Natali2012-05-135-1/+94
| | | | | | | | timing attacks. Patch by Jon Oberheide.
* | Add importlib.util.resolve_name().Brett Cannon2012-05-134-1/+73
| |
* | Move out VS9 project files to PC\VS9.0 folder. Fixes #13210Brian Curtin2012-05-1331-15033/+0
| |
* | #14770: merge with 3.2.Ezio Melotti2012-05-131-54/+45
|\ \ | |/
| * #14770: improve the library FAQ.Ezio Melotti2012-05-131-54/+45
| |
* | Issue #13959: Document imp.find_module/load_module as deprecated.Brett Cannon2012-05-132-1/+9
| | | | | | | | | | | | | | | | The code itself does not raise a DeprecationWarning as the functions are technically fine, it's just a bad API. Unfortunately experience has shown that the terrible API has been exposed in various places, necessitating that it stick around probably until py4k comes around since it is such a shift to move over to importlib.find_loader().
* | Fix #13210. Port the Windows build from VS2008 to VS2010.Brian Curtin2012-05-13131-172/+25718
| |
* | merge with 3.2Sandro Tosi2012-05-131-1/+2
|\ \ | |/
| * Issue #14793: fix grammar in bytes object paragraph; patch by Tshepang ↵Sandro Tosi2012-05-131-1/+2
| | | | | | | | Lekhonkhobe
* | Issue #14366: Support lzma compression in zip files.Martin v. Löwis2012-05-135-27/+257
| | | | | | | | Patch by Serhiy Storchaka.
* | MergeAntoine Pitrou2012-05-126-18/+105
|\ \
| * | Issue #13959: Introduce importlib.find_loader().Brett Cannon2012-05-125-10/+105
| | | | | | | | | | | | | | | | | | The long-term goal is to deprecate imp.find_module() in favour of this API, but it will take some time as some APIs explicitly return/use what imp.find_module() returns.
| * | Remove a now worthless test.Brett Cannon2012-05-121-8/+0
| | |
* | | MergeAntoine Pitrou2012-05-121-1/+1
|\ \ \ | |/ /
| * | Try to fix test_shutil failure under Fedora - patch by Hynek.Antoine Pitrou2012-05-121-1/+1
| | |
* | | Make the reference counting of dictkeys objects participate in refleak huntingAntoine Pitrou2012-05-121-6/+10
|/ / | | | | | | (issue #13903).
* | merge with 3.2Sandro Tosi2012-05-121-1/+1
|\ \ | |/
| * correctly define what 'fill' could be; thanks to Leland Hulbert from docs@Sandro Tosi2012-05-121-1/+1
| |
* | Issue #14779: Do not use get_config_var('SIZEOF_VOID_P') on OS X 64-/32-bitStefan Krah2012-05-121-3/+3
| | | | | | | | | | universal: it returns a meaningless result. Use sys.maxsize instead of platform.architecture as a fallback. Patch by Ned Deily.
* | MergeAntoine Pitrou2012-05-121-4/+10
|\ \
| * | Fix refleaks introduced by 83da67651687.Antoine Pitrou2012-05-121-2/+8
| | |
| * | Fix logic error introduced by 83da67651687.Antoine Pitrou2012-05-121-2/+2
| | |
* | | Issue #14082: shutil.copy2() now copies extended attributes, if possible.Antoine Pitrou2012-05-126-22/+141
|/ / | | | | | | Patch by Hynek Schlawack.
* | Remove uninitialized compiler warning.Ross Lagerwall2012-05-121-1/+5
| |
* | simplify by shortcutting when the kind of the needle is larger than the haystackBenjamin Peterson2012-05-111-21/+11
| |
* | Issue #13959: HaveBrett Cannon2012-05-119-2366/+2459
| | | | | | | | | | | | | | | | | | | | importlib.abc.FileLoader.load_module()/get_filename() and importlib.machinery.ExtensionFileLoader.load_module() have their single argument be optional as the loader's constructor has all the ncessary information. This allows for the deprecation of imp.load_source()/load_compile()/load_package().
* | Deprecate the imp constants related to imp.get_suffixes().Brett Cannon2012-05-111-0/+12
| |
* | Update importlib.hBrett Cannon2012-05-111-2852/+2853
| |
* | Issue #13959: Deprecate imp.get_suffixes() for new attributes onBrett Cannon2012-05-1117-68/+159
| | | | | | | | | | | | | | | | | | | | | | importlib.machinery that provide the suffix details for import. The attributes were not put on imp so as to compartmentalize everything importlib needs for setting up imports in importlib.machinery. This also led to an indirect deprecation of inspect.getmoduleinfo() as it directly returned imp.get_suffix's returned tuple which no longer makes sense.
* | Issue #14764: Update importlib.test.benchmark to work in a world whereBrett Cannon2012-05-111-0/+14
| | | | | | | | import machinery is no longer implicit.
* | mergeNed Deily2012-05-110-0/+0
|\ \ | |/
| * Issue #14662: Prevent shutil failures on OS X when destination does notNed Deily2012-05-113-2/+37
| | | | | | | | support chflag operations. (Patch by Hynek Schlawack)
* | Issue #14662: Prevent shutil failures on OS X when destination does notNed Deily2012-05-113-2/+36
| | | | | | | | support chflag operations. (Patch by Hynek Schlawack)
* | use yield fromBenjamin Peterson2012-05-101-6/+3
| |
* | Issue #14157: Fix time.strptime failing without a year on February 29th.Antoine Pitrou2012-05-103-1/+11
|\ \ | |/ | | | | Patch by Hynek Schlawack.
| * Issue #14157: Fix time.strptime failing without a year on February 29th.Antoine Pitrou2012-05-103-1/+11
| | | | | | | | Patch by Hynek Schlawack.
* | Issue #14753: Make multiprocessing treat negative timeouts as it did in 3.2Richard Oudkerk2012-05-106-43/+42
| | | | | | | | | | | | | | | | In Python 3.2 and earlier, Process.join() and Connection.poll() treated negative timeouts as zero timeouts. Earlier versions from the 3.3 line of development treat them as infinite timeouts. The patch reverts to the old behaviour.
* | Issue #14738: Speed-up UTF-8 decoding on non-ASCII data. Patch by Serhiy ↵Antoine Pitrou2012-05-108-552/+316
| | | | | | | | Storchaka.
* | Some nits in the pickle docs.Antoine Pitrou2012-05-101-21/+23
|\ \ | |/
| * Some nits in the pickle docs.Antoine Pitrou2012-05-101-21/+23
| |
* | Removed outdated statement about pickle's and marshal's relative performance.Antoine Pitrou2012-05-101-8/+0
|\ \ | |/
| * Removed outdated statement about pickle's and marshal's relative performance.Antoine Pitrou2012-05-101-8/+0
| |
* | #14763: merge with 3.2.Ezio Melotti2012-05-101-2/+2
|\ \ | |/
| * #14763: document default maxsplit value for str.split.Ezio Melotti2012-05-101-2/+2
| |
* | MERGE: Closes #14768: os.path.expanduser('~/a') doesn't works correctly when ↵Jesus Cea2012-05-104-2/+6
|\ \ | |/ | | | | HOME is '/'
| * Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME ↵Jesus Cea2012-05-104-2/+6
| | | | | | | | is '/'