cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | mac OS and Fedora are not Windows
danieljabailey has quit [Quit: ZNC 1.6.5+deb2build2 - http://znc.in]
danieljabailey has joined #pypy
antocuni has quit [Ping timeout: 268 seconds]
jcea has quit [Quit: jcea]
speeder39_ has joined #pypy
_alx_ has quit [Quit: Leaving.]
speeder39_ has quit [Quit: Connection closed for inactivity]
_alx_ has joined #pypy
forgottenone has joined #pypy
_alx_ has quit [Quit: Leaving.]
glyph has quit [Quit: End of line.]
glyph has joined #pypy
tayfun26 has joined #pypy
arigato has joined #pypy
<arigato> abrown (for future reference): os.environ.get('DEBUG') works, and you check for None
<arigato> catern: you need to use the proper quoting, *or* you emit "const char string[] = {65, 66, 0};" instead of "AB" for example
<arigato> catern: (answering ``I want to store it somewhere so I can use it at run time, I was thinking of embedding the string into the cffi extension module as a const char *``)
arigato has quit [Remote host closed the connection]
arigato has joined #pypy
arigato has quit [Remote host closed the connection]
themsay has joined #pypy
antocuni has joined #pypy
lritter has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/96 [mattip: force build, unicode-utf8-py3]
jcea has joined #pypy
antocuni has quit [Ping timeout: 245 seconds]
themsay has quit [Ping timeout: 252 seconds]
themsay has joined #pypy
themsay has quit [Ping timeout: 244 seconds]
dddddd has joined #pypy
marky1991 has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
antocuni has joined #pypy
Rhy0lite has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
marky1991 has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
tayfun26 has quit [Quit: tayfun26]
abrown has joined #pypy
<abrown> arigato: thanks, will try that
<abrown> Had a question about __eq__ and __str__ in RPython: I have written parallel methods for these in my classes (i.e. equals and to_string) but don't fully understand why RPython won't let me use __eq__ and __str__. Why is this?
<simpson> To avoid mixing Python's untranslated semantics for those methods with RPython's translated semantics, I bet.
<simpson> Actually following the Python rules for resolving those methods is tricky.
<simpson> Interestingly, there's another side benefit: Not all languages work that way for their user-level objects. e.g. in Monte, equality isn't defined by the objects being compared, but a neutral third-party object; also, string-building has control inverted, so that objects are invited to print themselves onto a printer, rather than returning a string directly.
<abrown> I can see how in general it could be tricky but it would be nice with my relatively simple classes to be able to use __eq__ and __str__ in Python and get RPython to translate them; it seems like there could be a way to do this by doing some Python magic on the class methods before translation. Has anyone done this or seen it done?
abrown has quit [Ping timeout: 252 seconds]
Zaab1t has joined #pypy
kanaka has joined #pypy
kanaka has quit [Changing host]
kanaka has joined #pypy
abrown has joined #pypy
marky1991 has quit [Ping timeout: 252 seconds]
nunatak has joined #pypy
[Arfrever] has quit [Ping timeout: 246 seconds]
[Arfrever] has joined #pypy
smvv has quit [Quit: Connection closed for inactivity]
antocuni has quit [Ping timeout: 268 seconds]
forgottenone has quit [Quit: Konversation terminated!]
marky1991 has joined #pypy
<tos9> fijal: ping
<fijal> tos9: pong
<tos9> fijal: PM?
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
Rhy0lite has quit [Quit: Leaving]
alcarithemad has quit [Quit: WeeChat 1.4]
alcarithemad has joined #pypy
marky1991 has quit [Ping timeout: 272 seconds]
Zaab1t has quit [Quit: bye bye friends]
adamholmberg has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
nunatak has quit [Quit: Leaving]
themsay has joined #pypy
themsay has quit [Ping timeout: 244 seconds]
themsay has joined #pypy
themsay has quit [Read error: Connection reset by peer]
themsay has joined #pypy
[Arfrever] has quit [Remote host closed the connection]
themsay has quit [Ping timeout: 268 seconds]
themsay has joined #pypy
antocuni has joined #pypy
jamesaxl has quit [Quit: WeeChat 2.2]
lritter has quit [Quit: Leaving]
abrown has quit [Quit: Leaving]