homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients BreamoreBoy, jnoller, sbt, sgm, spongebob
Date 2013年06月20日.14:40:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371739259.83.0.445372930627.issue6461@psf.upfronthosting.co.za>
In-reply-to
Content
I just tried freezing the program
 from multiprocessing import freeze_support,Manager
 if __name__ == '__main__':
 freeze_support()
 m=Manager()
 l = m.list([1,2,3])
 l.append(4)
 print(l)
 print(repr(l))
using cx_Freeze with Python 2.7, and it worked fine:
 PS> cxfreeze.bat foo.py
 copying C:\Python27\lib\site-packages\cx_Freeze\bases\Console.exe -> C:\Tmp\dir\dist\foo.exe
 copying C:\Windows\system32\python27.dll -> C:\Tmp\dir\dist\python27.dll
 writing zip file C:\Tmp\dir\dist\foo.exe
 ...
 PS> dist\foo
 [1, 2, 3, 4]
 <ListProxy object, typeid 'list' at 0x206f410>
History
Date User Action Args
2013年06月20日 14:40:59sbtsetrecipients: + sbt, jnoller, sgm, spongebob, BreamoreBoy
2013年06月20日 14:40:59sbtsetmessageid: <1371739259.83.0.445372930627.issue6461@psf.upfronthosting.co.za>
2013年06月20日 14:40:59sbtlinkissue6461 messages
2013年06月20日 14:40:59sbtcreate

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