| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
of PyString_DecodeEscape(). This prevents a call to
_PyString_Resize() for the empty string, which would
result in a PyErr_BadInternalCall(), because the
empty string has more than one reference.
This closes SF bug http://www.python.org/sf/603937
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
521908 (again) to MAIN
The patch applied by Steven was inadvertently reverted during the
transition to GRPC.
Python 2.3a0 (#3, May 8 2002, 23:37:01)
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
Type "copyright", "credits" or "license" for more information.
GRPC IDLE Fork 0.8.2
>>> print u'\xbfQu\xe9 pas\xf3?'
¿Qué pasó?
Modified Files:
OutputWindow.py
|
|
|
|
| |
(Spotted by Neal Norwitz)
|
|
|
|
|
| |
UnicodeTranslateError doesn't have an encoding attribute.
(Spotted by Neal Norwitz)
|
|
|
|
| |
to prevent buffer overflows (spotted by Neal Norwitz).
|
|
|
|
|
|
|
|
|
| |
the "safety" parentheses since some older compilers refuse to compile
the module then, claiming that static initializers are non-constant.
This doesn't actually make any difference for Python, since these
definitions are not used when compiling with a version of Python that
already defines the PyDoc_* macros.
|
| |
|
|
|
|
| |
Use the build python for as many things as possible.
|
|
|
|
| |
Tweaks to make builds work for non-standard dstroot.
|
| |
|
| |
|
|
|
|
|
| |
Now all non-mutating dict methods are in the proxy also.
Inspired by SF bug #602232,
|
|
|
|
|
| |
to 62011. This should get the snake-farm to throw away its old .pyc
files, amongst others.
|
|
|
|
|
|
|
|
| |
and the selection can be looked up, and so can the Carbon manual. From the
help menu you can also get to the online documentation, the Python website
and the MacPython page.
Untested in MacPython-OS9.
|
|
|
|
| |
folder. This allows running the IDE from the source tree on OSX.
|
| |
|
| |
|
|
|
|
| |
building the user menus.
|
|
|
|
| |
Fix for sh: use : in stead of an empty then clause in an if.
|
|
|
|
|
|
|
|
|
|
| |
Use a slightly different strategy to determine when not to call the line
trace function. This removes the need for the RETURN_NONE opcode, so
that's gone again. Update docs and comments to match.
Thanks to Neal and Armin!
Also add a test suite. This should have come with the original patch...
|
|
|
|
|
| |
in stead of 644 (755). This makes a subsequent install fail. Changed
the INSTALL_MODE_FLAG to fix this.
|
|
|
|
|
|
|
| |
it.
Also fixed menu IDs to be signed in do_menudispatch. this is an incompatible
change, but I don't think it'll hurt anyone.
|
|
|
|
|
| |
of the defunct Balloons API. Help tags are TBD, but at least this gives
us access to the help menu.
|
| |
|
| |
|
|
|
|
| |
course.
|
|
|
|
|
|
|
|
|
| |
because it added it to 12 PM too. 12 PM should be hour 12 not hour
24.
Also cleaned up a minor style nit. There are more style problems in
this file that I'll clean up next (but I didn't want them to overwhelm
the substance of this fix).
|
|
|
|
|
|
|
|
| |
localtime, which in -0400 is 12 noon GMT. The bug boiled down to
broken conversion of 12 PM to hour 12 for the '%I %p' format string.
Added a test for this specific condition: Strptime12AMPMTests. Fix to
_strptime.py coming momentarily.
|
|
|
|
| |
Uses the fast update() method when a dictionary is available.
|
|
|
|
|
|
| |
the tokenize module by test_tokenize.py. The FutureWarnings only
appeared during installation, and I've figured out a way to suppress
those in a different way.
|
|
|
|
| |
This seems the sanest thing to do.
|
|
|
|
| |
of FutureWarnings. Added a comment explaining the situation.
|
|
|
|
| |
when given its own type as an argument.
|
|
|
|
|
|
|
|
|
|
|
| |
sure these are the best fixes.
- Test maxint-1 against the negative octal constant -020000000000
- Comment out the tests for oct -1 and hex -1, since 037777777777 and
0xffffffff raise FutureWarnings now and in Python 2.4 those
constants will produce positive values, not negative values. So the
existing test seems to test something that won't be true in 2.4.
|
|
|
|
| |
trailing `L's.
|
|
|
|
|
|
| |
HTML tarball and use it to create a documentation tree readable and
searchable with Apple Help Viewer. The documentation also shows up in
Project Builder (if you add Python.framework to your project).
|
|
|
|
|
|
| |
in Python.app, and refer to it in Info.plist. This makes Apple Help
Viewer recognize the Python documentation.
- Changed the externally visible name of Python.app to "Python" (was PythonW).
|
|
|
|
|
|
| |
HTML tarball and use it to create a documentation tree readable and
searchable with Apple Help Viewer. The documentation also shows up in
Project Builder (if you add Python.framework to your project).
|
| |
|
|
|
|
| |
fully qualified imports) but somehow not checked in yet.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
an error message and not just the missing name.
Closes SF Bug 599869.
|
| |
|
| |
|
|
|
|
|
|
| |
simply PyErr_SetFromErrno
This closes bug 599163.
|