[Python-checkins] python/dist/src/Mac/Modules/file _Filemodule.c,1.4,1.5 filesupport.py,1.4,1.5

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
2002年12月17日 15:29:30 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules/file
In directory sc8-pr-cvs1:/tmp/cvs-serv26829
Modified Files:
	_Filemodule.c filesupport.py 
Log Message:
Fixed silly typo.
Added comment (to myself) on what still needs to be done.
Index: _Filemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/file/_Filemodule.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** _Filemodule.c	17 Dec 2002 22:10:46 -0000	1.4
--- _Filemodule.c	17 Dec 2002 23:29:27 -0000	1.5
***************
*** 2395,2400 ****
 	** on OS9 we accept only a real FSRef object
 	*/
! #if TARGET_API_MAX_OSX
! 	if ( myPyMac_GetFSRef(v, &fsr) >= 0 ) {
 #else
 	if ( PyArg_Parse(v, "O&", FSRef_Convert, &fsr) ) {
--- 2395,2400 ----
 	** on OS9 we accept only a real FSRef object
 	*/
! #if TARGET_API_MAC_OSX
! 	if ( myPyMac_GetFSRef(v, &fsr) ) {
 #else
 	if ( PyArg_Parse(v, "O&", FSRef_Convert, &fsr) ) {
Index: filesupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/file/filesupport.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** filesupport.py	17 Dec 2002 22:10:46 -0000	1.4
--- filesupport.py	17 Dec 2002 23:29:27 -0000	1.5
***************
*** 3,6 ****
--- 3,11 ----
 # The function specifications are generated by scanning the mamager's header file,
 # using the "scantools" package (customized for this particular manager).
+ #
+ # XXXX TO DO:
+ # - implement rawdata initializers
+ # - Implement correct missing FSSpec handling for Alias methods
+ # - Implement FInfo
 
 import string
***************
*** 158,163 ****
 	** on OS9 we accept only a real FSRef object
 	*/
! #if TARGET_API_MAX_OSX
! 	if ( myPyMac_GetFSRef(v, &fsr) >= 0 ) {
 #else
 	if ( PyArg_Parse(v, "O&", FSRef_Convert, &fsr) ) {
--- 163,168 ----
 	** on OS9 we accept only a real FSRef object
 	*/
! #if TARGET_API_MAC_OSX
! 	if ( myPyMac_GetFSRef(v, &fsr) ) {
 #else
 	if ( PyArg_Parse(v, "O&", FSRef_Convert, &fsr) ) {

AltStyle によって変換されたページ (->オリジナル) /