Martin v. Löwis
5951ec0fdd
Pick up 32-bit launcher from PGO directory on 64-bit PGO build.
2012-08-24 16:06:10 +02:00
Martin v. Löwis
bddf7244f0
Drop PC\python_nt.h as it's not used.
...
Add input dependency on custom build step.
2012-08-24 15:47:53 +02:00
Martin v. Löwis
b4b92becf1
Issue #15511 : Drop explicit dependency on pythonxy.lib from amd64 configuration.
2012-08-24 15:21:24 +02:00
Martin v. Löwis
3234cc808c
Add missing PGI/PGO configurations for pywlauncher.
2012-08-24 15:06:50 +02:00
Ross Lagerwall
a4b070102a
Merge with 3.2
2012-08-24 13:32:14 +02:00
Ross Lagerwall
f2b34b8b96
Issue 15777: Fix a refleak in _posixsubprocess.
...
It was exposed by 03c98d05b140 and dbbf3ccf72e8.
2012-08-24 13:25:59 +02:00
Nick Coghlan
ffffa8e8b2
Close #2051 : Oops, transposed the digits in the issue number in the previous commit
2012-08-24 18:36:31 +10:00
Nick Coghlan
a508770e20
Close #2501 : Permission bits are once again correctly copied from the source file to the cached bytecode file. Test by Eric Snow.
2012-08-24 18:32:40 +10:00
Ned Deily
36d188c7f7
Issue #15037 : Use correct path to system terminfo database.
2012-08-24 00:44:01 -07:00
Stefan Krah
66e63170d9
Issue #15770 : Check invalid arguments in test function. Patch by Victor Stinner.
2012-08-23 15:53:45 +02:00
Stefan Krah
f21587e3a8
mpd_qpowmod(): calculate result with zero-exponent for compatibility with
...
decimal.py. The hack to remove the ideal exponent is no longer required.
2012-08-23 15:05:29 +02:00
Ned Deily
bbd3437c27
Issue #14292 : Ensure that the OS X installer build configures the CXX
...
environment variable to a value comparable to what it sets for CC for
the benefit of C++ extension modules.
(Patch by Ronald Oussoren)
2012-08-22 23:34:50 -07:00
Ned Deily
6fc81d7eec
Issue #15645 : Ensure 2to3 grammar pickles are properly installed.
...
(Patch by Ronald Oussoren)
2012-08-22 23:34:13 -07:00
Ned Deily
12d1f67be4
issue #15645 : null merge
2012-08-22 23:32:29 -07:00
Ned Deily
01d183732e
Issue #15645 : Ensure 2to3 grammar pickles are properly installed.
...
(Patch by Ronald Oussoren)
2012-08-22 23:27:26 -07:00
Alexander Belopolsky
35d600cbb5
Suggested a whatsnew item
2012-08-22 23:14:29 -04:00
Alexander Belopolsky
f9bd9141c5
Issue #665194 : Added a small optimization
2012-08-22 23:02:36 -04:00
Alexander Belopolsky
1f924d21d3
Added test for a bug fixed in issue #665194 .
2012-08-22 22:06:37 -04:00
R David Murray
097a1208bc
#665194 : fix variable name in exception code path.
...
It was correct in the original patch and I foobared it
when I restructured part of the code.
2012-08-22 21:52:31 -04:00
R David Murray
b8687df653
#665194 : Update email.utils.localtime to use astimezone, and fix bug.
...
The new code correctly handles historic changes in UTC offsets.
A test for this should follow.
Original patch by Alexander Belopolsky.
2012-08-22 21:34:00 -04:00
Stefan Krah
17183a2972
Use zero bottom margin.
2012-08-22 19:28:12 +02:00
Stefan Krah
ad5b43995e
In the 32-bit build, dec_hash() raised InvalidOperation if the operand
...
had a coefficient with MAX_PREC=425000000 digits and a negative exponent.
Increasing the context limits above the official values fixes the issue
and is safe (in this case!).
2012-08-22 19:11:50 +02:00
Stefan Krah
2fd502f6a1
1) Use _mpd_basedivmod() regardless of the length of the dividend. This is
...
required for a corner case in dec_hash() in the following commit and also
usually faster. dec_hash() needs some extra precision above MPD_MAX_PREC,
and _mpd_base_ndivmod() is not audited for that.
2) Use _mpd_basemul() if the length of the smaller operand is less than
or equal to 256. While this is technically an optimization, it is
required for *testing* corner cases in dec_hash() in reasonable time.
2012-08-22 18:54:37 +02:00
Victor Stinner
ad54c6d82e
Issue #15766 : Fix a crash in imp.load_dynamic() on PyUnicode_FromString() failure
2012-08-22 17:45:52 +02:00
Ronald Oussoren
9bd9cd3fb9
Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set on Mac OS X.
...
This is due to an off-by-one error: the allocated buffer didn't have room for a NUL
character at the end of the mbstowcs result.
(merge with 3.2)
2012-08-22 14:40:35 +02:00
Ronald Oussoren
eb61f8b3a7
Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set on Mac OS X.
...
This is due to an off-by-one error: the allocated buffer didn't have room for a NUL
character at the end of the mbstowcs result.
2012-08-22 14:24:14 +02:00
Ezio Melotti
6f69fb145f
Update suspicious ignore file.
2012-08-22 08:38:04 +03:00
Trent Nelson
75959cf247
Issue #15747 : skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
...
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
(Note: this commit is a manual merge of 78699:019a2390b014 as both
_test_chflags_regular_file and test_lchflags_symlink differ between
3.2 and default.)
2012-08-21 23:59:31 +00:00
Trent Nelson
dda5edc007
Block 78699:019a2390b014, this needs to be manually merged.
2012-08-21 23:48:55 +00:00
Trent Nelson
ee253ebf62
Issue #15747 : skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
...
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
2012-08-21 23:41:43 +00:00
Richard Oudkerk
6733927761
Fix typo in error handling for WaitForMultipleObjects()
2012-08-21 14:54:22 +01:00
Ezio Melotti
b9717b5e02
#15752 : merge with 3.2.
2012-08-21 11:39:47 +03:00
Ezio Melotti
1b47bf43a6
#15752 : s/assertRaisesRegexp/assertRaisesRegex/g
2012-08-21 11:38:41 +03:00
Nick Coghlan
83c0ae5de6
Address most of Ezio's comments. str/bytes/bytearray docs still need consolidation
2012-08-21 17:42:52 +10:00
Stefan Krah
5b27c53e36
Merge 3.2.
2012-08-21 08:25:41 +02:00
Stefan Krah
7cacd2eb92
Issue #15736 : Fix overflow in _PySequence_BytesToCharpArray().
2012-08-21 08:16:09 +02:00
Trent Nelson
139cd4352f
Issue #15285 : Refactor connect timeout test in test_timeout.
2012-08-20 21:40:21 -04:00
Trent Nelson
514dbb03ba
Issue #15285 : Refactor connect timeout test in test_timeout.
2012-08-20 21:22:59 -04:00
Antoine Pitrou
a5e5797e48
Improve the pyvenv entry
2012-08-21 01:08:17 +02:00
Antoine Pitrou
c907de90d4
Improved summary section in whatsnew
2012-08-21 00:53:06 +02:00
Antoine Pitrou
609939e22f
Issue #14954 : Clarify the interaction of weak references and garbage collection.
...
Patch by Ethan Furman.
2012-08-21 00:07:35 +02:00
Antoine Pitrou
9439f04b9a
Issue #14954 : Clarify the interaction of weak references and garbage collection.
...
Patch by Ethan Furman.
2012-08-21 00:07:07 +02:00
Senthil Kumaran
77ebfccd4d
Fix Issue 15743 - improve urllib tests by removing deprecated method usages. Patch by Jeff Knupp.
2012-08-20 13:43:59 -07:00
Petri Lehtinen
df9c945070
#15199 : Fix JavaScript's default MIME type to application/javascript
2012-08-20 21:30:03 +03:00
Petri Lehtinen
c6fdafcdf3
#15199 : Fix JavaScript's default MIME type to application/javascript
2012-08-20 21:28:58 +03:00
R David Murray
1ea50f5608
Merge #15742 : clarify sqlite parameter substitution example.
...
Suggestion and patch by Mike Hoy.
2012-08-20 14:14:46 -04:00
R David Murray
f6bd1b0e0d
#15742 : clarify sqlite parameter substitution example.
...
Suggestion and patch by Mike Hoy.
2012-08-20 14:14:18 -04:00
Antoine Pitrou
35503c9c14
Issue #15726 : Fix incorrect bounds checking in PyState_FindModule.
...
Patch by Robin Schreiber.
2012-08-20 19:31:52 +02:00
Antoine Pitrou
75506e8b7c
Issue #15726 : Fix incorrect bounds checking in PyState_FindModule.
...
Patch by Robin Schreiber.
2012-08-20 19:30:46 +02:00
Stefan Krah
66d1eb23d4
Merge 3.2.
2012-08-20 17:20:46 +02:00