| stakkars (n=tismer@i59F7CE0E.versanet.de) joined #pypy. | 00:01 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) left irc: Read error: 104 (Connection reset by peer) | 00:04 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) joined #pypy. | 00:14 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) left irc: Read error: 104 (Connection reset by peer) | 00:20 | |
| lucian (n=lucian@cpc6-newc9-0-0-cust64.gate.cable.virginmedia.com) left irc: Remote closed the connection | 00:21 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) joined #pypy. | 00:30 | |
| lucian (n=lucian@cpc6-newc9-0-0-cust64.gate.cable.virginmedia.com) joined #pypy. | 00:38 | |
| lucian (n=lucian@cpc6-newc9-0-0-cust64.gate.cable.virginmedia.com) left irc: Read error: 60 (Operation timed out) | 00:44 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) left irc: Read error: 104 (Connection reset by peer) | 00:44 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) joined #pypy. | 00:53 | |
| hpk (n=hpk@HSI-KBW-095-208-109-209.hsi5.kabel-badenwuerttemberg.de) left irc: Read error: 110 (Connection timed out) | 00:54 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) left irc: Read error: 104 (Connection reset by peer) | 01:23 | |
| Misto (n=Misto@ppp-98-90.32-151.iol.it) left irc: | 01:28 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) joined #pypy. | 01:33 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) left irc: Read error: 104 (Connection reset by peer) | 01:36 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) joined #pypy. | 01:46 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) left irc: Read error: 104 (Connection reset by peer) | 01:52 | |
| ebo^ (n=ebolad@233.195.116.85.dsl.manitu.net) left irc: "Verlassend" | 02:00 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) joined #pypy. | 02:01 | |
| hikoz (n=hikoz@27.183.244.43.ap.yournet.ne.jp) joined #pypy. | 02:14 | |
| nullpo (n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp) joined #pypy. | 02:54 | |
| gonsor_ (n=quassel@p57A89965.dip0.t-ipconnect.de) joined #pypy. | 03:07 | |
| netto (n=netto@200.119.150.1) left irc: Nick collision from services. | 03:08 | |
| netto_ (n=netto@200.119.150.1) joined #pypy. | 03:09 | |
| gonsor (n=quassel@p57A8980E.dip0.t-ipconnect.de) left irc: Read error: 110 (Connection timed out) | 03:23 | |
| scorchsaber (n=scorchsa@d72-39-232-122.home1.cgocable.net) joined #pypy. | 03:28 | |
| gonsor_ (n=quassel@p57A89965.dip0.t-ipconnect.de) left irc: Remote closed the connection | 03:36 | |
| Alex_Gaynor (n=alex@67.163.15.166) left irc: Read error: 104 (Connection reset by peer) | 07:16 | |
| Misto (n=Misto@ppp-201-90.32-151.iol.it) joined #pypy. | 08:18 | |
| hpk (n=hpk@HSI-KBW-095-208-109-209.hsi5.kabel-badenwuerttemberg.de) joined #pypy. | 09:02 | |
| Ademan (n=dan@adsl-75-62-232-25.dsl.pltn13.sbcglobal.net) joined #pypy. | 09:07 | |
| Ademan (n=dan@adsl-75-62-232-25.dsl.pltn13.sbcglobal.net) left irc: Client Quit | 09:08 | |
| Ademan (n=dan@adsl-75-62-232-25.dsl.pltn13.sbcglobal.net) joined #pypy. | 09:10 | |
| Ademan (n=dan@adsl-75-62-232-25.dsl.pltn13.sbcglobal.net) left irc: Client Quit | 09:10 | |
| Ademan (n=dan@adsl-75-62-232-25.dsl.pltn13.sbcglobal.net) joined #pypy. | 09:12 | |
| Ferio (n=Ferio@g226095099.adsl.alicedsl.de) joined #pypy. | 09:19 | |
| lux` (n=lux@151.95.189.174) joined #pypy. | 09:48 | |
| lux` (n=lux@151.95.189.174) left irc: Read error: 54 (Connection reset by peer) | 09:48 | |
| lux_ (n=lux@151.95.189.174) joined #pypy. | 09:48 | |
| Nick change: lux_ -> Guest14270 | 09:48 | |
| lac (n=lac@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy. | 09:50 | |
| jacob22 (n=jacob@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Read error: 104 (Connection reset by peer) | 09:50 | |
| lac__ (n=lac@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Read error: 54 (Connection reset by peer) | 09:50 | |
| jacob22 (n=jacob@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy. | 09:50 | |
| Ferio (n=Ferio@g226095099.adsl.alicedsl.de) left irc: | 10:16 | |
| Nick change: wristtone -> armtone | 10:31 | |
| scorchsaber (n=scorchsa@d72-39-232-122.home1.cgocable.net) left irc: Read error: 60 (Operation timed out) | 10:42 | |
| scorchsaber (n=scorchsa@d72-39-232-122.home1.cgocable.net) joined #pypy. | 10:44 | |
| lesshaste (n=lesshast@87-194-206-189.bethere.co.uk) joined #pypy. | 10:58 | |
| netto_ (n=netto@200.119.150.1) left irc: Read error: 110 (Connection timed out) | 11:18 | |
| hikoz (n=hikoz@27.183.244.43.ap.yournet.ne.jp) left irc: Read error: 113 (No route to host) | 11:32 | |
| bigdog (n=scmikes@72-197-8-8-arpa.cust.cinci.current.net) left irc: Read error: 110 (Connection timed out) | 11:48 | |
| AirCastle (i=inhahe@adsl-074-186-083-219.sip.mia.bellsouth.net) joined #pypy. | 12:00 | |
| stakkars_ (n=tismer@i59F7E2C6.versanet.de) joined #pypy. | 12:01 | |
| stakkars (n=tismer@i59F7CE0E.versanet.de) left irc: Read error: 110 (Connection timed out) | 12:09 | |
| Nick change: stakkars_ -> stakkars | 12:09 | |
| lucian (n=lucian@cpc6-newc9-0-0-cust64.gate.cable.virginmedia.com) joined #pypy. | 12:18 | |
| Mist0 (n=Misto@ppp-201-90.32-151.iol.it) joined #pypy. | 12:26 | |
| Misto (n=Misto@ppp-201-90.32-151.iol.it) left irc: Read error: 113 (No route to host) | 12:42 | |
| Nick change: Mist0 -> Misto | 12:42 | |
| ebo^ (n=ebolad@233.195.116.85.dsl.manitu.net) joined #pypy. | 12:52 | |
| Nick change: Cheshirc_ -> Cheshirc | 12:58 | |
| jewel (n=jewel@vc-41-31-146-243.umts.vodacom.co.za) joined #pypy. | 13:07 | |
| jewel (n=jewel@vc-41-31-146-243.umts.vodacom.co.za) left irc: Read error: 110 (Connection timed out) | 13:59 | |
| lucian (n=lucian@cpc6-newc9-0-0-cust64.gate.cable.virginmedia.com) left irc: Remote closed the connection | 14:25 | |
| gonsor (n=quassel@p57A89965.dip0.t-ipconnect.de) joined #pypy. | 14:41 | |
| victorpoluceno (n=victorgp@187.5.149.205) left irc: Remote closed the connection | 14:49 | |
| lesshaste | hi.. beginner's question | 14:49 |
|---|---|---|
| lesshaste | I have finished compiling pypy-c using --opt=jit | 14:49 |
| lesshaste | now I want to test to see if networkx will work with it | 14:49 |
| lesshaste | but when I try to import networkx it doesn't know where to find it | 14:50 |
| lesshaste | python finds it fine | 14:50 |
| lesshaste | how do I fix that? | 14:50 |
| Guest14270 (n=lux@151.95.189.174) left irc: Read error: 54 (Connection reset by peer) | 14:56 | |
| lux` (n=lux@151.95.189.174) joined #pypy. | 15:01 | |
| jandem (n=jandem@unaffiliated/jandem) joined #pypy. | 15:05 | |
| lesshaste | hello all | 15:06 |
| lux` (n=lux@151.95.189.174) left irc: Remote closed the connection | 15:07 | |
| lux` (n=lux@151.95.189.174) joined #pypy. | 15:10 | |
| lesshaste | hello lux` | 15:23 |
| lux` | Hi | 15:23 |
| lesshaste | I was wondering if you knew how to start with pypy? | 15:23 |
| lesshaste | I want to test to see if networkx will work with it but when I try to import networkx it doesn't know where to find it. python finds it fine | 15:24 |
| lesshaste | I am sure this has a very simple solution.. only just compiled pypy | 15:24 |
| lux` (n=lux@151.95.189.174) left irc: Read error: 54 (Connection reset by peer) | 15:48 | |
| gutworth | lesshaste: is networkx installed on your computer? | 15:50 |
| lesshaste | gutworth: yes it works fine in python | 15:51 |
| lux` (n=lux@151.95.189.174) joined #pypy. | 15:51 | |
| gutworth | lesshaste: you have to set PYTHONPATH | 15:51 |
| gutworth | pypy doesn't use cpython's site-packages | 15:51 |
| lesshaste | ah ok | 15:51 |
| hpk (n=hpk@HSI-KBW-095-208-109-209.hsi5.kabel-badenwuerttemberg.de) left irc: Read error: 60 (Operation timed out) | 16:14 | |
| jewel (n=jewel@vc-41-30-144-9.umts.vodacom.co.za) joined #pypy. | 16:28 | |
| ElectronicRU (n=Electron@pppoe2478.mv.ru) joined #pypy. | 16:47 | |
| ElectronicRU | Hello. | 16:47 |
| gutworth | hi | 16:47 |
| ElectronicRU | Are there any existing graphic libraries for PyPy? | 16:48 |
| ElectronicRU | And, how can I plug C library in RPython code? | 16:48 |
| gutworth | ctypes | 16:49 |
| ElectronicRU | rctypes? | 16:49 |
| gutworth | oh, in rpython? | 16:50 |
| gutworth | why are you writing rpython? | 16:50 |
| ElectronicRU | I am writing pypy. | 16:50 |
| ElectronicRU | I want good performance. | 16:51 |
| gutworth | you are writing pypy? | 16:51 |
| ElectronicRU | There is no ctypes for rpython? | 16:51 |
| ElectronicRU | I heard about one. | 16:51 |
| ElectronicRU | In Pypy, of course. | 16:51 |
| gutworth | there is for rpython | 16:51 |
| gutworth | but if you are writing an app, you should write in normal python and use ctypes | 16:51 |
| ElectronicRU | And if I am writing lib? | 16:52 |
| ElectronicRU | Oh, I could not find rctypes in trunk. | 16:53 |
| gutworth | rctypes is did | 16:53 |
| gutworth | if you're are writing a python lib, use python :) | 16:53 |
| gutworth | s/did/dead | 16:53 |
| ElectronicRU | Ok. | 16:55 |
| ElectronicRU | I had a look at micronumpy... | 16:55 |
| ElectronicRU | For example, I want to add support for different dtypes in micronumpy. | 17:02 |
| ElectronicRU | There is no float64 type in rpython. | 17:02 |
| gutworth | yes, you'd probably have to add that | 17:06 |
| ElectronicRU | How can I? | 17:06 |
| ElectronicRU | Implementing float64 as a pair of float32's? | 17:07 |
| gutworth | you have to add a primitive to lltype | 17:07 |
| gutworth | and the c translator | 17:07 |
| ElectronicRU | $B2 H0 ( IB4= FDB5 5@HK 0I: B3L7=, | 17:08 |
| ElectronicRU | And if I only want this for numpy? | 17:09 |
| ElectronicRU | Sorry. | 17:09 |
| lux` (n=lux@151.95.189.174) left irc: Read error: 104 (Connection reset by peer) | 17:13 | |
| Ademan | ElectronicRU: I'm working on adding generic type support to micronumpy, i'd like to have micronumpy to myself for the moment, but you're welcome to work on greenlets as you said you were interested in them | 17:13 |
| ElectronicRU | What a pity. | 17:14 |
| gutworth | ElectronicRU: well, you have to have rpython support for it to have it in rpython | 17:14 |
| ElectronicRU | I've already realized... find and vim are best friends of pypy source reader. | 17:15 |
| gutworth | if not emacs | 17:16 |
| ElectronicRU | vim is better for reading because fast. | 17:16 |
| ElectronicRU | And it's forever holywar what is better for editing, let's not to start it. | 17:16 |
| jewel_ (n=jewel@vc-41-26-204-23.umts.vodacom.co.za) joined #pypy. | 17:19 | |
| ElectronicRU | Ademan: it's easier to understand micronumpy | 17:20 |
| ElectronicRU | and more to do. | 17:20 |
| ElectronicRU | but if you are disallowing... | 17:20 |
| jewel (n=jewel@vc-41-30-144-9.umts.vodacom.co.za) left irc: Read error: 110 (Connection timed out) | 17:20 | |
| ElectronicRU | How it may be possible to subclass interplevel class at applevel? | 17:24 |
| gutworth | it's possible | 17:25 |
| gutworth | just inherit from it :) | 17:25 |
| ElectronicRU | I know. How can I do it in module directory? | 17:26 |
| ElectronicRU | If I have two files: app_great.py and interp_great.py | 17:27 |
| ousado_ (n=johnny@p5B3C01AA.dip0.t-ipconnect.de) joined #pypy. | 17:27 | |
| ElectronicRU | And need to use locale features in __str__ method of Great class, | 17:27 |
| ElectronicRU | I need to do this applevelish. | 17:27 |
| gutworth | you can import your module in the app code | 17:29 |
| ElectronicRU | e.g. 'import great' or 'import interp_great'? | 17:29 |
| gutworth | import great | 17:29 |
| ElectronicRU | Ok, and code for putting it together will be usual: 'class Module(MixedModule): ...', eh? | 17:31 |
| gutworth | yep | 17:32 |
| jandem (n=jandem@unaffiliated/jandem) left irc: "Leaving" | 17:33 | |
| ElectronicRU | Thank you very much. | 17:33 |
| Alex_Gaynor (n=alex@c-67-163-15-166.hsd1.il.comcast.net) joined #pypy. | 17:51 | |
| jewel_ (n=jewel@vc-41-26-204-23.umts.vodacom.co.za) left irc: Read error: 110 (Connection timed out) | 17:57 | |
| jewel_ (n=jewel@vc-41-29-193-199.umts.vodacom.co.za) joined #pypy. | 17:58 | |
| hpk (n=hpk@HSI-KBW-095-208-109-209.hsi5.kabel-badenwuerttemberg.de) joined #pypy. | 18:00 | |
| gonsor (n=quassel@p57A89965.dip0.t-ipconnect.de) left irc: Read error: 110 (Connection timed out) | 18:00 | |
| Cheshirc (n=ty@unaffiliated/cheshirc) left irc: Read error: 113 (No route to host) | 18:02 | |
| fwierzbicki (n=frank@cpe-075-177-129-242.nc.res.rr.com) joined #pypy. | 18:02 | |
| Cheshirc (n=td@unaffiliated/cheshirc) joined #pypy. | 18:03 | |
| lesshaste (n=lesshast@87-194-206-189.bethere.co.uk) left irc: "Leaving" | 18:07 | |
| ElectronicRU | How do I get error dtype when catching it in interpr level? | 18:20 |
| ousado__ (n=johnny@p5B3C06A6.dip0.t-ipconnect.de) joined #pypy. | 18:22 | |
| ousado_ (n=johnny@p5B3C01AA.dip0.t-ipconnect.de) left irc: Read error: 60 (Operation timed out) | 18:25 | |
| ElectronicRU | Is there complex numbers in RPython? | 18:25 |
| gutworth | no | 18:39 |
| gutworth | error dtype? | 18:39 |
| lac (n=lac@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Read error: 104 (Connection reset by peer) | 18:41 | |
| jacob22 (n=jacob@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Read error: 54 (Connection reset by peer) | 18:41 | |
| lac_ (n=lac@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy. | 18:41 | |
| jacob22 (n=jacob@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy. | 18:41 | |
| ElectronicRU | Error class. | 18:43 |
| ElectronicRU | I am doing numpy dtypes and I have a mess in my head. | 18:44 |
| gutworth | you catch a specific app level exception? | 18:45 |
| ElectronicRU | A specific interplevel exception, e.g. OverflowError, and want to redirect it to OperationError. | 18:47 |
| ElectronicRU | How do I work with complex types? There are no function space.w_complex even. | 18:51 |
| ElectronicRU | Nobody here... | 18:53 |
| gutworth | raise OperationError(space.w_OverflowError) | 18:58 |
| gutworth | space.w_complex exists | 18:59 |
| ElectronicRU | gutworth: how to redirect CATCHED error, not CERTAIN? | 19:01 |
| jewel_ (n=jewel@vc-41-29-193-199.umts.vodacom.co.za) left irc: Read error: 110 (Connection timed out) | 19:03 | |
| gutworth | ElectronicRU: except OverflowError: raise OperationError(space.w_OverflowError) | 19:07 |
| jewel_ (n=jewel@vc-41-31-171-171.umts.vodacom.co.za) joined #pypy. | 19:07 | |
| ElectronicRU | Haha. And if TypeError? Case for any eror? | 19:09 |
| ElectronicRU | gutworth: | 19:10 |
| gutworth | there aren't a lot of interp level TypeErrors | 19:11 |
| gutworth | raise OperationError(space.w_TypeError) | 19:12 |
| ElectronicRU | :D | 19:17 |
| nullpo (n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp) left irc: "Leaving..." | 19:34 | |
| lux` (n=lux@151.95.189.174) joined #pypy. | 19:42 | |
| jewel_ (n=jewel@vc-41-31-171-171.umts.vodacom.co.za) left irc: Read error: 110 (Connection timed out) | 19:44 | |
| jewel_ (n=jewel@vc-41-28-108-27.umts.vodacom.co.za) joined #pypy. | 19:44 | |
| Misto (n=Misto@ppp-201-90.32-151.iol.it) left irc: | 19:46 | |
| gonsor (n=quassel@p57A89965.dip0.t-ipconnect.de) joined #pypy. | 19:49 | |
| Cheshirc (n=td@unaffiliated/cheshirc) left irc: Read error: 113 (No route to host) | 19:51 | |
| Cheshirc (n=td@unaffiliated/cheshirc) joined #pypy. | 19:53 | |
| victorpoluceno (n=victorgp@189.31.104.91) joined #pypy. | 19:59 | |
| jandem (n=jandem@unaffiliated/jandem) joined #pypy. | 20:09 | |
| jandem (n=jandem@unaffiliated/jandem) left irc: Client Quit | 20:09 | |
| ElectronicRU (n=Electron@pppoe2478.mv.ru) left irc: "#HQ;" | 20:25 | |
| jewel_ (n=jewel@vc-41-28-108-27.umts.vodacom.co.za) left irc: Read error: 110 (Connection timed out) | 20:42 | |
| victorpoluceno (n=victorgp@189.31.104.91) left irc: Read error: 60 (Operation timed out) | 20:42 | |
| victorpoluceno (n=victorgp@187.5.147.230) joined #pypy. | 20:43 | |
| lesshaste (n=lesshast@87-194-206-189.bethere.co.uk) joined #pypy. | 20:47 | |
| lesshaste | hello all | 20:47 |
| lesshaste | what do I need to set PYTHONPATH to for pypy? | 20:47 |
| hpk | to 'path/to/trunk', the directory where pypy resides (i.e. pypy/__init__.py) | 20:51 |
| lesshaste | hpk, oh...the problem is it can't find networkx.. don't I need to point it to where the modules are? | 20:51 |
| hpk | you may specify multiple locations | 20:52 |
| hpk | the pypy/lib and lib-python* modules in the trunk checkout should be acutomatically found by pypy-c | 20:53 |
| jewel (n=jewel@vc-41-28-173-200.umts.vodacom.co.za) joined #pypy. | 20:54 | |
| lesshaste | ok so this is failing | 20:56 |
| lesshaste | echo $PYTHONPATH | 20:56 |
| lesshaste | /usr/local/lib/python2.6/dist-packages:/home/clifford/python/pypy-trunk/pypy-trunk/pypy/ | 20:56 |
| lesshaste | I think run pypy-c | 20:56 |
| lesshaste | and try | 20:56 |
| lesshaste | import networkx as nx | 20:57 |
| lesshaste | ImportError: No module named networkx | 20:57 |
| lesshaste | what did I do wrong? | 20:57 |
| lesshaste | s/think/then | 20:57 |
| hpk | the directory where pypy resides in is pypy-trunk and not pypy-trunk/pypy which does not contain a pypy | 20:57 |
| gutworth | did you export PYTHONPATH? | 20:57 |
| lesshaste | hpk, am I looking for __init__.py? If so ls /home/clifford/python/pypy-trunk/pypy-trunk/pypy/__init__.py | 20:58 |
| lesshaste | /home/clifford/python/pypy-trunk/pypy-trunk/pypy/__init__.py | 20:58 |
| netto (n=netto@200.119.150.7) joined #pypy. | 20:58 | |
| lesshaste | gutworth, yes | 20:58 |
| lesshaste | the double pypy-trunk thing was just an unpacking error be my I think | 20:59 |
| lesshaste | gutworth, I did export PYTHONPATH=/usr/local/lib/python2.6/dist-packages:/home/clifford/python/pypy-trunk/pypy-trunk/pypy/ | 20:59 |
| gutworth | it's site-packages, isn't it? | 20:59 |
| hpk | lesshaste, well no, you misunderstood me, i think. i just tried to be clear which "pypy" i mean the pypy which contains a __init__.py but it really needs to be the diretory where *pypy* resides in, not *__init__.py* | 21:00 |
| lesshaste | gutworth, let me check... I have usr/local/lib/python2.6/dist-packages/networkx-1.0rc1-py2.6.egg | 21:00 |
| hpk | you haven't done much python, have you? :) | 21:00 |
| lesshaste | hpk, no :) | 21:00 |
| lesshaste | I am learning | 21:00 |
| lesshaste | do you mean pypy-c ? | 21:01 |
| hpk | not sure if pypy is the best way to go about learning python, to be honest | 21:01 |
| lesshaste | hpk, well I am not new to programming | 21:01 |
| lesshaste | so I plan to learn fast :) | 21:01 |
| gutworth | do pypy-c -c "import sys; print sys.path" | 21:01 |
| lesshaste | ['/home/clifford/python/pypy-trunk/pypy-trunk/pypy/translator/goal', '/usr/local/lib/python2.6/dist-packages', '/home/clifford/python/pypy-trunk/pypy-trunk/pypy', '/home/clifford/python/pypy-trunk/pypy-trunk/pypy/lib', '/home/clifford/python/pypy-trunk/pypy-trunk/lib-python/modified-2.5.2', '/home/clifford/python/pypy-trunk/pypy-trunk/lib-python/2.5.2'] | 21:01 |
| gutworth | hmm | 21:02 |
| hpk | lesshaste, i am 99% sure you need pypy-trunk in your path | 21:02 |
| hpk | and not pypy-trunk/pypy | 21:02 |
| lesshaste | ok | 21:02 |
| gutworth | are you sure the networkx directory is in dist-pakcages? | 21:02 |
| magcius (n=jstpierr@c-24-61-243-212.hsd1.ma.comcast.net) left irc: Read error: 104 (Connection reset by peer) | 21:03 | |
| lesshaste | gutworth, there is only /usr/local/lib/python2.6/dist-packages/networkx-1.0rc1-py2.6.egg there | 21:03 |
| magcius (n=jstpierr@c-24-61-243-212.hsd1.ma.comcast.net) joined #pypy. | 21:03 | |
| gutworth | ah, ha | 21:03 |
| gutworth | eggs do not work on pypy to my knowledge | 21:04 |
| lesshaste | somehow python interactive imports it with no complaints | 21:04 |
| lesshaste | ah! | 21:04 |
| lesshaste | can it be unegged somehow? | 21:04 |
| gutworth | it's just a zip file | 21:04 |
| gutworth | decompress | 21:04 |
| lesshaste | ok | 21:04 |
| victorpoluceno (n=victorgp@187.5.147.230) left irc: "Leaving" | 21:05 | |
| lesshaste | fixed :) | 21:05 |
| lesshaste | (should I add that to a request somewhere?) | 21:05 |
| lesshaste | now to see if anything runs | 21:05 |
| lesshaste | hmm.. matplotlib is the next thing to fail to import...checking | 21:07 |
| lucian (n=lucian@cpc6-newc9-0-0-cust64.gate.cable.virginmedia.com) joined #pypy. | 21:09 | |
| lesshaste | ok so ignoring matplotlib for a moment | 21:11 |
| lesshaste | this fails | 21:11 |
| lesshaste | import numpy as np | 21:11 |
| lesshaste | np.random.seed | 21:11 |
| gutworth | that would be that's zero support for numpy in pypy | 21:11 |
| lesshaste | aha | 21:12 |
| lesshaste | I am discovering all the fun stuff :) | 21:12 |
| lesshaste | I don't think I actually need numpy for this | 21:12 |
| lesshaste | I'll rewrite it to avoid it | 21:12 |
| lesshaste | hmm.. but then I need to find out if networkx using numpy at all | 21:13 |
| lesshaste | and I have no idea how to do that | 21:13 |
| hpk | i think it says so on the web page IIRC | 21:13 |
| lesshaste | is there some clever way to see dependencies of this sort? | 21:13 |
| lesshaste | ok.. just checking | 21:13 |
| hpk | grep -e '.*import.*numpy' or so i guess :) | 21:13 |
| lesshaste | seems it's not required | 21:14 |
| lesshaste | http://networkx.lanl.gov/install.html?highlight=numpy#numpy | 21:14 |
| lesshaste | you know it may be quicker to rewrite the parts of networkx I want to use in cython... | 21:14 |
| lesshaste | but that wouldn't be so much fun :) | 21:14 |
| lesshaste | the only thing that might be tricky is is there a non numpy equivalent of np.random.randint(0,2,(n, n)) .. do you know of a non numpy equivalent? | 21:18 |
| gutworth | random.randint | 21:20 |
| jewel (n=jewel@vc-41-28-173-200.umts.vodacom.co.za) left irc: Read error: 110 (Connection timed out) | 21:21 | |
| lesshaste | which annoying is a) written random.randint(0,1,(n, n)) for exactly the same result and b) doesn't actually say it supports the third argument as far as I can tell.. but it does | 21:21 |
| magcius (n=jstpierr@c-24-61-243-212.hsd1.ma.comcast.net) left irc: "Leaving" | 21:31 | |
| magcius (n=jstpierr@c-24-61-243-212.hsd1.ma.comcast.net) joined #pypy. | 21:31 | |
| jacob22_ (n=jacob@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy. | 21:41 | |
| lac_ (n=lac@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Read error: 54 (Connection reset by peer) | 21:41 | |
| jacob22 (n=jacob@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Connection reset by peer | 21:41 | |
| lac_ (n=lac@c-96c5e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy. | 21:41 | |
| gonsor (n=quassel@p57A89965.dip0.t-ipconnect.de) left irc: Read error: 110 (Connection timed out) | 21:53 | |
| victorpoluceno (n=victorgp@187.5.147.230) joined #pypy. | 22:02 | |
| lesshaste | aargh no I am wrong | 22:05 |
| lesshaste | random.randint doesn't take a shape right? | 22:05 |
| gutworth | look at the docs | 22:09 |
| gutworth | I doubt it | 22:09 |
| lesshaste | thanks | 22:10 |
| lesshaste | I have it under control :) | 22:10 |
| lesshaste (n=lesshast@87-194-206-189.bethere.co.uk) left irc: "Leaving" | 22:20 | |
| stakkars (n=tismer@i59F7E2C6.versanet.de) left irc: | 23:01 | |
| Cheshirc (n=td@unaffiliated/cheshirc) left irc: Read error: 113 (No route to host) | 23:02 | |
| stakkars (n=tismer@i59F7E2C6.versanet.de) joined #pypy. | 23:03 | |
| Cheshirc (n=tu@unaffiliated/cheshirc) joined #pypy. | 23:07 | |
| damien_ (n=damien@damien.grassart.com) joined #pypy. | 23:50 | |
| --- Fri Dec 25 2009 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!