Martin v. Löwis
dab46f7250
null merge
2012-05-14 14:17:20 +02:00
Martin v. Löwis
87960da3e3
Upgrade bzip2 to 1.0.6.
2012-05-14 14:13:48 +02:00
Martin v. Löwis
b43233412d
Relabel bzip2 filters.
2012-05-14 14:12:00 +02:00
Martin v. Löwis
ecc5877f5a
Upgrade bzip2 to 1.0.6.
2012-05-14 13:52:03 +02:00
Lars Gustäbel
b062a2fa17
Issue #13815 : Resurrect the ExFileObject class.
...
After a discussion in the tracker, the decision was made to keep the
ExFileObject class after all as a subclass of io.BufferedReader instead of
removing it completely.
2012-05-14 13:18:16 +02:00
Ezio Melotti
c31dd2b564
#14405 : merge with 3.2.
2012-05-14 13:32:26 +03:00
Ezio Melotti
e768b06f16
#14405 : remove outdated/broken/duplicate links.
2012-05-14 13:26:45 +03:00
Martin v. Löwis
e8af53d018
Fix release build settings.
2012-05-14 12:22:08 +02:00
Brian Curtin
6d7c9f3297
Update the clean and MSI scripts for VS2010
2012-05-13 22:45:57 -05:00
Brian Curtin
f6b1b9b2f3
Correct PlatformTarget->Platform usage for building the solution
2012-05-13 18:59:26 -05:00
Brian Curtin
638f6c1450
Convert build slave scripts to work with VS2010
2012-05-13 18:51:43 -05:00
Brian Curtin
40e41bb77c
changeset: 76969:0cbe1099226d
...
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
2012-05-13 16:16:09 -05:00
Mark Dickinson
a9d9d17f8b
Issue #14245 : Merge changes from 3.2.
2012-05-13 21:02:22 +01:00
Mark Dickinson
ba3b0d84bd
Issue #14245 : Improve floating-point entry in FAQ. Thanks Zbyszek Jędrzejewski-Szmek for some of the wording.
2012-05-13 21:00:35 +01:00
Antoine Pitrou
9a2349030a
Issue #14417 : Mutating a dict during lookup now restarts the lookup instead of raising a RuntimeError (undoes issue #14205 ).
2012-05-13 20:48:01 +02:00
Charles-François Natali
7feb9f4225
Issue #14532 : Add a secure_compare() helper to the hmac module, to mitigate
...
timing attacks. Patch by Jon Oberheide.
2012-05-13 19:53:07 +02:00
Brett Cannon
d200bf534b
Add importlib.util.resolve_name().
2012-05-13 13:45:09 -04:00
Brian Curtin
61009468c5
Move out VS9 project files to PC\VS9.0 folder. Fixes #13210
2012-05-13 12:40:15 -05:00
Ezio Melotti
faedde3e1f
#14770 : merge with 3.2.
2012-05-13 20:17:40 +03:00
Ezio Melotti
b35480e1d2
#14770 : improve the library FAQ.
2012-05-13 20:14:04 +03:00
Brett Cannon
62961dde31
Issue #13959 : Document imp.find_module/load_module as deprecated.
...
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().
2012-05-13 13:04:21 -04:00
Brian Curtin
401f9f3d32
Fix #13210 . Port the Windows build from VS2008 to VS2010.
2012-05-13 11:19:23 -05:00
Sandro Tosi
708d88c334
merge with 3.2
2012-05-13 11:01:36 +02:00
Sandro Tosi
3918b1ebfb
Issue #14793 : fix grammar in bytes object paragraph; patch by Tshepang Lekhonkhobe
2012-05-13 11:01:20 +02:00
Martin v. Löwis
7fb79fcb64
Issue #14366 : Support lzma compression in zip files.
...
Patch by Serhiy Storchaka.
2012-05-13 10:06:36 +02:00
Antoine Pitrou
bb54b33cec
Merge
2012-05-12 23:44:59 +02:00
Antoine Pitrou
eafae028e0
Merge
2012-05-12 23:43:55 +02:00
Antoine Pitrou
2d169b268b
Make the reference counting of dictkeys objects participate in refleak hunting
...
(issue #13903 ).
2012-05-12 23:43:44 +02:00
Brett Cannon
ee78a2b51c
Issue #13959 : Introduce importlib.find_loader().
...
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.
2012-05-12 17:43:17 -04:00
Brett Cannon
acc0c181a8
Remove a now worthless test.
2012-05-12 17:40:28 -04:00
Antoine Pitrou
61597d3e92
Try to fix test_shutil failure under Fedora - patch by Hynek.
2012-05-12 23:37:35 +02:00
Sandro Tosi
36c4e38f73
merge with 3.2
2012-05-12 23:30:05 +02:00
Sandro Tosi
38b86b4cf5
correctly define what 'fill' could be; thanks to Leland Hulbert from docs@
2012-05-12 23:29:32 +02:00
Stefan Krah
094d0e002c
Issue #14779 : Do not use get_config_var('SIZEOF_VOID_P') on OS X 64-/32-bit
...
universal: it returns a meaningless result. Use sys.maxsize instead of
platform.architecture as a fallback. Patch by Ned Deily.
2012-05-12 23:11:51 +02:00
Antoine Pitrou
04b2e69e67
Merge
2012-05-12 19:02:47 +02:00
Antoine Pitrou
424246fbf3
Issue #14082 : shutil.copy2() now copies extended attributes, if possible.
...
Patch by Hynek Schlawack.
2012-05-12 19:02:01 +02:00
Antoine Pitrou
758153badb
Fix refleaks introduced by 83da67651687.
2012-05-12 15:51:51 +02:00
Antoine Pitrou
e45c0c5cef
Fix logic error introduced by 83da67651687.
2012-05-12 15:49:07 +02:00
Ross Lagerwall
4d688e3275
Remove uninitialized compiler warning.
2012-05-12 08:30:33 +02:00
Benjamin Peterson
1ff2e35e84
simplify by shortcutting when the kind of the needle is larger than the haystack
2012-05-11 17:41:20 -05:00
Brett Cannon
c049952de7
Issue #13959 : Have
...
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().
2012-05-11 14:48:41 -04:00
Brett Cannon
0c59b039b8
Deprecate the imp constants related to imp.get_suffixes().
2012-05-11 14:27:29 -04:00
Brett Cannon
44ec91f6a5
Update importlib.h
2012-05-11 13:11:02 -04:00
Brett Cannon
cb66eb0dec
Issue #13959 : Deprecate imp.get_suffixes() for new attributes on
...
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.
2012-05-11 12:58:42 -04:00
Brett Cannon
810c64df8f
Issue #14764 : Update importlib.test.benchmark to work in a world where
...
import machinery is no longer implicit.
2012-05-11 11:12:00 -04:00
Ned Deily
9d335113b0
merge
2012-05-10 18:11:30 -07:00
Ned Deily
5fddf866d8
Issue #14662 : Prevent shutil failures on OS X when destination does not
...
support chflag operations. (Patch by Hynek Schlawack)
2012-05-10 17:21:23 -07:00
Ned Deily
baf75713c7
Issue #14662 : Prevent shutil failures on OS X when destination does not
...
support chflag operations. (Patch by Hynek Schlawack)
2012-05-10 17:05:19 -07:00
Benjamin Peterson
569d087574
use yield from
2012-05-10 16:17:35 -05:00
Antoine Pitrou
e8751e05d9
Issue #14157 : Fix time.strptime failing without a year on February 29th.
...
Patch by Hynek Schlawack.
2012-05-10 20:18:46 +02:00