antocuni changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "PyPy: the Gradual Reduction of Magic (tm)"
igitoor has quit [Changing host]
igitoor has joined #pypy
Hotpot33 has quit [Ping timeout: 248 seconds]
astronavt has quit [Quit: Leaving...]
astronavt has joined #pypy
tbodt has quit [Ping timeout: 248 seconds]
tbodt has joined #pypy
webmeister has joined #pypy
tormoz has joined #pypy
tbodt has quit [Ping timeout: 268 seconds]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
amaury has quit [Ping timeout: 255 seconds]
asmeurer__ has joined #pypy
drolando_ has quit [Ping timeout: 250 seconds]
drolando has joined #pypy
zmt01 has joined #pypy
zmt00 has quit [Ping timeout: 240 seconds]
drolando has quit [Ping timeout: 248 seconds]
drolando has joined #pypy
adamholmberg has quit [Remote host closed the connection]
Guest65612 has quit [Ping timeout: 260 seconds]
zmt01 has quit [Quit: Leaving]
zmt00 has joined #pypy
marr has quit [Ping timeout: 255 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 255 seconds]
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marvin has joined #pypy
marvin is now known as Guest37816
pilne has joined #pypy
bgola_ has quit [Read error: Connection reset by peer]
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
drolando has quit [Client Quit]
drolando has joined #pypy
Nizumzen has joined #pypy
drolando_ has joined #pypy
tbodt has joined #pypy
drolando has quit [Ping timeout: 248 seconds]
asmeurer__ has quit [Quit: asmeurer__]
asmeurer__ has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
antocuni has quit [Ping timeout: 240 seconds]
jcea has quit [Quit: jcea]
Nizumzen has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<kenaan> rlamy unicode-utf8 bdbea29862af /pypy/module/array/interp_array.py: Raise ValueError when array item is invalid unicode
Hotpot33 has joined #pypy
<kenaan> rlamy unicode-utf8 11874bd5e944 /pypy/interpreter/unicodehelper.py: fix
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5148 [ronan: force build, unicode-utf8]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6439 [ronan: force build, unicode-utf8]
asmeurer__ has quit [Ping timeout: 260 seconds]
mentalita has quit [Ping timeout: 248 seconds]
mentalita has joined #pypy
inhahe_ has quit []
asmeurer__ has joined #pypy
dcrosta has joined #pypy
inhahe_ has joined #pypy
asmeurer__ has quit [Ping timeout: 240 seconds]
asmeurer has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6439 [ronan: force build, unicode-utf8]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-armhf-raspbian/builds/1493 [mattip: test py3.5 on raspberry pi, py3.5]
ArneBab has joined #pypy
ArneBab_ has quit [Ping timeout: 248 seconds]
astronavt has quit [Remote host closed the connection]
astronavt has joined #pypy
jamesaxl has joined #pypy
pilne has quit [Quit: Quitting!]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
guilherme has joined #pypy
guilherme has quit [Client Quit]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5148 [ronan: force build, unicode-utf8]
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kenaan> rlamy default 458ccc9243cd /pypy/: Backport test additions and cleanups from unicode-utf8
Remi_M has quit [Ping timeout: 240 seconds]
<kenaan> rlamy unicode-utf8 f2b6f7bb4f98 /pypy/objspace/std/test/: small cleanup
tav` has joined #pypy
tav has quit [Ping timeout: 276 seconds]
tav` is now known as tav
Remi_M has joined #pypy
epistax has quit [Ping timeout: 260 seconds]
oberstet has joined #pypy
dddddd has quit [Remote host closed the connection]
<kenaan> rlamy unicode-utf8 b8d6b2298b9b /: hg merge default
ionelmc has quit [Ping timeout: 258 seconds]
astronavt has quit [Quit: Leaving...]
tayfun has joined #pypy
lritter has joined #pypy
<arigato> glyph: accessing fields of PyDateTime objects was never supposed to work
<arigato> I guess it's not a regression, but a #ifdef inside psycopg2
amaury has joined #pypy
zmt00 has quit [Quit: Leaving]
lritter has quit [Remote host closed the connection]
ionelmc has joined #pypy
<glyph> arigato: so the bug is in psycopg2?
<fijal> arigato: the bug is something stupid, like we have a rsre_utf8.Utf8MatchContext but ctx.w_unicode is NULL
<fijal> arigato: yes, fresh_copy does not make a copy of w_unicode_obj
<fijal> how do I test it?
<njs> glyph: it looks like the official way to get at the innards of a PyDateTime object (in CPython) is macro accessors like PyDateTime_GET_MONTH, ..._GET_DAY, etc.
<arigato> fijal: there is another bug?
<fijal> arigato: did you fix one yesterday?
<arigato> yes
<arigato> I sometimes follow up when I promize I'll fix one bug :-)
<arigato> it's probably a different one, but yesterday all of cpython's test_re passed
<fijal> Gah didn't look apparently
<fijal> Ok, fair.
<fijal> Tell me who copies w_unicode_obj when fresh ctx is made when calling fresh copy?
<arigato> it's probably easy to test, I think that findall() (?) uses fresh_copy
<arigato> well, just look
<arigato> or I can do it if you prefer
<arigato> (the bug is clearly that I forgot to copy w_unicode_obj)
<fijal> Ok
<fijal> I'll look
<arigato> I guess fresh_copy should be removed from rsre/, it's only called from pypy/module/_sre anyway
<fijal> But I also lied to myself about whether I looked if you commited something apparently
<fijal> Ok
<fijal> so I would not trust myself ;-)
exarkun has quit [Read error: Connection reset by peer]
<fijal> arigato: can I kill todays benchmark runs? or do I have to wait till 4pm before mine starts?
<arigato> sure I guess
<fijal> it's a bit bad, I agree
<arigato> ah, I need to look around anyway, there's another problem here
<fijal> ok
exarkun has joined #pypy
<glyph> njs: if you could hash it out with the psycopg guy I'd be much obliged :)
<njs> glyph: I'm afraid that would be like #27 on my list of todos that are exactly like that
<fijal> glyph: I can probably do this
<fijal> did you create a bug report?
<glyph> njs: so say we all
<glyph> fijal: not on psycopg2 yet
<glyph> fijal: you saw the link to the pypy one?
<fijal> yeah
<arigato> you should check if there are macros or something in CPython
<arigato> yes, there are
<arigato> so the fix is simply to use the macros from psycopg2
<arigato> PyDateTime_DELTA_GET_SECONDS(o) etc.
amaury has quit [Ping timeout: 240 seconds]
<njs> glyph: I don't blame you for trying :-)
<arigato> ...more untested code inside interp_sre...
<fijal> arigato: can you kick the benchmark buildbot once you're done please?
<arigato> yes
<kenaan> arigo unicode-utf8 d978136e55f3 /: Tests and fixes * cannot access a position greater than ctx.end; need some small refactorings and added an ...
<arigato> trying to translate and run cpython's test_re, first
<fijal> sure
marr has joined #pypy
oberstet has quit [Quit: Leaving]
realitix has joined #pypy
antocuni has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/2406 [arigo: force build, unicode-utf8]
Hotpot33 has quit [Ping timeout: 240 seconds]
<fijal> thanks
Jellyg00se has joined #pypy
exarkun has quit [Ping timeout: 246 seconds]
exarkun has joined #pypy
bgola has joined #pypy
bgola has quit [Client Quit]
bgola has joined #pypy
bgola has quit [Client Quit]
bgola has joined #pypy
dddddd has joined #pypy
antocuni_ has joined #pypy
antocuni has quit [Ping timeout: 255 seconds]
asmeurer has quit [Quit: asmeurer]
Hotpot33 has joined #pypy
raynold has joined #pypy
<glyph> fijal: okay that really _was_ easy: https://github.com/psycopg/psycopg2/pull/650
<fijal> :]
antocuni__ has joined #pypy
antocuni_ has quit [Ping timeout: 246 seconds]
<glyph> bleh the macros don't exist on py2
<glyph> cpp to the rescue
antocuni__ has quit [Ping timeout: 248 seconds]
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
<glyph> why is pip so slow under pypy?
<arigato> that might be getting binary wheels on CPython vs running gcc on PyPy
jcea has joined #pypy
Nizumzen has joined #pypy
inhahe_ has quit [Ping timeout: 240 seconds]
inhahe_ has joined #pypy
<glyph> augh now it builds but doesn't run:
<glyph> arigato: it's slow even when I have local wheels cached for everything though
<glyph> builtins.ImportError: dlopen(.../psycopg2/_psycopg.pypy3-59-x86_64-darwin.so, 6): Symbol not found: _PyCodec_Decoder
<glyph> fijal: you probably need to tell me what to do about that one
<arigato> glyph: unfortunately, the answer is: implement it in cpyext
<arigato> so far it's in stubs.py
<glyph> augh
<glyph> arigato: well, fair enough ;)
<arigato> this file is only 2000 lines long
<arigato> only 221 missing functions! we're getting there
<fijal> glyph: or replace the call with any of the similar calls
<glyph> fijal: please feel free to stack on top of my PR :)
<fijal> trying to think how to do it
<glyph> fijal: thanks :)
jcea has quit [Quit: jcea]
jcea has joined #pypy
amaury has joined #pypy
dddddd has quit [Ping timeout: 268 seconds]
adamholmberg has joined #pypy
Rhy0lite has joined #pypy
antocuni__ has joined #pypy
amaury has quit [Quit: Konversation terminated!]
amaury has joined #pypy
amaury has quit [Ping timeout: 255 seconds]
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
kikikokokiki has joined #pypy
kikikokokiki has left #pypy [#pypy]
dcrosta has joined #pypy
marr has quit [Ping timeout: 248 seconds]
<bbot2> Success: http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/2406 [arigo: force build, unicode-utf8]
traverseda has quit [Remote host closed the connection]
<fijal> ok, how do we get the JSON files to compare?
tayfun has quit [Quit: tayfun]
<fijal> other than mako, it's a complete tossup I think
<fijal> arigato: ^^^
<fijal> (go is notoriously unreliable)
<ronan> fijal: does any of them use much unicode though?
<fijal> they should?
<fijal> if they don't then why not?
<fijal> that's a completely separate question of course
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jcea has quit [Ping timeout: 276 seconds]
jcea has joined #pypy
dcrosta has joined #pypy
<kenaan> rlamy unicode-utf8 f6e0cc1e875e /: Use Utf8StringBuilder in decode_unicode_escape() and fix handling of invalid \U escapes
zmt00 has joined #pypy
Jellyg00se has quit [Quit: Leaving]
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcrosta has joined #pypy
arigo_ has joined #pypy
amaury has joined #pypy
arigo_ has quit [Quit: ZNC - http://znc.in]
arigato has quit [Quit: ZNC - http://znc.in]
arigo has joined #pypy
arigo is now known as arigato
gclawes has quit [Read error: Connection reset by peer]
gclawes has joined #pypy
<kenaan> cfbolz default a00ca61351ba /: merge rdict-fast-hash: make it possible to declare that the hash and eq functions used in an objectmodel.r_dict a...
<kenaan> rlamy unicode-utf8 9450e5936f78 /lib-python/2.7/test/test_memoryio.py: Mark test CPython-only - the test fails with _pyio, even on CPython
antocuni__ has quit [Ping timeout: 248 seconds]
ceridwen has quit [Ping timeout: 255 seconds]
<cfbolz> pff, translation is broken on the branch :-(
<cfbolz> fijal, arigato: does append_code take an unsigned int or a signed int?
<cfbolz> on the utf8builder
<arigato> your guess is as good as mine at this point, but I think we should be phasing out r_uint from these interfaces
marr has joined #pypy
<kenaan> amauryfa py3.6 07c74faf3629 /pypy/module/posix/: os.fspath() accepts a DirEntry
<kenaan> amauryfa py3.6 10f89fd70107 /pypy/module/: Most file operations now accept a PathLike object with a __fspath__ method.
ceridwen has joined #pypy
asmeurer__ has joined #pypy
<kenaan> rlamy unicode-utf8 f69557a0b7c2 /rpython/rlib/rutf8.py: fix signature usage
<cfbolz> arigato: ok
Nizumzen has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Nizumzen has joined #pypy
adamholm_ has joined #pypy
<kenaan> amauryfa py3.6 ea22b4d272be /pypy/module/posix/: Oops, fix tests and translation.
<kenaan> rlamy default 28cc81842b02 /: Move test_json_extra to extra_tests/
Nizumzen has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
adamholmberg has quit [Ping timeout: 240 seconds]
Nizumzen has joined #pypy
<kenaan> rlamy unicode-utf8 fc38dc2766eb /: hg merge default
<cfbolz> json tests would make a great hypothesis target too
drolando_ has quit [Remote host closed the connection]
drolando has joined #pypy
Hotpot33 has quit [Ping timeout: 276 seconds]
Hotpot33 has joined #pypy
adamholm_ has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
<kenaan> cfbolz unicode-utf8 8986b7040a05 /: merge default
<kenaan> cfbolz unicode-utf8 b128150d928f /pypy/interpreter/unicodehelper.py: fix translation
<kenaan> cfbolz unicode-utf8 43471abf9b78 /pypy/doc/whatsnew-head.rst: merge heads
realitix_ has joined #pypy
realitix_ has quit [Remote host closed the connection]
realitix has quit [Ping timeout: 255 seconds]
kipras`away is now known as kipras
<kenaan> cfbolz default 1aa1bd29a7b8 /extra_tests/test_json.py: because it's easy: add a json roundtrip hypothesis test
mokos has joined #pypy
amaury has quit [Ping timeout: 276 seconds]
<kenaan> rlamy unicode-utf8 a31a10da4e39 /: UnicodeBuilder should return unicode; fix rutf8.check_utf8() return value
<kenaan> rlamy unicode-utf8 dcf0b6da89e9 /pypy/: merge heads
nunatak has joined #pypy
antocuni__ has joined #pypy
Rhy0lite has quit [Quit: Leaving]
mattip has joined #pypy
<mattip> cfbolz: hi. Will 1aa1bd29a7b8 slow down our test runs? As it is, it takes over 16 hours on raspbian ...
antocuni__ has quit [Ping timeout: 248 seconds]
<cfbolz> mattip: it should add a small number of seconds at most
<mattip> although the same tests (without translation) require only about an hour on normal platforms
<mattip> cfbolz: ok
<cfbolz> mattip: I was about to suggest to not run the extra tests on arm, but they take 15 min "only", so it wouldn't save too much
jamesaxl has quit [Quit: WeeChat 1.9.1]
_whitelogger_ has joined #pypy
ArneBab has joined #pypy
ArneBab has joined #pypy
_whitelogger has quit [Remote host closed the connection]
njs has joined #pypy
ctismer has joined #pypy
Thinh has joined #pypy
bendlas has joined #pypy
nunatak has quit [Quit: Leaving]
mattip has left #pypy ["bye"]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 264 seconds]
adamholmberg has joined #pypy
amaury has joined #pypy
<kenaan> rlamy default 5d091c15169c /: Move utf_32 implementation from runicode to unicodehelper
slackyy has quit [Ping timeout: 240 seconds]
slackyy has joined #pypy
<kenaan> rlamy default 0ad21cfe4469 /pypy/module/_codecs/interp_codecs.py: Small cleanup
mat^2 has joined #pypy
Cromulent|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
amaury has quit [Ping timeout: 256 seconds]
<tos9> antocuni (for logs in case you read them, otherwise will find you tomorrow): so, finally getting back to smartstrip stuff -- I see though first that one of the current tests actually seems to fail for me on OSX
<tos9> specifically test_strip, which seems odd, because well, that's the one that tests that stuff was stripped, which seems like it's working properly given that the binaries are actually stripped :)
<tos9> hmmm, and if I read this correctly http://buildbot.pypy.org/summary?category=mac64&branch=%3Ctrunk%3E&recentrev=93363:d6474db3c19f is an OSX builder, and seems like it's passed there. Hrm.
slacky has joined #pypy
slackyy has quit [Ping timeout: 240 seconds]
antocuni__ has joined #pypy
adamholmberg has quit [Remote host closed the connection]
tbodt has joined #pypy
Guest37816 has quit [Ping timeout: 255 seconds]
marvin has joined #pypy
marvin is now known as Guest25576
<kenaan> rlamy py3.5 da4b6cf751a5 /: hg merge default