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
Serhiy Storchaka
12d5e0f016
Merge heads
13 years ago
Serhiy Storchaka
96d5c54130
Issue #18757 : Improved cross-references in the concurrent package.
13 years ago
Serhiy Storchaka
9e0ae53980
Issue #18757 : Improved cross-references in the concurrent package.
13 years ago
Antoine Pitrou
91541931f5
Back out 5bd9db528aed (issue #18408 ). It caused unsolved buildbot failures.
13 years ago
Antoine Pitrou
0acbcb5bbe
Issue #17741 : use composition, rather than inheritance, for xml.etree.iterparse's result class.
Patch by Stefan Behnel.
13 years ago
Ezio Melotti
892584e091
#18798 : merge typo fix from 3.3 and also use two unused variables.
13 years ago
Ezio Melotti
78ede7c96d
#18798 : fix typo in test_fcntl. Patch by Vajrasky Kok.
13 years ago
Ezio Melotti
6e6c6ac3d7
#18796 : improve documentation of the file argument of dis.show_code. Initial patch by Vajrasky Kok.
13 years ago
Brett Cannon
f79126f373
Issue #18394 : Explicitly close the file object cgi.FieldStorage
caches.
Eliminates the ResoureWarning raised during testing.
Patch also independently written by Vajrasky Kok.
13 years ago
Brett Cannon
9c7eb55570
Stop using assertEquals.
13 years ago
Brett Cannon
7e0a18158f
Make test_import more robust and stop using assertRaisesRegexp().
13 years ago
Victor Stinner
a93c6db68b
(Merge 3.3) Close #17702 : On error, os.environb now removes suppress the except
context when raising a new KeyError with the original key.
13 years ago
Victor Stinner
0c2dd0c0a9
Close #17702 : On error, os.environb now removes suppress the except context
when raising a new KeyError with the original key.
13 years ago
Brett Cannon
330cc52c99
Delete merge markers
13 years ago
Brett Cannon
e2f6b799b8
merge for issue #18755
13 years ago
Brett Cannon
16ababc213
merge for issue #18755
13 years ago
Brett Cannon
f1e0273023
NEW entry for issue #18755
13 years ago
Brett Cannon
a4975a911d
Issue #18755 : Allow imp.load_*() loaders to have get_data() called
multiple times.
13 years ago
Brett Cannon
f9f0458961
merge emphasized discouragement of overriding __import__
13 years ago
Brett Cannon
f5ebd26403
Emphasize that people should not override __import__.
With importlib getting used more and more, changing __import__ will
not work as well as people used to hope as it will potentially bypass
importers, etc. It also will not work with importlib.import_module()
as it uses "importlib.__import__" (i.e. importlib's implementation of
import) directly and not builtins.__import__.
13 years ago
Raymond Hettinger
bfc1e1a9cd
Add the same dummy type that is used in dictionaries.
13 years ago
Tim Peters
a1db94554b
Add line explaining the "%sort" test.
13 years ago
Tim Peters
01e75a699d
Add line explaining the "%sort" test.
(grafted from 1ea833ecaf )
13 years ago
Richard Oudkerk
67e5198dbf
Make test for semaphore tracker capture and check the debug output.
13 years ago
Raymond Hettinger
fcf3b500ba
Issue 18797: Remove unneeded refcount adjustments for dummy objects.
It suffices to keep just one reference when the object is created.
13 years ago
Serhiy Storchaka
e39e54d0b3
Issue #16809 : Fixed some tkinter incompabilities with Tcl/Tk 8.6.
13 years ago
Serhiy Storchaka
06ce077e43
Issue #16809 : Fixed some tkinter incompabilities with Tcl/Tk 8.6.
13 years ago
Serhiy Storchaka
254954aacd
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
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