Victor Stinner
340f712b84
(Merge 3.3) Fix compilation of the _sqlite module if threads are disabled
13 years ago
Victor Stinner
b84fc0fd9f
Fix compilation of the _sqlite module if threads are disabled
13 years ago
Victor Stinner
daf455554b
Issue #18571 : Implementation of the PEP 446: file descriptors and file handles
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
13 years ago
Serhiy Storchaka
46e1ce214b
Issue #18783 : Removed existing mentions of Python long type in docstrings,
error messages and comments.
13 years ago
Serhiy Storchaka
9594942716
Issue #18783 : Removed existing mentions of Python long type in docstrings,
error messages and comments.
13 years ago
Victor Stinner
14e461d5b9
Close #11619 : The parser and the import machinery do not encode Unicode
filenames anymore on Windows.
13 years ago
Victor Stinner
33824f6fd7
Restore changeset 5bd9db528aed (issue #18408 )
"Issue #18408 : PyObject_Str(), PyObject_Repr() and type_call() now fail with an
assertion error if they are called with an exception set (PyErr_Occurred()).
As PyEval_EvalFrameEx(), they may clear the current exception and so the caller
looses its exception."
13 years ago
Victor Stinner
c82bfd871f
Issue #18664 , #18408 : Rewrite PyErr_WriteUnraisable() to handle errors
* Catch PyFile_WriteString() and PyFile_WriteObject() errors
* Clear the current exception on _PyObject_GetAttrId() failure
* Use PyUnicode_CompareWithASCIIString() and PyFile_WriteObject() instead of
_PyUnicode_AsString() and strcmp() to avoid Unicode encoding error. stderr
has a more tolerant error handler than utf-8/strict.
13 years ago
Victor Stinner
e51321020c
Issue #18408 : _PyObject_Dump() now saves/restores the current exception
So it can be called even if an exception was raised
13 years ago
Ezio Melotti
0e1e04301b
#18839 : merge with 3.3.
13 years ago
Ezio Melotti
4af4d273bd
#18839 : document that sys.exit() will not accept a non-integer numeric value as exit status.
13 years ago
Eli Bendersky
8d26a56f3e
Clarify pyexpat documentation in StartElementHandler
13 years ago
Eli Bendersky
ca4d97ea8a
Clarify pyexpat documentation in StartElementHandler
13 years ago
Eli Bendersky
6206a7e4b0
Remove the obsolete XMLParser._start/_start_list duality.
XMLParser configures expat to report attributes in a list (ordered_attributes),
so only _start_list is needed. Rename it to _start and kill _start.
13 years ago
Ezio Melotti
d640fe2af5
#18803 : merge with 3.3.
13 years ago
Ezio Melotti
7c4a7e6f3c
#18803 : fix more typos. Patch by Févry Thibault.
13 years ago
Eli Bendersky
c020e7f8cb
Merge doc fix from 3.3
13 years ago
Eli Bendersky
bf8ab77f94
Update XMLParser.close documentation and fix formatting.
Using ``method`` markup because the method is on a callback object, not an
explicitly documented method. :meth: markup creates links within the current
class which is incorrect.
In addition, indent the paragraph correctly.
13 years ago
Ezio Melotti
74eba65fb6
Fix markup in elementtree docs.
13 years ago
Ezio Melotti
ec42975bc6
#18833 : merge with 3.3.
13 years ago
Ezio Melotti
4f1353ab10
#18833 : add a test for test_telnetlib. Patch by Alex Volkov.
13 years ago
Antoine Pitrou
7eaf3f7080
Issue #18808 : Non-daemon threads are now automatically joined when a sub-interpreter is shutdown (it would previously dump a fatal error).
13 years ago
Charles-François Natali
0bb766b95c
Merge.
13 years ago
Charles-François Natali
a439b32cf0
Merge.
13 years ago
Charles-François Natali
c20a7b977e
Merge.
13 years ago
Charles-François Natali
d317f4c84e
Issue #18763 : subprocess: The file descriptors are now closed after calling the
preexec_fn callback, which may open file descriptors.
13 years ago
Charles-François Natali
249cdc39fc
Issue #18763 : subprocess: The file descriptors are now closed after calling the
preexec_fn callback, which may open file descriptors.
13 years ago
Serhiy Storchaka
58b3ebfab9
Issue #18817 : Fix a resource warning in Lib/aifc.py demo. Patch by
Vajrasky Kok.
13 years ago
Serhiy Storchaka
b33baf1c9f
Issue #18817 : Fix a resource warning in Lib/aifc.py demo.
13 years ago
R David Murray
0cb8e5131d
Merge #16611 : BaseCookie now parses 'secure' and 'httponly' flags.
13 years ago
R David Murray
cd0f74b1e0
#16611 : BaseCookie now parses 'secure' and 'httponly' flags.
Previously it generated them if they were given a value, but completely
ignored them if they were present in the string passed in to be parsed. Now
if the flag appears on a cookie, the corresponding Morsel key will reference a
True value. Other pre-existing behavior is retained in this maintenance
patch: if the source contains something like 'secure=foo', morsel['secure']
will return 'foo'. Since such a value doesn't round trip and never did (and
would be a surprising occurrence) a subsequent non-bug-fix patch may change
this behavior.
Inspired by a patch from Julien Phalip, who reviewed this one.
13 years ago
Christian Heimes
9dd279a3ac
Issue #11973 : Fix a problem in kevent. The flags and fflags fields are now
properly handled as unsigned.
13 years ago
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
cfa47962c2
Issue #18747 : Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.
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
Christian Heimes
2769d44827
Issue #18709 : Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger
13 years ago
Christian Heimes
157c9834b4
Issue #18709 : Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger
13 years ago
Vinay Sajip
5939027969
Closes #18807 : pyvenv now takes a --copies argument allowing copies instead of symlinks even where symlinks are available and the default.
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
Eli Bendersky
bfd78370a5
Clarify the documentation of XMLParser.close
The return value of close() is not always a toplevel element. It depends on
what the underlying target returns. By default, TreeBuilder returns the
toplevel document element.
13 years ago
Tim Peters
1544fc5312
Various clarifications based on feedback & questions over the years.
13 years ago
Tim Peters
ec8147ba55
Various clarifications based on feedback & questions over the years.
(grafted from 23181bf411 )
13 years ago
Antoine Pitrou
9d95254bb7
Issue #18772 : fix the gdb plugin after the set implementation changes
13 years ago
Antoine Pitrou
f5e30d8b54
Issue #18756 : make test_urandom_failure more robust by executing its code in a subprocess
13 years ago
Antoine Pitrou
eba25bafc7
Issue #18756 : make test_urandom_failure more robust by executing its code in a subprocess
13 years ago
Nick Coghlan
095668914c
Close #18538 : ``python -m dis`` now uses argparse.
Patch by Michele Orrù.
13 years ago
Victor Stinner
e726ce1f3e
(Merge 3.3) test_socket: cancel scheduled alarm on test failure
13 years ago
Victor Stinner
71fe8c00f6
test_socket: cancel scheduled alarm on test failure
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