Re: Is c extensions enabled by default in 0.6b2?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Is c extensions enabled by default in 0.6b2?

Thijs Triemstra
I think the quickest way is to open a interactive python interpreter in
your console and import BufferedByteStream. The last line in the example
below shows 'cpyamf.util' so it's using cPyAMF, the c-extension.
Python 2.6.6rc1 (r266rc1:83691, Aug  9 2010, 15:35:30) [GCC 4.2.1 (Apple
Inc. build 5664)] on darwinType "help", "copyright", "credits" or
"license" for more information.>>> from pyamf import util>>> t =
util.BufferedByteStream()>>> t
Cheers,
Thijs
On 16 Aug 2010, at 20:14, Vishal Rana wrote:I have build / installed PyAMF
0.6b2 from git on linux, how do I know if I am using c extension?  Is it
enabled by default or I have to set it up somewhere?  Thanks
Vishal Rana
  _______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users





_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users