Richard Oudkerk added the comment:

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>

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6461>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to