00:37
CrazyPython has joined #pypy
00:40
jcea has quit [Quit: jcea]
00:43
tsaka_ has joined #pypy
01:06
CrazyPython has quit [Read error: Connection reset by peer]
01:08
speeder39_ has quit [Quit: Connection closed for inactivity]
01:16
tsaka_ has quit [Ping timeout: 258 seconds]
01:41
xcm has quit [Remote host closed the connection]
01:43
xcm has joined #pypy
02:47
andi- has quit [Remote host closed the connection]
02:56
andi- has joined #pypy
03:18
lritter has quit [Ping timeout: 276 seconds]
03:19
lritter_ has joined #pypy
03:45
dddddd has quit [Remote host closed the connection]
04:16
speeder39_ has joined #pypy
04:28
dansan has quit [Read error: Connection reset by peer]
04:29
dansan has joined #pypy
04:53
glyph has quit [Quit: End of line.]
04:54
glyph has joined #pypy
05:28
mattip has quit [Ping timeout: 240 seconds]
06:00
xcm has quit [Remote host closed the connection]
06:03
xcm has joined #pypy
06:09
mattip has joined #pypy
06:13
mattip has quit [Client Quit]
06:14
mattip has joined #pypy
06:24
mattip has joined #pypy
06:25
mattip has quit [Client Quit]
06:29
mattip has joined #pypy
06:50
xcm has quit [Remote host closed the connection]
06:52
xcm has joined #pypy
06:58
xcm has quit [Remote host closed the connection]
07:01
xcm has joined #pypy
07:35
speeder39_ has quit [Quit: Connection closed for inactivity]
07:56
antocuni has joined #pypy
08:26
tsaka_ has joined #pypy
08:27
<
kenaan >
cfbolz default 28102f96dc5c /: for some reason we have two rutf8 functions that do the same thing, codepoints_in_utf8 and get_utf8_length. The fo...
08:30
<
kenaan >
cfbolz py3.6 a94f909131d8 /: merge default
08:33
xcm has quit [Remote host closed the connection]
08:35
xcm has joined #pypy
08:52
<
kenaan >
cfbolz default 6e05da20e7bd /pypy/objspace/std/unicodeobject.py: call prev_codepoint_pos only once
09:06
xcm has quit [Remote host closed the connection]
09:08
xcm has joined #pypy
09:30
ronan__ has joined #pypy
09:35
ronan__ has quit [Quit: Ex-Chat]
09:36
ronan has joined #pypy
09:51
ronan has quit [Ping timeout: 265 seconds]
10:27
xcm has quit [Remote host closed the connection]
10:27
antocuni has quit [Ping timeout: 258 seconds]
10:29
<
kenaan >
andrewjlawrence winconsoleio fa6bd070da3d /: Fixed a bunch of translation issues
10:31
xcm has joined #pypy
10:34
ajlawrence has joined #pypy
10:37
dddddd has joined #pypy
10:57
ajlawrence has quit [Ping timeout: 260 seconds]
11:06
ajlawrence has joined #pypy
11:38
<
kenaan >
cfbolz py3.6 03c11d539a67 /pypy/interpreter/: fix error message of barry_as_FLUFL, important work!
11:38
<
kenaan >
cfbolz py3.6 c4bc6937bce1 /pypy/interpreter/test/test_compiler.py: unskip these two tests
11:43
tsaka_ has quit [Ping timeout: 268 seconds]
11:47
ajlawrence has quit [Remote host closed the connection]
11:50
ronan__ has joined #pypy
12:01
tsaka_ has joined #pypy
12:06
antocuni has joined #pypy
12:10
ronan__ has quit [Ping timeout: 265 seconds]
12:42
<
mattip >
ajlawrence: something is not right with stderr/stdout
12:47
xcm has quit [Remote host closed the connection]
12:48
<
kenaan >
cfbolz py3.6 cedd17bf511f /pypy/interpreter/astcompiler/: don't fold too huge left shift either
12:48
<
kenaan >
cfbolz py3.6 ce752f8d7d1e /lib-python/3/test/test_readline.py: use getattr here as well (already done for another test)
12:48
<
kenaan >
cfbolz py3.6 a741689e58e9 /lib-python/3/test/test_regrtest.py: this restriction was lifted, and we didn't import the test change correctly or something
12:49
<
cfbolz >
ouch, our poll test is passing completely by accident
12:50
xcm has joined #pypy
13:00
<
mattip >
it seems py3.6 own tests have not been run on windows in quite a while. They _io ones import fcntl
13:00
<
mattip >
so of course ajlawrence could not run own tests
13:05
xcm has quit [Remote host closed the connection]
13:07
xcm has joined #pypy
13:29
ronan__ has joined #pypy
13:39
marky1991 has joined #pypy
13:54
Dejan has joined #pypy
13:55
xcm is now known as Guest43262
13:55
Guest43262 has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
13:56
xcm has joined #pypy
13:58
ronan__ has quit [Ping timeout: 265 seconds]
14:04
<
mattip >
marmoute: maybe "Unknown exception encountered with possibly-broken third-party extension drawdag"?
14:05
<
mattip >
are you using pypy HEAD or some older version?
14:05
<
marmoute >
mattip: not sure which version
14:06
<
marmoute >
** Python 2.7.13 (7.0.0+dfsg-2~bpo9+1, Mar 15 2019, 17:22:43)[PyPy 7.0.0 with GCC 6.3.0 20170516]
14:06
<
mattip >
ahh, I see. PyPy 7.0.0. Please update, there were some issues around some zlib or bzlib support
14:07
<
marmoute >
mattip: which version should we target ?
14:07
marky1991 has quit [Remote host closed the connection]
14:08
marky1991 has joined #pypy
14:08
<
marmoute >
looks like 7.1.1 is the latest
14:10
<
mattip >
we really should release soon, but have that "just a little more" thing going right now
14:11
<
mattip >
"Add copying to zlib"
14:14
<
Dejan >
And update the website - that new logo is awesome :)
14:19
<
kenaan >
mattip py3.6 b6cec0565e9d /pypy/module/_io/test/: enable _io own tests on windows
14:19
<
kenaan >
mattip winconsoleio 905c730547a7 /: merge py3.6 into branch
14:32
<
marmoute >
mattip: good news, the hg-git crash comes from a corruption specific to my local repo
14:49
<
cfbolz >
antocuni, arigato: hi! Does either of you feel like reviewing my json branch in the next days?
14:50
<
antocuni >
cfbolz: sure. Probably not today though
14:50
<
antocuni >
is it ready or you still need to finish it?
14:51
<
cfbolz >
antocuni: it's ready, I think
14:51
<
cfbolz >
(there are improvements possible)
14:52
<
antocuni >
cool, I'll look at it tomorrow
14:55
<
cfbolz >
antocuni: awesome, thanks
14:59
<
Dejan >
is csv module that is distributed with pypy a copy of the upstream one?
14:59
<
Dejan >
i hoped pypy has own implementation that is faster...
15:07
<
cfbolz >
Dejan: the CPython one is written in c
15:09
<
cfbolz >
We ha e our own, it's not a copy, but I doubt that it's faster
15:09
tsaka_ has quit [Ping timeout: 265 seconds]
15:10
<
Dejan >
it is terribly slow
15:11
BPL has joined #pypy
15:12
BPL has quit [Remote host closed the connection]
15:15
<
cfbolz >
Dejan: as in, slower than CPython?
15:17
<
Dejan >
slower than ... a CSV reader I have implemented in-house in D
15:17
<
Dejan >
by slower I mean good 10-15% slower
15:18
marky1991 has quit [Ping timeout: 240 seconds]
15:18
ajlawrence has joined #pypy
15:22
<
ajlawrence >
mattip: What was going wrong with stdin/stderr in those tests?
15:22
marky1991 has joined #pypy
15:23
<
ajlawrence >
mattip: I am not sure what I am looking for in the logs
15:23
<
mattip >
ajlawrence: I added a commit so the own _io tests run (and fail) like after translation
15:24
<
mattip >
so if you hg up, you can run "python2 pytest.py pypy\module\_io\test\test_bufferedio.py"
15:25
<
mattip >
which will fail with something about expecting an int and getting a str
15:25
<
mattip >
when doing open(fname)
15:25
<
ajlawrence >
OK will do. Is that a bug on windows or something that has not been implemented?
15:26
<
mattip >
it seems to be a bug in windows, but I have not been able to give it my full attention just now
15:28
<
mattip >
in general, we should be running the own tests on py3.6 windows, but as it is the buildbot is barely keeping up
15:34
<
mattip >
ajlawrence: got it. adding --pdb to the test command line is magic
15:35
ronan__ has joined #pypy
15:35
<
mattip >
it points to interp_winconsoleio.py line 122, where you are doing space.int_w(w_path_or_fd), but it is a path
15:36
jcea has joined #pypy
15:37
<
ajlawrence >
In CPython if it is a path then the result is a negative number.
15:38
<
mattip >
rpython is a bit different, you can try/except or check first
15:39
ajlawrence27 has joined #pypy
15:40
<
ajlawrence27 >
mattip: What type of exception is being raised?
15:41
<
mattip >
you should do "if space.isinstance_w(w_path_or_fd, space.w_int))" rather than try/except
15:42
ajlawrence has quit [Remote host closed the connection]
15:43
<
mattip >
since otherwise you need to do "except OperationError as e" and then check the type of the error, which is uneccssarily expensive
15:44
<
ajlawrence27 >
OK understood.
15:46
<
mattip >
thanks for persevering
15:52
<
mattip >
marmoute: anyway you would be better off with latest HEAD
15:54
<
kenaan >
andrewjlawrence winconsoleio d88f85fb9795 /: Implemented write method for the Windows console io class.
15:54
<
marmoute >
mattip: maybe, but installing the laster debian package is simpler for now
15:54
<
ajlawrence27 >
mattip: It is a good learning experience.
15:56
<
mattip >
marmoute: wget ... ; tar -xf ...; path/to/pypy/bin/pypy-c -m ensurepip
16:03
<
mattip >
ajlawrence27: instead of lltype.malloc you can use with lltype.scoped_alloc as a context manager, then the "free" is done for you
16:07
<
ajlawrence27 >
Can the memory allocated in a scoped_alloc be reallocated? The buffer changes size in the windows console io code.
16:08
marky1991 has quit [Ping timeout: 240 seconds]
16:10
<
mattip >
ahh, right. Then the call on line 167 still uses the old length?
16:13
<
ajlawrence27 >
That is a mistake
16:17
antocuni has quit [Ping timeout: 265 seconds]
16:21
<
cfbolz >
Dejan: if it's much slower than CPython it's worth a bug report
16:22
BPL has joined #pypy
16:22
BPL has quit [Remote host closed the connection]
16:31
ajlawrence27 has quit [Remote host closed the connection]
16:40
ajlawrence has joined #pypy
17:02
<
Dejan >
I wonder how far are they with it
17:14
xcm has quit [Ping timeout: 265 seconds]
17:17
xcm has joined #pypy
17:26
<
kenaan >
mattip winconsoleio bf4120ce59b6 /pypy/module/_io/interp_win32consoleio.py: fix copy-paster
17:32
xcm has quit [Remote host closed the connection]
17:36
xcm has joined #pypy
17:43
ajlawrence has quit [Ping timeout: 260 seconds]
18:04
BPL has joined #pypy
18:06
ronan__ has joined #pypy
18:16
<
kenaan >
mattip winconsoleio 56316fa56a96 /pypy/module/_io/interp_win32consoleio.py: rewrite in pure python. "decoded" is a ascii string AFAICT
18:38
<
kenaan >
andrewjlawrence winconsoleio 01ae8b151011 /pypy/module/_io/interp_win32consoleio.py: Fixed issues
18:38
<
kenaan >
andrewjlawrence winconsoleio 0e928fe22992 /pypy/module/_io/interp_win32consoleio.py: Merge
18:39
ajlawrence has joined #pypy
18:49
jacob22 has quit [Read error: Connection reset by peer]
18:49
jacob22 has joined #pypy
18:51
<
ajlawrence >
mattip: opps I seem to have merged out your changes
18:51
<
ajlawrence >
Do we not need the code in the middle of that block where it looks up the full pathname?
19:03
<
kenaan >
andrewjlawrence winconsoleio dfec1e76b2be /pypy/module/_io/interp_win32consoleio.py: Merged discarded changes back in.
19:09
xcm has quit [Ping timeout: 276 seconds]
19:10
<
ajlawrence >
mattip: Is it also possible to replace the calls to WideCharToMultiByte with pure Python?
19:10
<
mattip >
ajlawrence: not clear to me. Is there a chance the (potentially not full) path name would not include the magic strings?
19:10
<
mattip >
sorry that was in response to "looks up the full pathname"
19:13
xcm has joined #pypy
19:16
<
ajlawrence >
mattip: Is it possible to have a relative path to one of these things?
19:17
<
mattip >
about WideCharToMultiByte, are you sure read_console_w is returning wchar buffers?
19:20
<
mattip >
then I think we need the call
19:20
<
mattip >
Here is the issue that led to the GetFullPath code, I am not sure I understand the nuaces
19:23
<
ajlawrence >
It is possible to have weird console paths like C:/Temp/conout$ therefore they need to be normalized.
19:24
<
mattip >
it seems the behaviour in that issue changes over different versions of windows
19:25
<
mattip >
where would a path like that come from in the first place?
19:28
<
mattip >
if I do " notepad c:\temp\conout$" I get a messgage "Cannot create \\.\conout$.txt file"
19:28
<
mattip >
but who would try to create a file like that?
19:29
<
ajlawrence >
I could imagine my cat walking on the keyboard and doing it but I am not sure it is something that would occur during normal usage.
19:30
<
mattip >
if my fix holds for most of the tests, we can revisit this later
19:31
<
ajlawrence >
There is a translation error now
19:31
<
ajlawrence >
I am not sure what is causing it
19:32
<
mattip >
it even uploaded a package
19:34
<
ajlawrence >
There was a return None blocking a path through the code.
19:38
<
mattip >
so that should be returning a void pointer rffi.cast(rffi.VOIDP, 0)
19:40
<
mattip >
(or something like that)
19:58
tsaka_ has joined #pypy
20:12
ajlawrence has quit [Remote host closed the connection]
20:16
ajlawrence has joined #pypy
20:56
adamholmberg has joined #pypy
20:58
<
kenaan >
cfbolz py3.6 f41451c91702 /pypy/module/select/: un-mess argument handling and test of select.poll().poll(): previously the test was passing completely by accident, ...
20:58
<
kenaan >
cfbolz py3.6 7e303c8f90af /pypy/module/__builtin__/functional.py: update docstrings
21:03
ajlawrence has quit [Remote host closed the connection]
21:24
ajlawrence has joined #pypy
21:51
ajlawrence has quit [Remote host closed the connection]
21:57
jcea has quit [Remote host closed the connection]
21:59
jcea has joined #pypy
22:14
CrazyPython has joined #pypy
22:25
CrazyPython has quit []
22:26
adamholmberg has quit [Remote host closed the connection]
22:27
abrown has quit [Remote host closed the connection]
22:41
<
marmoute >
mattip: using a non-corrupted repository source, the git export worked fine :-D
22:41
<
marmoute >
Now trying what would be heptapod next step during that import (pushing to git, using special ref logic to expose branches).
22:42
abrown has joined #pypy
22:59
lritter_ has quit [Ping timeout: 268 seconds]
23:24
BPL has quit [Quit: Leaving]
23:30
marky1991 has joined #pypy
23:37
speeder39_ has joined #pypy
23:56
_whitelogger has joined #pypy
23:56
hexa- has left #pypy ["WeeChat 2.6"]