Jack Jansen
b36687a483
Don't hardcode "Python" as the framework name, we have a variable for it:
...
$PYTHONFRAMEWORK.
2004-07-16 08:43:47 +00:00
Jack Jansen
6c09a21f66
Fix for #795649: explain how to use TextEdit for editing Python code.
2004-07-15 22:38:06 +00:00
Jack Jansen
e497978201
Fix for 838140: don't call NSUnlinkModule when we fail to find our
...
expected entrypoint. The unlinking will crash the application if the
module contained ObjC code. The price of this is small: a little wasted
memory, and only in a case than isn't expected to occur often.
2004-07-15 22:28:48 +00:00
Jack Jansen
ad1654e03a
After more than two years of puzzlement Jurjen Bos found the reason for
...
the double-scroll problem: when you pass a tracker function to TrackControl
you shouldn't call your hit function again afterwards. Fixes #711989.
2004-07-15 22:08:33 +00:00
Raymond Hettinger
67115a2b02
Apply VISIT macro.
2004-07-15 21:32:18 +00:00
Jack Jansen
4f9013759b
- Added a note about fixversions.py
...
- Ran it.
2004-07-15 21:30:41 +00:00
Jack Jansen
c572e42fb4
Call the correct tp_dealloc.
2004-07-15 21:24:07 +00:00
Jack Jansen
84b7447752
_localemodule now needs to be linked with CoreFoundation on darwin.
2004-07-15 19:56:25 +00:00
Andrew M. Kuchling
5336f8caa4
[Patch #982681] Apply this patch correctly; makes set_reuse_addr() work on Windows
2004-07-15 16:17:07 +00:00
Jack Jansen
7323f08422
A script to fix version strings in .plist files.
2004-07-15 16:03:55 +00:00
Nicholas Bastin
9ba301e589
Moved SunPro warning suppression into pyport.h and out of individual
...
modules and objects.
2004-07-15 15:54:05 +00:00
Jack Jansen
95b66f3276
Allow overriding of bgen pathnames in an optional module bgenlocationcustomize.
...
Editing of bgenlocations.py isn't easy if your Python was supplied by Apple.
2004-07-15 15:06:07 +00:00
Jack Jansen
ce17cf6da7
The CF inheritance could cause double frees of the underlying objects.
...
Fixed.
2004-07-15 14:25:48 +00:00
Jack Jansen
d9e50f554f
CFStringGetUnicode() returned an extra null character at the end of the string.
...
fixed.
2004-07-15 14:11:30 +00:00
Jack Jansen
3bfc28c12f
Make CF module PEP253 based (finally).
2004-07-15 13:42:06 +00:00
Jack Jansen
59f072ad7c
Moved PyMac_GetScript() to _localemodule, which is the only place where
...
it is used, and made it private. Should fix #978662.
2004-07-15 13:31:39 +00:00
Jack Jansen
75694501ca
Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.
2004-07-15 13:21:16 +00:00
Andrew M. Kuchling
3fc2fde7ff
Typo fixes
2004-07-15 12:17:26 +00:00
Andrew M. Kuchling
0045717090
Add thread-local feature
2004-07-15 11:52:40 +00:00
Andrew M. Kuchling
23406894ea
Correct a paragraph: basicConfig() isn't actually new
2004-07-15 11:44:42 +00:00
Tim Peters
de8332171a
SF bug 990749: os constants missing
...
A LaTeX comment identified the 6 os.O_XXX constants the docs claimed
are available on Windows but aren't. The bug report listed the same 6.
Split these non-Windows constants into a different table with a possibly
correct "Availability:" claim.
2004-07-15 05:46:37 +00:00
Raymond Hettinger
58ed69b402
Exercise Jim's VISIT macro.
2004-07-15 05:32:47 +00:00
Kurt B. Kaiser
8aa23927e3
Checking sys.platform for substring 'win' was breaking IDLE docs on Mac
...
(darwin). Also, Mac Safari browser requires full file:// URIs. SF 900580
M EditorWindow.py
M NEWS.txt
M configHelpSourceEdit.py
M idlever.py
2004-07-15 04:54:57 +00:00
Hye-Shik Chang
69dc1c8f6a
Fix typo.
2004-07-15 04:30:25 +00:00
Tim Peters
5960d80e11
s/it's/its/, s/NULL/NULL{}/, where appropriate.
2004-07-15 04:23:13 +00:00
Tim Peters
eda29306b3
Formalize that the Py_VISIT macro requires that the tp_traverse
...
implementation it's used in must give its arguments specific names.
2004-07-15 04:05:59 +00:00
Andrew M. Kuchling
89ba1fff17
Bump version; update date
2004-07-14 21:56:19 +00:00
Raymond Hettinger
9296023938
Improve examples for working with the context API.
2004-07-14 21:06:55 +00:00
Raymond Hettinger
ef66debd7e
Use threading.local() instead of threading.currentThread().
2004-07-14 21:04:27 +00:00
Raymond Hettinger
99148e7eaa
Factor out two unnecessary global variables.
2004-07-14 19:56:56 +00:00
Jim Fulton
d15dc06df0
Implemented thread-local data as proposed on python-dev:
...
http://mail.python.org/pipermail/python-dev/2004-June/045785.html
2004-07-14 19:11:50 +00:00
Jim Fulton
e827437f45
Summarized changes: threading.local, Py_CLEAR, Py_VISIT, improved type
...
tutorial.
2004-07-14 19:08:28 +00:00
Jim Fulton
aa6389e13b
Documented the new Py_VISIT macro to simplify implementation of
...
tp_traverse handlers. (Tim made me do it. ;)
2004-07-14 19:08:17 +00:00
Jim Fulton
8c5aeaa277
Implemented a new Py_CLEAR macro. This macro should be used when
...
decrementing the refcount of variables that might be accessed as a
result of calling Python
2004-07-14 19:07:35 +00:00
Jim Fulton
7a0e8bc283
Updated documentation to:
...
- point out the importance of reassigning data members before
assigning thier values
- correct my missconception about return values from visitprocs. Sigh.
- mention the labor saving Py_VISIT and Py_CLEAR macros.
2004-07-14 19:07:24 +00:00
Jim Fulton
a643b658a7
Ported some features from zope:
...
- Fixed the display of tests in verbose output
- Allow setUp and tearDown functions to be provided for DocTestSuites.
2004-07-14 19:06:50 +00:00
Raymond Hettinger
b91af521fd
* Hide a loop induction variable that was inadvertantly being picked up
...
by the locals() call in the context constructor.
* Remove unnecessary properties for int, exp, and sign which duplicated
information returned by as_tuple().
2004-07-14 16:35:30 +00:00
Raymond Hettinger
fed52963fc
* Rename "Signals" to "_signals" making it non-public.
...
* Context.create_decimal can take a zero default just like Decimal().
* Fix typo in comment.
2004-07-14 15:41:57 +00:00
Thomas Heller
b60b242d29
Recompiled after source file changes.
2004-07-14 15:22:05 +00:00
Thomas Heller
0062be26d8
Ignore some more build products.
2004-07-14 15:19:45 +00:00
Thomas Heller
d1d92ea59a
Add a warning so that it isn't forgotten to recreate the binaries AND
...
CHECK INTO CVS if these files are changed.
2004-07-14 15:17:04 +00:00
Thomas Heller
55a9864cb4
Don't complain that non-existant registry entries cannot be deleted.
2004-07-14 14:53:50 +00:00
Michael W. Hudson
c849e63eb0
This is Pete Shinners' patch from his bug report
...
[ 984722 ] Py_BuildValue loses reference counts on error
I'm ever-so-slightly uneasy at the amount of work this can do with an
exception pending, but I don't think that this can result in anything
more serious than a strange error message.
2004-07-14 11:28:06 +00:00
Guido van Rossum
8cec3ab0e4
- Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affects
...
the documented behavior: the function passed to the onerror()
handler can now also be os.listdir.
[I could've sworn I checked this in, but apparently I didn't, or it
got lost???]
2004-07-14 00:48:58 +00:00
Guido van Rossum
4a2ccdf781
- Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affects
...
the documented behavior: the function passed to the onerror()
handler can now also be os.listdir.
[I could've sworn I checked this in, but apparently I didn't, or it
got lost???]
2004-07-14 00:45:59 +00:00
Brett Cannon
80e1f06594
It helps when doing checks if something is in a tuple of strings that if you
...
put everything in the tuple in caps to use str.upper() instead of str.lower().
2004-07-14 00:43:51 +00:00
Fred Drake
c0ed9c4956
clarify where \versionadded and \versionchanged should be placed when
...
they are used
2004-07-13 21:04:26 +00:00
Tim Peters
e45d5a3b00
Claifications: visit procs are supplied by the core, users aren't
...
expected to write their own. A NULL "object" must not be passed to
the visit callback. A non-zero return from a visit proc isn't
necessarily an error return (and it doesn't matter to the tp_traverse
code *what* it might signify, their only job is to return it).
2004-07-13 17:18:10 +00:00
Fred Drake
0751d554c0
generalize a bit; no need to mention my user id directly
2004-07-13 17:08:10 +00:00
Andrew M. Kuchling
2a510ce119
Wordsmithing
2004-07-13 14:03:31 +00:00