cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
lritter has quit [Ping timeout: 268 seconds]
jcea has quit [Ping timeout: 265 seconds]
jvesely has quit [Ping timeout: 268 seconds]
_whitelogger has joined #pypy
dddddd has quit [Ping timeout: 268 seconds]
glyph has quit [Quit: End of line.]
glyph has joined #pypy
<cfbolz> mattip: yes, 2.7 does not do the putenv check
<mattip> ok. I guess we should test and fix that too, since cpython2.7 rejects '=' in the key
<cfbolz> mattip: weird:
<mattip> i found who is doing "import os". open goes to _io.open which goes through interp_textio._determine_encoding
<mattip> which not only import app-level os but imports app-level _bootlocale as well
<mattip> isn't that slowing down our use of open quite a bit?
<mattip> cfbolz: in what sense is a '=' in an environment variable "illegal"?
<cfbolz> mattip: in the sense of "python3 rejects it"
<mattip> :)
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
dddddd has joined #pypy
jcea has joined #pypy
jcea has quit [Ping timeout: 248 seconds]
jcea has joined #pypy
<mattip> made a bunch of changes to test_posix2
lritter has joined #pypy
xcm has quit [Remote host closed the connection]
kenaan has joined #pypy
<kenaan> mattip default 72aff1d1e6fa /pypy/module/posix/test/test_posix2.py: backport some of the changes from py3.6
<kenaan> mattip default 03da8b4056eb /pypy/module/posix/test/test_posix2.py: do not import stdlib os
<kenaan> mattip default 2821b0633b53 /pypy/: simplify the call to wrap_oserror2
<kenaan> mattip default 30cf519fd69a /pypy/: pep-8 cleanup
<kenaan> mattip default c14832883def /pypy/module/posix/test/test_posix2.py: fix failing win32 test
xcm has joined #pypy
kcr has quit []
kcr has joined #pypy
Alex_Gaynor has quit []
Alex_Gaynor has joined #pypy
<mattip> uhhh, something went wrong there
<mattip> how do I back out all what I merged to default after c14832883def?
<mattip> somehow that all went wrong
xcm has quit [Ping timeout: 260 seconds]
xcm has joined #pypy
<mattip> I have a revert commit but that means all the hg history is going to be messed up
<mattip> I guess the other option is to force-push
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
<cfbolz> mattip: please don't force push
<cfbolz> having slightly messy history is ok
<mattip> ok. I mistakenly somehow pushed a merge of py3.6 into default instead merge of default into py3.6
<mattip> so it means hg blame will have a glitch
<mattip> cfbolz: other than a big revert commit, any ideas how to get back to commit c14832883def?
<ronan> mattip: how about just dropping everything after c14832883def?
<mattip> that's fine, but it is a force push, no?
<ronan> well, it's possibly a strip
<mattip> cfbolz: thoughts?
<cfbolz> Hmmm, blame being wrong is indeed annoying :-(
<cfbolz> I don't know
<mattip> it's from my last push, maybe only very few people have pulled?
rguillebert has quit []
rguillebert has joined #pypy
<cfbolz> mattip: likely even zero, today
<mattip> ronan: how would that even work with bitbucket? How can I tell it "forget these commits" ?
<ronan> there's a tab in the admin settings
<mattip> ok, trying to "unpublish"
<ronan> mattip: unpublishing isn't really useful, I think
<ronan> it just changes the phase to draft
fijal has quit []
fijal has joined #pypy
<mattip> yes, now trying a "strip"
<mattip> hopefully no-one pulled those changes
jvesely has joined #pypy
<cfbolz> mattip: did it work?
i9zO5AP has joined #pypy
Ai9zO5AP_ has joined #pypy
Ai9zO5AP has quit [Ping timeout: 260 seconds]
i9zO5AP has quit [Ping timeout: 240 seconds]
<kenaan> mattip py3.6 eee8317e40c5 /: move test to extra_tests, speed up unstranslated tests by 50%
<kenaan> mattip py3.6 3b12b05e7a25 /: redo tests to not import app-level lib-python/3/os.py
<kenaan> mattip py3.6 8fb4dc6f07e6 /pypy/module/: fix for path-as-memoryview on win32, avoid app-level code in _io.open
<kenaan> mattip py3.6 c7efe1e62575 /pypy/interpreter/error.py: emit correct exception class
<kenaan> mattip py3.6 4611cc30e74d /pypy/module/posix/test/test_posix2.py: fix typos, also posix.environ returns bytes
<kenaan> cfbolz py3.6 23ce279ad084 /pypy/module/posix/interp_posix.py: make putenv complain about bad names (test already existed) (grafted from 89255ed57e9fa884c8bbeb50f19f2194b4fe698f)
<mattip> it worked, the question is if anyone pulled from the bitbucket repo and got those changes
<mattip> I should have done this work on a branch, but it bounces between default and py3.6 so I would have needed two branches
<mattip> next time ...
xcm has quit [Read error: Connection reset by peer]
ammar2 has quit [Ping timeout: 245 seconds]
xcm has joined #pypy
<kenaan> mattip default 0395c16d6bbe /pypy/module/_io/interp_textio.py: backport part of 8fb4dc6f07e6
<mattip> I wonder if 0395c16d6bbe has performance impact
<mattip> it should, since it avoids app-level code
<mattip> but maybe it is negligible
ammar2 has joined #pypy
lauren has quit []
lauren has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
ctismer has quit []
ctismer has joined #pypy
<kenaan> mattip py3.6 0ce9e1439a97 /pypy/module/posix/interp_posix.py: revert bogus code
<arigato> mattip: just in case, you can
<arigato> also fix very bogus checkins like this:
<arigato> if there is a head of "default" to forget, you close the default branch "hg ci --close-branch", and then you go back to the earlier commit on default, and you make a dummy commit from there
<arigato> there are two heads of "default" but one of them is closed and the other is newer, so everything is fine again
CrazyPython has joined #pypy
mwhudson has joined #pypy
mwhudson has joined #pypy
mwhudson has quit [Changing host]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
kbtr has joined #pypy
wleslie has quit [Quit: ~~~ Crash in JIT!]
CrazyPython has quit [Read error: Connection reset by peer]