[Pyobjc-dev] [ pyobjc-Bugs-704900 ] It is not possible to create boolean NSNumbers from python
Brought to you by:
ronaldoussoren
From: SourceForge.net <no...@so...> - 2003-03-17 09:56:20
|
Bugs item #704900, was opened at 2003-03-17 11:08 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=704900&group_id=14534 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ronald Oussoren (ronaldoussoren) Assigned to: Nobody/Anonymous (nobody) Summary: It is not possible to create boolean NSNumbers from python Initial Comment: It is currently not possible to create NSNumbers that behave like booleans ([NSNumber numberWithBool:1]) from python, when using Python 2.2. This is problematic when trying to create a plist file containing a boolean value (see testPropertyList1 in test_nsnumber.py). I'm currently working around this by using a patched version of PyObjC that doesn't convert NSNumber instances back to python objects. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=704900&group_id=14534 |