cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
samouy27 has joined #pypy
samouy27 has quit [Remote host closed the connection]
ByronJohnson9 has joined #pypy
ByronJohnson9 has quit [K-Lined]
edong234 has joined #pypy
edong234 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
_whitelogger has joined #pypy
moonythedwarf has joined #pypy
moonythedwarf has quit [Remote host closed the connection]
dddddd has quit [Remote host closed the connection]
oberstet has joined #pypy
qew has joined #pypy
qew has quit [Read error: Connection reset by peer]
lritter has joined #pypy
altendky has quit [Quit: Connection closed for inactivity]
Elwell_ has joined #pypy
Elwell_ is now known as Guest17599
Guest17599 has quit [Ping timeout: 272 seconds]
threeFifths has joined #pypy
threeFifths has quit [Ping timeout: 276 seconds]
ski_16 has joined #pypy
ski_16 has quit [Remote host closed the connection]
Guest27349 has quit [Remote host closed the connection]
enchi has joined #pypy
enchi has quit [Killed (Sigyn (Spam is off topic on freenode.))]
timwis4 has joined #pypy
antocuni has quit [Ping timeout: 272 seconds]
timwis4 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
trfl has quit [Remote host closed the connection]
trfl has joined #pypy
Kronuz14 has joined #pypy
Kronuz14 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
dddddd has joined #pypy
justif6 has joined #pypy
justif6 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
DIRT has quit [Ping timeout: 276 seconds]
arigato has joined #pypy
antocuni has joined #pypy
altendky has joined #pypy
cronic has joined #pypy
cronic has quit [K-Lined]
foddo9 has joined #pypy
foddo9 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<nedbat>
arigato: thanks for looking into the bug report I just wrote: it's tangling up my attempt to use SQLite for coverage.py data storage
<arigato>
nedbat: the problem is that con.execute() returns a "cursor" keeping the connection alive as long as it is alive
<arigato>
there are special cases for statements like "create" or "insert"
<arigato>
but "pragma" looks like a mess
<nedbat>
arigato: ah, cursor.close()!
<arigato>
yes
<arigato>
just found it too :-)
<nedbat>
thanks, that seems to fix it :)
<arigato>
we already have some logic to auto-close old cursors if their existence is an issue for the next con.execute()
<arigato>
I wonder if we are not simply missing the same logic when "con" is closed
<arigato>
no, the problem is before the end of the "with con" block anyway
<nedbat>
arigato: do you think it might only apply to the pragma?
<arigato>
I think it might apply to all less common sql operations
<nedbat>
arigato: running tests now, but it looks like a .close on just my pragmas makes everything nice
<arigato>
ok
By has joined #pypy
<arigato>
apparently there are pragmas that return something, so we have to return a cursor
<nedbat>
arigato: yes. thanks for the speedy response :)
<arigato>
wrote it down in the issue too.
<arigato>
...and realized that you just did that as well :-)
By has quit [Remote host closed the connection]
<nedbat>
i like having the paper trail :)
* arigato
writes unit tests for C# code and discovers there _is_ a reasonable way to work around the fact that we'd like to test _private_ methods
<arigato>
based on the DLR plus general code
<cfbolz>
cool!
<arigato>
yes, previously I was making all my methods public and giving them a name starting with underscore---which works, but feels a bit too much like Python for C# :-)
msm18 has joined #pypy
KanerixWolfe has joined #pypy
msm18 has quit [Ping timeout: 256 seconds]
arigato has quit [Remote host closed the connection]
arigato has joined #pypy
KanerixWolfe has quit [Killed (Sigyn (Spam is off topic on freenode.))]
arigato has quit [Ping timeout: 272 seconds]
oberstet has quit [Ping timeout: 268 seconds]
altendky has quit [Quit: Connection closed for inactivity]
antocuni has quit [Ping timeout: 276 seconds]
forgottenone has quit [Read error: Connection reset by peer]
forgottenone has joined #pypy
user24 has joined #pypy
user24 has quit [Quit: Leaving]
Guest48139 has joined #pypy
Guest48139 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
_habnabit has quit [*.net *.split]
pedronis has quit [*.net *.split]
marmoute has quit [*.net *.split]
Katharsis has quit [*.net *.split]
marmoute has joined #pypy
Katharsis has joined #pypy
pedronis has joined #pypy
Kronuz has quit [Ping timeout: 260 seconds]
_habnabit has joined #pypy
Kronuz has joined #pypy
Turska-16 has joined #pypy
Turska-16 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Checking has joined #pypy
Checking has quit [Ping timeout: 244 seconds]
arigato has joined #pypy
CountryNerd has joined #pypy
icywiz26 has joined #pypy
CountryNerd has quit [Client Quit]
DIRT has joined #pypy
CountryNerd has joined #pypy
CountryNerd has quit [Client Quit]
icywiz26 has quit [Ping timeout: 272 seconds]
milky16 has joined #pypy
milky16 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
awkwardpenguin has joined #pypy
arigato has quit [Quit: Leaving]
floogulinc23 has joined #pypy
floogulinc23 has quit [Remote host closed the connection]
ori120 has joined #pypy
awkwardp_ has joined #pypy
awkwardpenguin has quit [Ping timeout: 244 seconds]
ori120 has quit [Ping timeout: 240 seconds]
rkta has joined #pypy
awkwardp_ has quit [Ping timeout: 265 seconds]
awkwardp_ has joined #pypy
rkta has quit [Ping timeout: 260 seconds]
awkwardp_ has quit [Ping timeout: 260 seconds]
MillerBoss29 has joined #pypy
MillerBoss29 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
lritter has quit [Quit: Leaving]
kanaka has quit [Ping timeout: 240 seconds]
janus4 has joined #pypy
janus4 has quit [K-Lined]
kanaka has joined #pypy
forgottenone has quit [Remote host closed the connection]
antocuni has joined #pypy
FiendKing04 has joined #pypy
FiendKing04 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
kanaka has quit [Ping timeout: 276 seconds]
Guest88756 has joined #pypy
Guest88756 has quit [Ping timeout: 276 seconds]
bbot2 has joined #pypy
awkwardpenguin has joined #pypy
DIRT has quit [Ping timeout: 272 seconds]
Guest12210 has joined #pypy
Guest12210 has quit [Remote host closed the connection]
danieljabailey has quit [Quit: ZNC 1.6.5+deb2build2 - http://znc.in]
danieljabailey has joined #pypy
awkwardpenguin has quit [Remote host closed the connection]