| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Let netrc handle entries with login fields (mail servers for instance)
by having login default to ''.
Backport candidate.
|
|
|
|
| |
use cStringIO if available.
|
|
|
|
| |
argument function is available on the current platform
|
| |
|
|
|
|
| |
particular resources
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
__init__(): Removed since we no longer need the coerce flag.
Message ids and strings are now always coerced to Unicode, /if/
the catalog specified a charset parameter.
gettext(), ngettext(): Since the message strings are Unicodes in
the catalog, coerce back to encoded 8-bit strings on return.
ugettext(), ungettext(): Coerce the message ids to Unicode when
there's no entry for the id in the catalog.
Minor code cleanups; use booleans where appropriate.
|
|
|
|
| |
GNUTranslations constructor.
|
|
|
|
|
|
|
|
| |
As a side issue on this bug, it was noted that list and tuple iterators
used macros to directly access containers and would not recognize
__getitem__ overrides. If the method is overridden, the patch returns
a generic sequence iterator which calls the __getitem__ method; otherwise,
it returns a high custom iterator with direct access to container elements.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(requested by GvR. patch contributed by Michael Stone)
|
|
|
|
| |
(contributed by John J Lee)
|
| |
|
|
|
|
| |
definitions.
|
|
|
|
|
| |
There's no separate documentation for this module yet - apart from the
doc-strings which explain the APIs.
|
|
|
|
| |
The additional code complexity and new NOP opcode were not worth it.
|
| |
|
|
|
|
|
| |
and "" in grep.getgrgid(). Adjust the test to work
around this problem. This should fix SF bug #724771.
|
|
|
|
|
|
| |
Expanded the range of allowable characters to include ascii punctuation.
Allows resource files to have a larger character set for passwords.
(Idea contributed by Bram Moolenaar.)
|
| |
|
|
|
|
| |
- upgrade to version 0.4.8
|
|
|
|
| |
field contains garbage after the first NUL character.
|
|
|
|
|
|
| |
using a build directory just inside the source directory and saving
just one copy of the test data in the source tree, rather than having
a copy in each build directory.
|
|
|
|
| |
directory.
|
|
|
|
| |
Fixes 719303.
|
|
|
|
| |
were indeed files that weren't unpacked.
|
|
|
|
| |
and group names. This should fix SF bug #724771.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Can now test for basic blocks.
* Optimize inverted comparisions.
* Optimize unary_not followed by a conditional jump.
* Added a new opcode, NOP, to keep code size constant.
* Applied NOP to previous transformations where appropriate.
Note, the NOP would not be necessary if other functions were
added to re-target jump addresses and update the co_lnotab mapping.
That would yield slightly faster and cleaner bytecode at the
expense of optimizer simplicity and of keeping it decoupled
from the line-numbering structure.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove "." in coverage output for lines with comments.
Silence complaints in coverage output about unexecuted docstrings.
Eliminate use of inspect module in favor of direct access to frame and
code objects. We're in a trace function here: Efficiency counts!
Remove unused code. Reflow long lines.
Remove backwards compatibility for stored trace output from Zooko's
experiment to add calledfuncs to the pickled dict.
Move code to generate per-file coverage stats to a separate routine.
Replace use of parser module with call to compile.
|
|
|
|
| |
test/test_optik.py (rev 1.19) from the Optik CVS.
|
|
|
|
|
|
|
|
|
|
| |
* Fixed some long-hidden bugs revealed by the new PyUnit-based
test suite (thanks to Johannes Gijsbers the new test suite,
improved tests that caught the bugs, and the bug fixes).
* Make store_true/store_false store True/False rather than 1/0.
Details available in Optik's CVS repository.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've applied a modified version of Greg Chapman's patch. I've included
the fixes without introducing the reorganization mentioned, for the sake
of stability. Also, the second fix mentioned in the patch don't fix the
mentioned problem anymore, because of the change introduced by patch
#720991 (by Greg as well). The new fix wasn't complicated though, and is
included as well.
As a note. It seems that there are other places that require the
"protection" of LASTMARK_SAVE()/LASTMARK_RESTORE(), and are just waiting
for someone to find how to break them. Particularly, I belive that every
recursion of SRE_MATCH() should be protected by these macros. I won't
do that right now since I'm not completely sure about this, and we don't
have much time for testing until the next release.
|
|
|
|
| |
meaningful parameters.
|
| |
|
|
|
|
|
|
|
| |
raising an exception. This is consistent with calling the
constructors for the other builtin types -- called without argument
they all return the false value of that type. (SF patch #724135)
Thanks to Alex Martelli.
|
|
|
|
|
|
| |
which specifies a file where to divert the command's output
(already supported by the body() method). (SF patch #720468)
Thanks to Terry Carroll.
|
| |
|
| |
|
| |
|
|
|
|
| |
Will backport to 2.2.
|
|
|
|
| |
internal regex.
|