Raymond Hettinger
5402315626
Add implementation notes
12 years ago
doko@ubuntu.com
4a173bc4ed
Fixes for KFreeBSD and the Hurd:
- Issue #21274 : Define PATH_MAX for GNU/Hurd in Python/pythonrun.c.
- Issue #21276 : posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd.
- Issue #21275 : Fix a socket test on KFreeBSD.
12 years ago
Andrew Kuchling
764662020b
#15840 : make docs consistent by saying operations on closed files raise ValueError.
Patch by Caelyn McAulay.
Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an
operation on a closed stream raised IOError; generally the C
implementations have a macro to check for the stream being closed, and
these macros all raised ValueError. If we find any, a new bug should
be opened.
12 years ago
Gregory P. Smith
efeb9da4ae
Add conditional code for android's lack of definition of SYS_getdent64.
Fixes issue20307. No Misc/NEWS entry because frankly this is an
esoteric platform for anyone to be figuring out how to cross compile
CPython for.
12 years ago
Benjamin Peterson
49991deb6e
fix poor spelling
12 years ago
Benjamin Peterson
6ef2b36afa
disallow a negative idx parameter
12 years ago
Benjamin Peterson
99b5afab74
in scan_once, prevent the reading of arbitrary memory when passed a negative index
Bug reported by Guido Vranken.
12 years ago
Mark Dickinson
5990d2864c
Issue #20539 : Improve math.factorial error messages and types for large inputs.
- Better message for the OverflowError in large positive inputs.
- Changed exception type from OverflowError to ValueError for large negative inputs.
12 years ago
Benjamin Peterson
d51374ed78
PEP 465: a dedicated infix operator for matrix multiplication ( closes #21176 )
12 years ago
Victor Stinner
d006af1899
Issue #21076 : the C signal module has been renamed to _signal
12 years ago
Giampaolo Rodola'
e09fb7198a
fix #21076 : turn signal module constants into enums
12 years ago
Ned Deily
e7d532fbc9
Issue #6676 : Ensure a meaningful exception is raised when attempting
to parse more than one XML document per pyexpat xmlparser instance.
(Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with
suggested wording by David Gutteridge)
12 years ago
Victor Stinner
d9a7352348
Issue #21036 : Fix typo in macro name
_PY_HASHTABLE_ENTRY_DATA => _Py_HASHTABLE_ENTRY_DATA
12 years ago
Antoine Pitrou
0bebbc33fa
Issue #21015 : SSL contexts will now automatically select an elliptic curve for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1".
(should also fix a buildbot failure introduced by #20995 )
12 years ago
Vinay Sajip
ed6783f315
Issue #10141 , Issue 20065: Changed #if to take CAN_RAW into account.
12 years ago
Benjamin Peterson
ee6bdc07d6
remove the ability of datetime.time to be considered false ( closes #13936 )
12 years ago
Vinay Sajip
ecfc98c67b
Issue #10141 : updated new usages of AF_CAN to be in #ifdef AF_CAN rather than #ifdef HAVE_LINUX_CAN_H to allow compilation on older Linuxes.
12 years ago
Victor Stinner
373f0a925b
Isuse #12328 , #20978 : Add _winapi.WAIT_ABANDONED_0 symbol, needed by
multiprocessing.connection
12 years ago
Victor Stinner
b2bef62e91
Issue #19977 : Fix test_capi when LC_CTYPE locale is POSIX
12 years ago
Benjamin Peterson
fda33559dc
fix ctypes test alignment assumptions ( closes #20946 )
Patch by Andreas Schwab.
12 years ago
Benjamin Peterson
c77e7a4f23
only define zero constant when it is used
12 years ago
Benjamin Peterson
ce68c19ee7
remove unused zero constants
12 years ago
Serhiy Storchaka
ccdf352370
Issue #20283 : RE pattern methods now accept the string keyword parameters
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
12 years ago
Kristján Valur Jónsson
25dded041f
Make the various iterators' "setstate" sliently and consistently clip the
index. This avoids the possibility of setting an iterator to an invalid
state.
12 years ago
Georg Brandl
2fc8f773e1
Issue #20404 : reject non-text encodings early in TextIOWrapper.
12 years ago
Victor Stinner
1ac42614e3
Issue #19748 : On AIX, time.mktime() now raises an OverflowError for year
outsize range [1902; 2037].
12 years ago
Victor Stinner
329e492570
Issue #20656 : Restore explicit downcast in select_select().
Cast from time_t (64 bit) to long (32 bit). It should fix a compiler warning.
12 years ago
Victor Stinner
5a8e5796f1
Close #20656 : Fix select.select() on OpenBSD 64-bit
12 years ago
Victor Stinner
3c1b379ebd
Issue #20320 : select.select() and select.kqueue.control() now round the timeout
aways from zero, instead of rounding towards zero.
It should make test_asyncio more reliable, especially test_timeout_rounding() test.
12 years ago
Benjamin Peterson
eb43736de2
backout 2807a5f011e4 for causing #20621
12 years ago
Benjamin Peterson
c20b4d872d
backout d28242a636c7 so I can backout 2807a5f011e4
12 years ago
Andrew Kuchling
3137885c36
#12211 : remove paragraph about NaNs
12 years ago
Andrew Kuchling
8cb1ec3274
#12211 : clarify math.copysign() documentation and docstring
12 years ago
Serhiy Storchaka
61e2493b83
Issue #17671 : Fixed a crash when use non-initialized io.BufferedRWPair.
Based on patch by Stephen Tu.
12 years ago
Benjamin Peterson
932bba33f2
avoid name clash with posix_close ( closes #20594 )
12 years ago
Benjamin Peterson
34c1540009
merge backout for #20621
12 years ago
Benjamin Peterson
5d95afa99d
merge 3.3 ( #20594 )
12 years ago
Larry Hastings
b082731fbb
Issue #20517 : Functions in the os module that accept two filenames
now register both filenames in the exception on failure.
This required adding new C API functions allowing OSError exceptions
to reference two filenames instead of one.
12 years ago
Serhiy Storchaka
505ff755d7
Issue #20437 : Fixed 21 potential bugs when deleting objects references.
12 years ago
Larry Hastings
2623c8c23c
Issue #20530 : Argument Clinic's signature format has been revised again.
The new syntax is highly human readable while still preventing false
positives. The syntax also extends Python syntax to denote "self" and
positional-only parameters, allowing inspect.Signature objects to be
totally accurate for all supported builtins in Python 3.4.
12 years ago
Charles-François Natali
b4062e8f8a
Issue #20065 : socketmodule: Fix build error when AF_CAN is defined without the
proper CAN headers.
12 years ago
Ned Deily
cb63140911
Issue #20374 : delete spurious empty line
12 years ago
Ned Deily
22d415cf19
Issue #20374 : delete spurious empty line
12 years ago
Ned Deily
625895e46f
Issue #20374 : Avoid compiler warnings when compiling readline with libedit.
12 years ago
Ned Deily
7b9ddea80b
Issue #20374 : Avoid compiler warnings when compiling readline with libedit.
12 years ago
Serhiy Storchaka
54c1391ba9
Issue #20489 : Explicitly qualified expressions for default values in methods.
12 years ago
Christian Heimes
d33491ea76
Issue #20515 : Fix NULL pointer dereference introduced by issue #20368
CID 1167595
12 years ago
Benjamin Peterson
091d017ab1
restore namespacing of pyexpat symbols ( closes #19186 )
12 years ago
Nick Coghlan
a9b15241c6
Close #20404 : blacklist non-text encodings in io.TextIOWrapper
- io.TextIOWrapper (and hence the open() builtin) now use the
internal codec marking system added for issue #19619
- also tweaked the C code to only look up the encoding once,
rather than multiple times
- the existing output type checks remain in place to deal with
unmarked third party codecs.
12 years ago
Martin v. Löwis
ca7b04644c
Issue #17162 : Add PyType_GetSlot.
12 years ago