[issue33794] Python.framework build is missing 'Current' symlink

2018-06-07 Thread hhas
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 

[issue15116] remove out-of-date Mac application scripting documentation

2012-06-22 Thread hhas
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

[issue15116] remove out-of-date Mac application scripting documentation

2012-06-20 Thread hhas
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

[issue10976] json.loads() throws TypeError on bytes object

2011-01-22 Thread hhas
hhas added the comment: Doc fix works for me. -- ___ Python tracker <http://bugs.python.org/issue10976> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10976] json.loads() throws TypeError on bytes object

2011-01-21 Thread hhas
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

[issue10192] 'from urllib.parse import *' does not import urlencode function

2010-10-25 Thread hhas
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

[issue1155] Carbon.CF memory management problem

2010-04-29 Thread hhas
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

[issue1113328] OSATerminology still semi-broken

2009-03-05 Thread hhas
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

[issue916013] Improving MacPython's IAC support

2009-02-14 Thread hhas
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

[issue1155] Carbon.CF memory management problem

2007-09-12 Thread hhas
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

[issue1154] Carbon.CF memory leak

2007-09-12 Thread hhas
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