Christian Heimes
f1fe159822
Issue #11973 : Fix a problem in kevent. The flags and fflags fields are now
properly handled as unsigned.
13 years ago
Christian Heimes
61636e7105
Issue #18747 : Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.
13 years ago
Richard Oudkerk
cabbde9e1e
Fix compiler warning on Windows.
13 years ago
Eli Bendersky
6eb50b1f5b
Use consistent style for else if / else
13 years ago
Benjamin Peterson
3a7dffa4ce
remove support for compiling on systems without getcwd()
Do we need a fallback implementation of getcwd() from 1991 that claims to
support "really old Unix systems"? I don't think so.
13 years ago
Serhiy Storchaka
203eb317d2
Issue #16809 : Tkinter's splitlist() and split() methods now accept Tcl_Obj
argument.
This is needed for support Tcl/Tk 8.6.
13 years ago
Richard Oudkerk
a93bf7b9a6
Fix devpoll_dealloc().
13 years ago
Richard Oudkerk
168d59b669
Move definition of devpoll_internal_close() before devpoll_close().
13 years ago
Richard Oudkerk
069d65c35a
Fix compilation of select module on Solaris.
13 years ago
Christian Heimes
80c5de93f9
Issue #18747 : Use a parent atfork handler instead of a child atfork handler.
fork() is suppose to be async-signal safe but the handler calls unsafe functions. A parent handler mitigates the issue.
13 years ago
Victor Stinner
13423c3726
Close #18794 : Add a fileno() method and a closed attribute to select.devpoll
objects.
Add also tests on fileno() method and closed attribute of select.epoll and select.kqueue.
13 years ago
Serhiy Storchaka
9e6b97502f
Issue #17119 : Fixed integer overflows when processing large strings and tuples
in the tkinter module.
13 years ago
Christian Heimes
f77b4b20e9
Issue #18747 : Re-seed OpenSSL's pseudo-random number generator after fork.
A pthread_atfork() child handler is used to seeded the PRNG with pid, time
and some stack data.
13 years ago
Serhiy Storchaka
b1973c252c
Issue #8865 : Concurrent invocation of select.poll.poll() now raises a
RuntimeError exception. Patch by Christian Schubert.
13 years ago
Serhiy Storchaka
ec67d187ee
Issue #13461 : Fix a crash in the TextIOWrapper.tell method on 64-bit platforms.
Patch by Yogesh Chaudhari.
13 years ago
Christian Heimes
4d98ca9ff6
Issue #18777 : The ssl module now uses the new CRYPTO_THREADID API of
OpenSSL 1.0.0+ instead of the deprecated CRYPTO id callback function.
13 years ago
Christian Heimes
44ed3de6f4
Issue #18774 : Remove last bits of GNU PTH thread code, patch by Vajrasky Kok.
13 years ago
Antoine Pitrou
6f6ec37838
Issue #16105 : When a signal handler fails to write to the file descriptor registered with ``signal.set_wakeup_fd()``, report an exception instead of ignoring the error.
13 years ago
Christian Heimes
3c2593b2bb
Issue 18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.
13 years ago
Christian Heimes
474afdda60
Issue #18768 : coding style nitpick. Thanks to Vajrasky Kok
13 years ago
Ezio Melotti
85a8629d21
#18466 : fix more typos. Patch by Févry Thibault.
13 years ago
Christian Heimes
9ff79f7c46
Issue #18178 : Fix ctypes on BSD. dlmalloc.c was compiled twice which broke malloc weak symbols.
13 years ago
Christian Heimes
824f7f366d
Issue #18709 : Fix CVE-2013-4238. The SSL module now handles NULL bytes
inside subjectAltName correctly. Formerly the module has used OpenSSL's
GENERAL_NAME_print() function to get the string represention of ASN.1
strings for rfc822Name (email), dNSName (DNS) and
uniformResourceIdentifier (URI).
13 years ago
Serhiy Storchaka
cbad3a367e
Issue #18701 : Remove sqlitecompat.h.
13 years ago
Serhiy Storchaka
8fa8ee3970
Issue #18701 : Remove support of old CPython versions (<3.0) from C code.
13 years ago
Christian Heimes
177b3f9982
Issue #18673 : Add O_TMPFILE to os module. O_TMPFILE requires Linux kernel
3.11 or newer. It's only defined on system with 3.11 uapi headers, too.
13 years ago
Antoine Pitrou
c69c9bc24b
Replace an overly optimistic assert() in _PyGC_CollectNoFail with a simple guard.
13 years ago
Christian Heimes
37d5cebb48
Change the builtin hash algorithms' names to lower case names
as promised by hashlib's documentation.
13 years ago
Richard Oudkerk
84ed9a68bd
Issue #8713 : Support alternative start methods in multiprocessing on Unix.
See http://hg.python.org/sandbox/sbt#spawn
13 years ago
Antoine Pitrou
9ed5f27266
Issue #18722 : Remove uses of the "register" keyword in C code.
13 years ago
Larry Hastings
00964ed216
Issue #18667 : Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions.
13 years ago
Antoine Pitrou
584e815114
Fix refcounting issue with extension types in tkinter.
(issue #15721 )
13 years ago
Ethan Furman
a4998a7041
Close #18264 : int- and float-derived enums now converted to int or float.
13 years ago
Eli Bendersky
532d03e547
Issue #15651 : PEP 3121 refactoring for _elementtree
Patch by Antoine Pitrou (based on Robin Schreiber's original patch)
13 years ago
Christian Heimes
ad73a9cf97
Issue #16400 : Add command line option for isolated mode.
-I
Run Python in isolated mode. This also implies -E and -s. In isolated mode
sys.path contains neither the script’s directory nor the user’s
site-packages directory. All PYTHON* environment variables are ignored,
too. Further restrictions may be imposed to prevent the user from
injecting malicious code.
13 years ago
Larry Hastings
a27b83ad2d
Issue #15301 : Parsing fd, uid, and gid parameters for builtins
in Modules/posixmodule.c is now far more robust.
13 years ago
Antoine Pitrou
257cf2fb83
In _PyGC_Fini(), lose the reference that was kept to the time module
13 years ago
Antoine Pitrou
c53204b947
Issue #4885 : Add weakref support to mmap objects. Patch by Valerie Lambert.
13 years ago
Mark Dickinson
fb29a164df
Issue #18661 : typo in grp.struct_group docstring. Thanks Vajrasky Kok.
13 years ago
Raymond Hettinger
d7bd7a5525
Silence compiler warnings for strict function prototype declarations.
13 years ago
Alexander Belopolsky
df7027bb9e
Reuse us_per_second in delta_total_seconds.
13 years ago
Alexander Belopolsky
790d269d39
Fixes #8860 : Round half-microseconds to even in the timedelta constructor.
(Original patch by Mark Dickinson.)
13 years ago
Serhiy Storchaka
1f35ae0a3c
Issue #17998 : Fix an internal error in regular expression engine.
13 years ago
Christian Heimes
865d12a2d9
Fix warning: ‘ptr2’ may be used uninitialized in this function
13 years ago
Ned Deily
bd143c3760
Issue #18627 : Fix typo noticed by Vajrasky Kok.
13 years ago
Ned Deily
b5dd6d2287
Issue #17557 : Fix os.getgroups() to work with the modified behavior of
getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik.
13 years ago
Larry Hastings
2e3e593e34
Issue #17899 : Fix rare file descriptor leak in os.listdir().
(Done as separate patch from trunk as the code has diverged quite a bit.)
13 years ago
Larry Hastings
4dbc95e258
Issue #17899 : Fix rare file descriptor leak in os.listdir().
13 years ago
Victor Stinner
ffff763161
Issue #18519 : Fix test_sqlite on old versions of libsqlite3
With old SQLite versions, _sqlite3_result_error() sets a new Python exception,
so don't restore the previous exception.
13 years ago
Victor Stinner
044c516854
Issue #18609 , #18408 : _ctypes_add_traceback() now clears the current exception
while adding the traceback, because it may call indirectly a Python function
and Python functions must not be called with an exception set.
In the case of the issue #18609 , _ctypes_add_traceback() called the iso8859-1
decoder which is implemented in Python. Python has a ISO-8859-1 codec
implemented in C. It is not used because PyUnicode_Decode() only uses the C
codec for other names (aliases) of this codec ("latin-1", "latin1" and
"iso-8859-1").
13 years ago