| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
charset and language fields are not present, e.g. as in:
title*0="This%20is%20encoded"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Relaxed the argument restrictions for non-operator methods. They now
allow any iterable instead of requiring a set. This makes the module
a little easier to use and paves the way for an efficient C
implementation which can take better advantage of iterable arguments
while screening out immutables.
* Deprecated Set.update() because it now duplicates Set.union_update()
* Adapted the tests and docs to include the above changes.
* Added more test coverage including testing identities and checking
to make sure non-restartable generators work as arguments.
Will backport to Py2.3.1 so that the interface remains consistent
across versions. The deprecation of update() will be changed to
a FutureWarning.
|
| |
|
| |
|
|
|
|
|
|
| |
unchanged (and sys.gettotalrefcount() remains constant).
Fix a few typos.
|
|
|
|
|
|
|
|
|
| |
[ 784825 ] fix obscure crash in descriptor handling
Should be applied to release23-maint and in all likelyhood
release22-maint, too.
Certainly doesn't apply to release21-maint.
|
|
|
|
|
|
| |
on W2K and XP. Python Bugs 780451, 784183
Backported to 2.2-maint
|
| |
|
|
|
|
| |
UnicodeTranslateError message.
|
|
|
|
|
| |
If there is only one bad character it will now be printed in a
form that is a valid Python string.
|
| |
|
| |
|
|
|
|
|
|
| |
under Cygwin. The attached patch corrects this problem.
I tested this patch under Red Hat Linux 8.0 too.
|
|
|
|
| |
but attempting to get it resulted in a crash. Fixed. Backport candidate.
|
|
|
|
|
|
| |
time.daylight is true. Add an explicit test for this situation.
Fixed some wording in docstrings.
|
|
|
|
|
|
|
| |
The default seed is time.time().
Multiplied by 256 before truncating so that fractional seconds are used.
This way, two successive calls to random.seed() are much more likely
to produce different sequences.
|
| |
|
|
|
|
| |
(Contributed by Andrew Dalke.)
|
|
|
|
| |
backported to 23-maint
|
| |
|
|
|
|
| |
which can now take zero arguments.
|
| |
|
| |
|
|
|
|
| |
Include a test case that failed for one of my efforts to repair this.
|
|
|
|
| |
Will also check in on the 2.3 branch.
|
| |
|
|
|
|
| |
(From SF patch #543867)
|
| |
|
| |
|
| |
|
|
|
|
| |
Will backport to 2.3.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also remove now unnecessary property attributes for thread safety
(no longer have lazy attributes) and code simplicity reasons.
Timezone storage has been reworked to be simpler and more flexible. All values
in LocaleTime instances are lower-cased. This is all done to simplify the
module.
The module now assumes nothing beyond the strptime function will be exposed for
general use beyond providing functionality for strptime.
|
| |
|
| |
|
| |
|
|
|
|
| |
see how much of the file was not covered by the build process
|
|
|
|
| |
by returning an empty list instead of raising a TypeError.
|
|
|
|
|
|
|
|
|
| |
warnings from personal firewall software. Added the same text
to README.txt, updated NEWS.txt for release.
M NEWS.txt
M PyShell.py
M README.txt
|
| |
|
|
|
|
|
| |
LocaleTime instance to only be created once and thus not be recreated when
the locale changed.
|
|
|
|
|
|
| |
caught when executing test_strptime, test_logging, and test_time in that order
when the testing of "%c" occured. Suspect the cache was not being recreated
(the test passed when test_logging was forced to re-establish the locale).
|
|
|
|
|
|
| |
by patch 769142. Fixed by patch 776062. KBK will backport net result
to IDLE release22-maint and IDLEfork.
2. Update NEWS.txt and idlever for release.
|
| |
|
|
|
|
|
| |
all I know, the original locale may be '' (I don't think that's possible,
but ...), and if so we would certainly want to restore it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Obtain the original locale in the documented way. This way actually
works for me.
Restore the original locale at the end, instead of forcing to "C".
Move the locale fiddling into the test driver instead of doing it as a
side effect of merely importing the module. I don't know why the test
is mucking with locale (and also added a comment saying so), but it
surely has no justification for doing that as an import side-effect.
Now whenever the locale-changing code executes, the locale-restoring code
will also get run.
|
| |
|
|
|
|
| |
This patch just adds test_ioctl to the list of expected skips for Cygwin.
|
|
|
|
|
|
|
|
|
| |
arbitrary bytes before the actual zip compatible archive. Zipfiles
containing comments at the end of the file are still not supported.
Add a testcase to test_zipimport, and update NEWS.
This closes sf #775637 and sf #669036.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
are satisfied in a case-insensitive manner, the attempt to import (the
non-existent) fcntl gets satisfied by FCNTL.py instead, and the tempfile
module defines a Unix-specific _set_cloexec() function in that case. As
a result, temp files can't be created then (blows up with an AttributeError
trying to reference fcntl.fcntl). This just popped up in the spambayes
project, where there is no apparent workaround (which is why I'm pushing
this in now).
|