2018-02-26 15:52
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
00:03
mattip has quit [Ping timeout: 255 seconds]
00:06
dddddd has quit [Remote host closed the connection]
00:06
adamholm_ has joined #pypy
00:07
wleslie has quit [Quit: ~~~ Crash in JIT!]
00:09
adamholmberg has quit [Ping timeout: 265 seconds]
00:14
oberstet has quit [Ping timeout: 264 seconds]
00:26
wleslie has joined #pypy
00:29
adamholm_ has quit [Remote host closed the connection]
00:29
adamholmberg has joined #pypy
00:29
adamholmberg has quit [Remote host closed the connection]
00:29
adamholmberg has joined #pypy
00:30
adamholmberg has quit [Remote host closed the connection]
00:54
mattip has joined #pypy
01:25
lritter has quit [Quit: Leaving]
01:28
jcea has quit [Quit: jcea]
01:52
mattip has quit [Ping timeout: 240 seconds]
02:21
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:42
tbodt has joined #pypy
03:30
mattip has joined #pypy
03:35
zmt00 has quit [Quit: Leaving]
03:39
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:41
zmt00 has joined #pypy
04:50
jamesaxl has quit [Quit: WeeChat 2.1]
05:27
[Arfrever] has quit [Ping timeout: 256 seconds]
05:35
[Arfrever] has joined #pypy
05:52
inhahe_ has quit [Ping timeout: 260 seconds]
05:56
inhahe has joined #pypy
06:00
[Arfrever] has quit [Ping timeout: 256 seconds]
06:08
[Arfrever] has joined #pypy
06:10
wleslie has quit [Quit: ~~~ Crash in JIT!]
06:22
ssbr has quit [Ping timeout: 245 seconds]
06:36
ssbr has joined #pypy
06:47
dddddd has joined #pypy
06:55
wleslie has joined #pypy
06:59
[Arfrever] has quit [Ping timeout: 256 seconds]
07:01
[Arfrever] has joined #pypy
07:12
mattip has quit [Ping timeout: 264 seconds]
07:37
oberstet has joined #pypy
07:38
tayfun26 has joined #pypy
07:46
wleslie has quit [Quit: ~~~ Crash in JIT!]
08:13
ssbr has quit [Ping timeout: 245 seconds]
08:15
wleslie has joined #pypy
08:20
lesshaste has joined #pypy
08:23
<
lesshaste >
Is ndarray.reshape currently unsupported?
08:24
<
LarstiQ >
lesshaste: what happens if you call it?
08:24
<
lesshaste >
a.resize((2, 1))
08:24
<
lesshaste >
File "<stdin>", line 1, in <module>
08:24
<
lesshaste >
Use the resize function or refcheck=False
08:24
<
lesshaste >
ValueError: cannot resize an array with refcheck=True on PyPy.
08:24
<
lesshaste >
Traceback (most recent call last):
08:26
<
wleslie >
sounds like you have yourself a solution?
08:27
<
lesshaste >
wleslie, well yes in one sense.. it was this comment at that link "ndarray.reshape is not supported on PyPy.."
08:27
<
lesshaste >
which made me wonder if this is something permanent or just about to be fixed
08:27
ssbr has joined #pypy
08:29
<
lesshaste >
python is really an awkward langauge (just read up more on refcheck)
08:30
<
wleslie >
it reads like, once this data has escaped into fortran code, we might not be able to muck with it?
08:31
<
lesshaste >
wleslie, that sounds like a fair reading
08:31
<
wleslie >
I don't think I'm qualified to answer
08:31
<
lesshaste >
pretty cool that people are working on getting scikit-learn to work with pypy however
08:31
<
lesshaste >
no problem at all
08:32
<
lesshaste >
why mmm?
08:32
<
lesshaste >
or is that a positive sound?
08:32
<
wleslie >
it's a positive mmm yes
08:32
<
lesshaste >
ah ok :)
08:32
wleslie has quit [Quit: ~~~ Crash in JIT!]
08:33
antocuni has joined #pypy
08:47
antocuni has quit [Ping timeout: 255 seconds]
08:47
marself has joined #pypy
09:04
hotpot33 has joined #pypy
09:15
<
njs >
resize and reshape are totally different methods...
10:09
<
lesshaste >
njs, yes!
10:10
<
lesshaste >
is resize really not supported?
10:10
<
lesshaste >
oh ignore that
10:10
<
lesshaste >
(I mean delete my comment)
10:15
jcea has joined #pypy
11:10
TheAdversary has quit [Disconnected by services]
11:11
Hasimir has quit [Ping timeout: 240 seconds]
11:12
TheAdversary has joined #pypy
11:12
Hasimir has joined #pypy
11:17
TheAdversary has quit [Disconnected by services]
11:17
Hasimir has quit [Ping timeout: 240 seconds]
11:19
TheAdversary has joined #pypy
11:20
Hasimir has joined #pypy
11:45
adamholmberg has joined #pypy
11:50
adamholmberg has quit [Ping timeout: 264 seconds]
11:59
adamholmberg has joined #pypy
12:02
antocuni has joined #pypy
12:06
jamesaxl has joined #pypy
12:20
rubdos has quit [Ping timeout: 256 seconds]
12:33
lritter has joined #pypy
12:34
rubdos has joined #pypy
12:46
adamholmberg has quit [Remote host closed the connection]
12:49
kanaka has quit [Ping timeout: 256 seconds]
12:50
Rhy0lite has joined #pypy
12:51
adamholmberg has joined #pypy
12:55
kanaka has joined #pypy
13:01
garming has quit [Ping timeout: 240 seconds]
13:13
<
kenaan >
cfbolz pyparser-improvements-3 37acacd15a8b /pypy/interpreter/: merge default
13:13
<
kenaan >
cfbolz default e85e93d7927e /pypy/: merge pyparser-improvements-3 some small refactorings in interpreter/pyparser and module/parser
13:14
garming has joined #pypy
13:36
lritter has quit [Remote host closed the connection]
13:51
marky1991 has joined #pypy
14:00
marky1991 has quit [Ping timeout: 240 seconds]
14:09
mattip has joined #pypy
14:16
kanaka has quit [Remote host closed the connection]
14:19
marky1991 has joined #pypy
14:24
marky1991_2 has joined #pypy
14:27
marky1991 has quit [Ping timeout: 248 seconds]
14:38
marky1991_2 has quit [Ping timeout: 264 seconds]
15:37
tayfun26 has quit [Quit: tayfun26]
16:13
marself has quit [Ping timeout: 240 seconds]
16:17
Khayman has joined #pypy
16:18
TheAdversary has quit [Disconnected by services]
16:18
Hasimir has quit [Ping timeout: 240 seconds]
16:19
Khayman is now known as Hasimir
16:20
TheAdversary has joined #pypy
16:22
mattip has quit [Ping timeout: 260 seconds]
16:26
antocuni has quit [Ping timeout: 268 seconds]
16:55
hotpot33 has quit [Ping timeout: 245 seconds]
16:57
hotpot33 has joined #pypy
17:08
mattip has joined #pypy
17:10
<
arigato >
cfbolz: re parser.expr("$1"): I think it's not a problem, but I may be naive
17:10
<
arigato >
(the astcompiler rejects it)
17:10
<
cfbolz >
arigato: I fixed it anyway, wasn't hard
17:11
<
cfbolz >
arigato: the same trick that we use for the print_function future
17:11
<
cfbolz >
r94725:1fc65745ebb4
17:12
<
cfbolz >
arigato: sorry, maybe it was overkill
17:12
<
arigato >
might be, but no problem. maybe stranger is the condition
17:13
<
arigato >
astcompiler checks "if self.space.reverse_debugging"
17:13
<
cfbolz >
Which condition?
17:13
<
arigato >
as opposed to self.space.config.translation.reverse_debugger, which is a translation-time constant
17:13
<
cfbolz >
And the space flag is what?
17:14
<
arigato >
it's either the constant False if the option is disabled, or it's a runtime flag
17:14
<
cfbolz >
BTW, does it even work to have a flag on the space like that? Isn't the space frozen?
17:14
<
arigato >
normally False too, except when astcompiling bits of text from the debugger
17:15
<
cfbolz >
arigato: but yes, I should use that flag there
17:15
<
arigato >
...ok I'm confused, that's the constant (False or True)
17:16
<
cfbolz >
arigato: so there is no difference to the config option?
17:16
<
arigato >
no (still a bit confused)
17:18
<
arigato >
indeed, forget what I said
17:18
<
cfbolz >
arigato: feel free to ask me to fix in one direction or another
17:18
<
arigato >
it should probably be 'self.space.reverse_debugging' for consistency, but otherwise it's the same
17:18
<
cfbolz >
Maybe one should be killed then?
17:18
<
arigato >
astcompiler/codegen.py does more checks and complains depending on the reverse_debugging.dbstate
17:19
<
arigato >
I think I added it because I needed to add the flag to a few dummy spaces in tests
17:19
<
cfbolz >
Yes, I see, but I fixed that part ;-)
17:21
<
cfbolz >
Look at TestCompilerRevDB
17:21
<
arigato >
no, not in astcompiler/, I mean unrelated tests somewhere else using a fake space
17:22
<
arigato >
but yes, details may have changed, so if we can kill space.reverse_debugging, I'm +1
17:23
<
arigato >
ah, yes, I first tried something else but it was not RPython
17:23
<
arigato >
so I fixed it to the current situation$
17:24
<
arigato >
which could be easily completely removed now
17:24
<
cfbolz >
arigato: I'll do the merge to py3.5 first anyway
17:24
<
cfbolz >
And then take another look
17:28
marky1991 has joined #pypy
17:35
antocuni has joined #pypy
17:49
jamesaxl has quit [Ping timeout: 260 seconds]
17:51
jamesaxl has joined #pypy
17:52
lritter has joined #pypy
18:05
antocuni has quit [Ping timeout: 255 seconds]
18:07
marky1991 has quit [Ping timeout: 240 seconds]
18:21
speeder39 has joined #pypy
18:41
tbodt has joined #pypy
18:48
Rhy0lite has quit [Quit: Leaving]
18:50
hotpot33 has quit [Read error: Connection reset by peer]
19:03
hotpot33 has joined #pypy
19:07
marself has joined #pypy
19:42
kipras is now known as kipras`away
20:04
ssbr has quit [Ping timeout: 260 seconds]
20:08
marself has quit [Ping timeout: 264 seconds]
20:10
marself has joined #pypy
20:15
irclogs_io_bot has quit [Ping timeout: 256 seconds]
20:16
ssbr has joined #pypy
20:17
irclogs_io_bot has joined #pypy
20:31
marky1991 has joined #pypy
20:36
marky1991 has quit [Read error: Connection reset by peer]
20:40
[Arfrever] has quit [Remote host closed the connection]
21:10
[Arfrever] has joined #pypy
21:16
inad922 has joined #pypy
21:21
inhahe__ has joined #pypy
21:48
speeder39 has quit [Quit: Connection closed for inactivity]
21:56
lritter has quit [Remote host closed the connection]
21:57
[Arfrever] has quit [Ping timeout: 260 seconds]
21:58
[Arfrever] has joined #pypy
22:19
speeder39 has joined #pypy
22:23
inad922 has quit [Ping timeout: 248 seconds]
22:27
trfl has quit [Excess Flood]
22:27
trfl has joined #pypy
22:35
adamholmberg has quit [Remote host closed the connection]
22:55
wleslie has joined #pypy
23:09
adamholmberg has joined #pypy
23:27
adamholmberg has quit [Remote host closed the connection]
23:27
adamholmberg has joined #pypy
23:48
lritter has joined #pypy