00:11
__main__ has joined #pypy
00:17
yuyichao_ has quit [Ping timeout: 240 seconds]
00:22
antocuni has quit [Ping timeout: 260 seconds]
00:35
yuyichao_ has joined #pypy
00:41
Hotpot33 has quit [Ping timeout: 248 seconds]
00:49
Hotpot33 has joined #pypy
01:11
dddddd has quit [Remote host closed the connection]
01:26
awkwardpenguin has joined #pypy
01:32
awkwardpenguin has quit [Ping timeout: 264 seconds]
01:45
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:49
Hotpot33 has quit [Ping timeout: 240 seconds]
01:50
marr has quit [Ping timeout: 260 seconds]
01:57
Hotpot33 has joined #pypy
02:08
fryguybob has quit [Ping timeout: 256 seconds]
02:10
inhahe_ has quit []
02:15
pilne has quit [Quit: Quitting!]
02:17
_aegis_ has joined #pypy
02:21
inhahe_ has joined #pypy
02:34
fryguybob has joined #pypy
03:08
ArneBab_ has joined #pypy
03:09
squeaky_pl has quit [Ping timeout: 252 seconds]
03:13
ArneBab has quit [Ping timeout: 264 seconds]
03:46
jtl_ has joined #pypy
05:01
jcea has quit [Ping timeout: 250 seconds]
05:02
forgottenone has joined #pypy
05:50
_whitelogger has joined #pypy
05:58
Hotpot33 has quit [Ping timeout: 240 seconds]
06:00
jtl_ has quit [Remote host closed the connection]
06:22
tayfun26 has joined #pypy
06:39
Hotpot33 has joined #pypy
07:24
dddddd has joined #pypy
07:28
<
arigato >
crash when playing with sys.setrecursionlimit(): ah, I think I get what occurs now
07:28
<
arigato >
or more precisely, I am sure I do
07:28
<
arigato >
the shadow stack overflows
07:29
<
arigato >
random nonsense follows
07:31
<
kenaan >
mattip cffi/cffi[doc-set_source] 889d38233ce8 /doc/source/overview.rst: try to clarify set_source() requires str(<code that implements functions>)
07:31
<
arigato >
compiling the C sources with anything less than "-O3" makes the bug go away---which makes sense:
07:31
<
arigato >
in these modes the C compiler is better at making the C stack compact, and thus the C stack grows more slowly
07:32
<
arigato >
so comparatively, the shadow stack grows more quickly
07:36
<
arigato >
seems it overflows the 1.3MB already when the C stack is only 3.7MB
07:40
mattip has joined #pypy
07:42
<
arigato >
mattip: doc-set_source: I see the point quite a lot, but I don't think we should do it by changing the single example to add an indirection
07:43
<
arigato >
because now it looks like you need to write such a dummy indirection for all functions
07:44
<
mattip >
I usually start with something stupid like "double(float x){return x*2.0;}"
07:44
<
arigato >
then we should do the same, I guess
07:44
<
mattip >
s/double/doubler/
07:44
<
arigato >
I'm not against rewriting this overview page more deeply
07:45
<
arigato >
so yes, as a first step, it's likely a good step
07:45
<
mattip >
Is my summary at the end of the stackoverflow question accurate enough? I could add that somewhere too
07:48
<
arigato >
I would prefer if someone (might be you or me) goes over overview.rst and tries to rethink the whole structure
07:48
<
arigato >
based on what we learned people are not getting or the more natural order for teaching
07:53
<
mattip >
cannot promise "when", win32 and osx py3.5 worry me more
08:01
<
kenaan >
mattip extradoc ecb8d7f22159 /planning/sprint-leysin-2018-notes.rst: start thinking about leysin sprint
08:12
<
mattip >
arigato: "the shadow stack overflows" - can we detect that somehow?
08:15
<
arigato >
detecting it is easy: mprotect() the last page
08:16
<
arigato >
what to do is harder
08:16
<
arigato >
for now I'll open an issue
08:17
<
kenaan >
arigo default 0eb832cbb13a /pypy/doc/cpython_differences.rst: Issue #2719: Keyword arguments to built-in functions
08:21
<
mattip >
arigato: can you point me in the direction of fixing winreg.EnumKey ?
08:21
<
mattip >
it is very painful to run own tests on py3.5 win32, they are seriously slow and errors are non-helpful
08:23
* arigato
looks inside CPython 3.5
08:24
<
mattip >
ahh, ok that already is a hint
08:24
<
arigato >
the problem is all the newtext() in interp_winreg.py
08:24
<
arigato >
they decode utf8
08:24
<
arigato >
which is probably wrong
08:25
<
mattip >
cool. I will try to compare to cpython
08:25
<
arigato >
ah, CPython uses the RegQueryValueW() instead of RegQueryValue() function (and the same for all others I guess)
08:26
<
arigato >
so that gives us an RPython unicode instead of string
08:26
<
arigato >
and then we should use space.newunicode()
08:26
<
arigato >
with no decoding
08:28
<
arigato >
there is an explicit call to decode with argument 'mbcs' too in pypy, needs to be checked if CPython does the same thing in the same cases
08:29
<
arigato >
thanks! :-)
08:34
jamesaxl has quit [Read error: Connection reset by peer]
08:37
jamesaxl has joined #pypy
09:04
awkwardpenguin has joined #pypy
09:06
marr has joined #pypy
09:09
awkwardpenguin has quit [Ping timeout: 248 seconds]
09:13
antocuni has joined #pypy
09:34
forgottenone has quit [Quit: Konversation terminated!]
09:36
exarkun has quit [Ping timeout: 272 seconds]
09:37
exarkun has joined #pypy
09:41
squeaky_pl has joined #pypy
10:04
ronan has joined #pypy
10:23
runciter has quit [Ping timeout: 252 seconds]
10:25
runciter has joined #pypy
10:27
LexLeoGryfon has joined #pypy
10:27
<
LexLeoGryfon >
hello
10:29
<
LexLeoGryfon >
my question is : what arguments should i specify in this line in order to compile and link with pypy?
10:29
<
LexLeoGryfon >
$(CC) -I /usr/include/python$(PYVERSION) foobar.c -lpython$(PYVERSION) -o foobar
10:29
<
LexLeoGryfon >
the default line is not working
10:31
<
LexLeoGryfon >
for me
10:48
<
LarstiQ >
LexLeoGryfon: I have no idea with cython, but linking against cpython as you do above will for sure not get you pypy
10:51
<
ronan >
LexLeoGryfon: embedding pypy surely requires special support in cython, but I don't know whether it exists. You should ask cython devs
10:59
<
LarstiQ >
LexLeoGryfon: note that you can embed pypy directly via cffi
11:01
<
LexLeoGryfon >
but my goal is - is to build simple single static binary with hello world function
11:01
<
LexLeoGryfon >
build it from python code
11:02
<
LarstiQ >
LexLeoGryfon: you can do the same with the cffi embedding
11:03
<
LarstiQ >
LexLeoGryfon: as ronan said, cython's --embed probably needs pypy support and we don't know if it has it, ask cython people
11:05
<
LexLeoGryfon >
as for cython devs - I asked them, but you have faster responce time :) They probably havent read my question yet
11:06
awkwardpenguin has joined #pypy
11:08
antocuni has quit [Ping timeout: 240 seconds]
11:11
awkwardpenguin has quit [Ping timeout: 256 seconds]
11:15
exarkun has quit [Ping timeout: 264 seconds]
11:16
exarkun has joined #pypy
11:19
tav has quit [Quit: tav]
11:20
tav has joined #pypy
11:24
tav has quit [Ping timeout: 240 seconds]
11:27
<
LarstiQ >
you could also start reading how --embed is implemented, see if you figure it out before they respond ;)
11:44
oberstet has joined #pypy
11:44
<
LexLeoGryfon >
thank you LarstiQ, for now I managed to compile single binary with cython+cpython according to their guide. however it is dynamically linked. i guess I need to compile static version of interpreter to link statically. As for pypy, I will continue expiriment later
12:20
raynold has quit [Quit: Connection closed for inactivity]
12:33
<
kenaan >
mattip py3.5 213db4a13e7c /testrunner/get_info.py: add more info for buildbot virtualenv run with -A
12:35
* mattip
running ^^ against some non-pushed changes to buildbot to see if it solves win32 virtualenv problems
12:54
exarkun has quit [Ping timeout: 248 seconds]
12:55
exarkun has joined #pypy
12:58
antocuni has joined #pypy
13:08
fryguybob has quit [Ping timeout: 264 seconds]
13:58
Rhy0lite has joined #pypy
14:02
antocuni has quit [Ping timeout: 272 seconds]
14:16
<
kenaan >
mattip py3.5 3e7cb4758b05 /testrunner/get_info.py: fix target_name
14:23
<
kenaan >
mattip buildbot 424f8ecee620 /bot2/pypybuildbot/builds.py: use more Properties from testrunner/get_info, leave old defaults in place
14:25
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
14:26
bbot2 has joined #pypy
14:29
jcea has joined #pypy
14:39
forgottenone has joined #pypy
15:15
mattip has left #pypy ["bye"]
15:15
realitix has joined #pypy
15:17
tayfun26 has quit [Remote host closed the connection]
15:20
antocuni has joined #pypy
15:52
TheAdversary has joined #pypy
15:54
Hasimir has joined #pypy
16:02
fryguybob has joined #pypy
16:16
oberstet has quit [Ping timeout: 260 seconds]
17:29
antocuni has quit [Ping timeout: 240 seconds]
17:42
realitix has quit [Quit: realitix]
17:48
RemoteFox has joined #pypy
17:56
exarkun has quit [Ping timeout: 264 seconds]
17:57
exarkun has joined #pypy
18:13
raynold has joined #pypy
18:33
forgottenone has quit [Quit: Konversation terminated!]
18:35
awkwardpenguin has joined #pypy
18:39
awkwardpenguin has quit [Ping timeout: 240 seconds]
19:10
<
kenaan >
rlamy py3.5 49d834e68cbe /pypy/module/posix/interp_posix.py: Fix err.filename when *xattr() functions raise an OSError
19:11
<
ronan >
mattip (logs): ^^^ for 5.10.1
19:36
forgottenone has joined #pypy
19:42
Rhy0lite has quit [Quit: Leaving]
19:47
chelz has joined #pypy
19:57
forgottenone has quit [Remote host closed the connection]
20:03
oberstet has joined #pypy
20:30
forgottenone has joined #pypy
20:41
tbodt has joined #pypy
20:44
squeaky_pl has quit [Ping timeout: 264 seconds]
20:50
marky1991 has quit [Remote host closed the connection]
20:51
marky1991 has joined #pypy
20:57
forgottenone has quit [Remote host closed the connection]
20:58
forgottenone has joined #pypy
20:59
<
glyph >
Is the slowness of pip under pypy a known / well understood issue?
20:59
<
glyph >
This is so agonizingly slow (10x, 20x cpython?) I'm wondering if I've misconfigured something with my devpi instance
20:59
forgottenone has quit [Remote host closed the connection]
21:00
pilne has joined #pypy
21:04
forgottenone has joined #pypy
21:07
<
LexLeoGryfon >
glyph: I'm not sure, just using pypy3.5 Nth day myself, but for me pip performsvery well, already installed few packages in venv.
21:07
<
LexLeoGryfon >
maybe your issue relates to specific packages, or your individual environment
21:11
<
glyph >
LexLeoGryfon: it could be the fact that I just upgraded to 5.10 final and now it's building a bunch of new wheels
21:12
chelz has quit [Ping timeout: 276 seconds]
21:16
exarkun has quit [Ping timeout: 248 seconds]
21:17
exarkun has joined #pypy
21:53
<
tos9 >
glyph: I don't think I've ever noticed such a thing.
21:54
<
tos9 >
glyph: Though I haven't used CPython in a really long time, so maybe I just have normalized to how fast it is on PyPy :)
21:54
<
glyph >
tos9: After caching a bunch of wheels pypy is much faster, so this may just be C compiler invocation time
22:56
chelz has joined #pypy
22:56
exarkun has quit [Ping timeout: 240 seconds]
22:57
exarkun has joined #pypy
23:14
fryguybob has quit [Ping timeout: 240 seconds]
23:19
jcea has quit [Ping timeout: 240 seconds]
23:19
fryguybob has joined #pypy
23:21
jcea has joined #pypy
23:26
jcea has quit [Ping timeout: 265 seconds]
23:39
awkwardpenguin has joined #pypy
23:43
jcea has joined #pypy
23:46
awkwardpenguin has quit [Ping timeout: 248 seconds]
23:55
chelz has quit [Ping timeout: 265 seconds]
23:58
Greasy-Gappers has joined #pypy