New submission from hhas :
The Python.framework installed at '/Library/Frameworks/Python.framework' should
have a subdirectory structure similar to this:
Python.framework
|
|-Headers [symlink to 'Versions/Current/Headers']
|
|-Python [symlink to
hhas added the comment:
@Ned: The whole page has been needing updated for years, but no-one's ever
quite managed to complete it. In that light, might I suggest a two-step
approach?
1. Edit the existing text now to remove all the obsolete info (e.g. section
4.1.2. is also defunct) and
New submission from hhas :
1. The entire '4.6. Application Scripting' section should be deleted from the
following Python 2 & 3 pages as appscript (and PyOSA) is no longer developed or
supported and its use is not recommended for new projects
(http://appscript.sourceforge.n
hhas added the comment:
Doc fix works for me.
--
___
Python tracker
<http://bugs.python.org/issue10976>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from hhas :
json.loads() accepts strings but errors on bytes objects. Documentation and API
indicate that both should work. Review of json/__init__.py code shows that the
loads() function's 'encoding' arg is ignored and no decoding takes place before
the obje
New submission from hhas :
Problem:
The following statement fails to import the public urlencode function into the
current namespace:
from urllib.parse import *
Solution:
Add 'urlencode' to urllib.parse.__all__.
--
components: Library (Lib)
messages: 119558
nosy: hha
hhas added the comment:
The Carbon extensions are deprecated in Python 2.6 and absent in Python 3, and
PyObjC provides a far better alternative. I'd be surprised if this issue
affects any users at this point (chances are I'm the only one who was ever
bothered by it, and I elim
hhas added the comment:
No idea, be honest. The original patch was created for 2.3, and I've no
free time to look into it myself now.
BTW, note that nobody uses this module any more; it's deprecated in 2.6,
absent in 3.0, and OSAGetAppTerminology() is deprecated in OS X 10.5 as
hhas added the comment:
As of Python 2.6/3.0, all Mac-specific modules are deprecated/eliminated
from the standard library and there are no longer any plans to submit
appscript for possible inclusion. This issue should be rejected and
closed.
___
Python
New submission from hhas:
While other CF...RefObj_Convert functions return a borrowed object,
CFStringRefObj_Convert will return either a new or borrowed CFStringRef
depending on the type of value supplied (str, unicode or CFString). As a
result, extensions that use CFStringRefObj_Convert
New submission from hhas:
CFStringRefObj_Convert leaks memory when passed a str. See attached diff
file for patch.
--
components: Macintosh
files: CFmodule.diff
messages: 55843
nosy: hhas
severity: normal
status: open
title: Carbon.CF memory leak
type: resource usage
versions: Python
11 matches
Mail list logo