| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
turn three or more into a single slash. (This is in sync with POSIX
susv2 according to Fredrik.)
|
|
|
|
|
|
| |
corresponding string method. Added tests for this too.
Patch written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
|
|
|
|
|
|
|
|
|
| |
* Removed func_hash and func_compare, so they can be treated as immutable
content-less objects (address hash and comparison)
* Added tests to that affect to test_funcattrs (also testing func_code
is writable)
* Reverse meaning of tests in test_opcodes which checked identical code
gets identical functions
|
| |
|
|
|
|
| |
case, the order of parameters in the output matches the order of the inputs.
|
|
|
|
| |
the resulting path is empty.
|
| |
|
|
|
|
| |
Fixed the thread races. Function forget_dir was also utterly Unix-specific.
|
|
|
|
| |
Use test_support.verify() where applicable.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Break cycle involving expat parser in close().
Add lex handler support to SAX2 pyexpat
|
| |
|
|
|
|
|
|
| |
Use nodeName, not tagName in attributes.
Provide get method for dictionary-like objects.
Use DOM exceptions instead of standard exceptions.
|
| |
|
| |
|
| |
|
|
|
|
| |
building.
|
| |
|
| |
|
|
|
|
| |
examples to flesh it out for the uninitiated. Here they are.
|
| |
|
| |
|
|
|
|
|
| |
test_new: new.code() noew takes two more arguments
test_grammer: Add a bunch of test cases for lambda (not really PEP 227 related)
|
|
|
|
| |
New tests cases for nested scopes.
|
|
|
|
|
|
|
|
|
| |
prevent binding for str from masking use of builtin str in nested
function.
(This is the only case I found in the standard library where a local
shadows a global or builtin. There may be others, but the regression
test doesn't catch them.)
|
|
|
|
|
| |
Track changes to new opcodes. Add hasfree list that applies to all
ops that use the closure.
|
|
|
|
|
| |
also normalize checks for syntax errors and delete commented out
definition of verify.
|
|
|
|
| |
test___all__.py: fail silently in check_all if the module can't be imported
|
|
|
|
|
| |
loaded - prevents second import later from succeeding spuriously - mostly of
use in regression tests where the module might get imported more than once
|
|
|
|
|
|
|
| |
got broken). Also added new method .jumpahead(N). This finally gives us
a semi-decent answer to how Python's RNGs can be used safely and efficiently
in multithreaded programs (although it requires the user to use the new
machinery!).
|
|
|
|
|
|
|
|
|
|
|
| |
functionality of, whrandom.py. Also closes all the "XXX" todos in
random.py. New frequently-requested functions/methods getstate() and
setstate(). All exported functions are now bound methods of a hidden
instance. Killed all unintended exports. Updated the docs.
FRED: The more I fiddle the docs, the less I understand the exact
intended use of the \var, \code, \method tags. Please review critically.
GUIDO: See email. I updated NEWS as if whrandom were deprecated; I
think it should be.
|
|
|
|
| |
are different (Ping didn't test this).
|
|
|
|
| |
are different (Ping couldn't test this).
|
|
|
|
|
| |
to find the prefix of strings, thus removing a warning, and simply
uses straightforward string slicing.
|
|
|
|
| |
Switch from octal escapes to hex escapes for other nonprintable characters.
|
| |
|
|
|
|
|
|
| |
Adds support for using select.poll() if it's available
Move a 'map is None' test out of an else branch and into the right place
|
|
|
|
|
|
|
|
|
| |
Lib/distutils/command/build_ext.py(build_ext.finalize_options): Add
Cygwin specific code to append Python's library directory to the
extension's list of library directories.
(build_ext.get_libraries): Add Cygwin specific code to append Python's
(import) library to the extension's list of libraries.
|
|
|
|
|
| |
know which names it exports. Didn't fix its ignorance, but patched
over the consequence.
|
|
|
|
|
| |
crop of changes, the files are small enough to do this). Also
adds "name" and "lookup" functions to unicodedata.
|
| |
|
|
|
|
|
|
|
| |
exportable module attributes (they're attributes on the IMAP class).
Fixed the case typo on Time2Internaldate.
Does anybody run the test suite any more? <wink>
|
| |
|
| |
|
|
|
|
| |
fixed typo in ihooks docstring
|
| |
|
|
|
|
|
|
|
|
| |
complaints. The new version moves most of its initialization to
package load time; it's simpler, faster, smaller, and adds support for
Mozilla and Links. Interpretation of the BROWSER variable now works
and is documented. The open_new entry point and methods are marked
"deprecated; may be removed in 2.1".
|
|
|
|
| |
don't fail if they're not available.
|