cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
jcea has quit [Ping timeout: 276 seconds]
gef has quit [Ping timeout: 240 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 276 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 252 seconds]
gef has joined #pypy
tos9 has quit [Ping timeout: 240 seconds]
gef has quit [Ping timeout: 268 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 260 seconds]
gef has joined #pypy
<cfbolz>
arigato: so it's nicely python3 now, but I am completely failing to make things work nicely, because of the confusion between dotviewer the package and dotviewer/dotviewer.py
<cfbolz>
do you think it would be acceptable to rename the latter?
oberstet has joined #pypy
<arigato>
yes, I don't think there is a problem to rename the latter
<cfbolz>
ok
<cfbolz>
just "view.py"?
<cfbolz>
I think most of our uses are from really treating dotviewer as a package, from the rest of rpython
<arigato>
isn't the problem the name of the "dotviewer" directory?
<cfbolz>
no, the problem I am trying to fix is that the directory and the script have the *same* name
<cfbolz>
and I'd actually prefer renaming the rarely used script
<arigato>
meh
<arigato>
I'd suggest dotview.py then
<cfbolz>
ok :-)
<cfbolz>
basically I would like to make the imports all absolute, eg from dotviewer import msgstruct
<cfbolz>
but on some conditions this will import the file, not the package
<arigato>
even if you use "from . import msgstruct"?
<cfbolz>
arigato: yes, you then you get " Attempted relative import in non-package"
<cfbolz>
if you run python dotviewer.py
<arigato>
"ah"
<cfbolz>
yes, didn't know this error message either :-/
<arigato>
I'm sure you can hack around at the beginning of dotviewer.py to make "python dotviewer.py" work in that case, but I'm also thinking it's not a good idea
<cfbolz>
arigato: I tried to insert things into paths, but then the subprocesses that are started have the same problem :-(
<cfbolz>
sorry, didn't wanna bother you too much :-(
<arigato>
no problem :-)
<arigato>
and argh, ok
<cfbolz>
ok, after some more hacking I managed, phew
<arigato>
uh, OK
<arigato>
I was really suggesting to just rename the file and avoid any hacking :-)
<cfbolz>
:-)
<cfbolz>
but then I was challenged
<cfbolz>
cool! a python2 and python3 will even happily communicate across an sshgraphserver
isidentical has joined #pypy
mattip has quit [Read error: Connection reset by peer]
mattip has joined #pypy
papangoo[m] has quit [Quit: Bridge terminating on SIGTERM]
ShadeJonathan[m] has quit [Quit: Bridge terminating on SIGTERM]
toad_polo has quit [Quit: Bridge terminating on SIGTERM]
jryans has quit [Quit: Bridge terminating on SIGTERM]
astrojl_matrix has quit [Quit: Bridge terminating on SIGTERM]
ra1nbow has joined #pypy
ra1nbow has quit [Client Quit]
ra1nbow has joined #pypy
ra1nbow has quit [Client Quit]
papangoo[m] has joined #pypy
glyph has quit [Read error: Connection reset by peer]
glyph has joined #pypy
ShadeJonathan[m] has joined #pypy
astrojl_matrix has joined #pypy
toad_polo has joined #pypy
jryans has joined #pypy
Dejan_ has joined #pypy
Dejan has quit [Ping timeout: 240 seconds]
Dejan_ has quit [Client Quit]
Dejan has joined #pypy
Dejan has joined #pypy
todda7 has joined #pypy
jcea has joined #pypy
Dejan has quit [Quit: Leaving]
Dejan has joined #pypy
Dejan has quit [Changing host]
Dejan has joined #pypy
gef_ has joined #pypy
gef has quit [Ping timeout: 252 seconds]
<cfbolz>
of course now michael is complaining about missing shapes ;-)
gef_ has quit [Ping timeout: 260 seconds]
gef has joined #pypy
gef_ has joined #pypy
gef has quit [Ping timeout: 252 seconds]
todda7 has quit [Ping timeout: 252 seconds]
tos9 has joined #pypy
gef_ has quit [Ping timeout: 260 seconds]
oberstet has quit [Quit: Leaving]
gef has joined #pypy
isidentical has quit [Quit: isidentical]
todda7 has joined #pypy
isidentical has joined #pypy
gef has quit [Ping timeout: 265 seconds]
jcea has quit [Quit: jcea]
gef has joined #pypy
gef has quit [Ping timeout: 252 seconds]
gef has joined #pypy
jcea has joined #pypy
gef has quit [Ping timeout: 240 seconds]
Taggnostr has quit [Quit: Switching to single player mode.]