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
dddddd has quit [Remote host closed the connection]
<kenaan>
wlav cppyy-packaging 1e6f1f90453c /pypy/: merge default into branch
<kenaan>
wlav default 20e8b110028c /pypy/module/_cppyy/: more templates and consistency with CPython/cppyy
<arigato>
thnee: any line with "if "freebsd" in sys.platform" is from someone's contribution. If you have freebsd and it seems that setup.py should also add something to library_dirs, sure, please submit a pull request or an issue or just mention it here if it's one line
<arigato>
catern: about the buffer interface: for no known reason in CPython you need to write C code, you can't implement that interface in pure Python.
<arigato>
but we fixed it in PyPy because we needed to write some types, and writing them in pure Python makes more sense
<arigato>
search for "def __buffer__(self, flags)" in lib_pypy/_ctypes/basics.py, for example
<arigato>
of course it's not very nice because such a Python class won't appear to implement the buffer interface *in CPython*
dddddd has quit [Remote host closed the connection]
<njs>
arigato: I think the reason is just that the people who cared about the buffer interface were mostly the scientists, and historically we're terrible at talking to Python upstream
<arigato>
yes, I know :-/
<arigato>
I'm more annoyed at the Python team for letting such a monster be inside CPython without much debate
<njs>
plus numpy worked around all this ages ago anyway (numpy knows about like 7 different __special_methods__ for doing the equivalent of __buffer__)
<njs>
PEP 3118 has some issues yeah
<njs>
yeah, I dunno, I'm sympathetic to Guido offering the olive branch by accepting the stuff and trusting people to do the work to make it good, and I don't blame the people on the Python team for not having the energy to do the work to fix it after that didn't fully materialize
<njs>
but you're right it's a mess
<njs>
probably could have been handled better in retrospect :-/
<njs>
(you and Guido actually agree about this FWIW :-))
<kenaan>
arigo cffi/cffi 24bc0029493c /: Issue 364 Add support for MSVC's "#pragma pack(n)" in ABI mode
hotpot33 has joined #pypy
DIRT has quit [Ping timeout: 264 seconds]
hotpot33 has quit [Ping timeout: 260 seconds]
jcea has joined #pypy
adamholmberg has joined #pypy
lritter_ has quit [Ping timeout: 264 seconds]
adamholmberg has quit [Ping timeout: 265 seconds]
hotpot33 has joined #pypy
antocuni has joined #pypy
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
dddddd has joined #pypy
garming has quit [Ping timeout: 245 seconds]
garming has joined #pypy
hotpot33 has quit [Ping timeout: 260 seconds]
hotpot33 has joined #pypy
speeder39 has joined #pypy
jcea has quit [Quit: jcea]
Taggnostr is now known as Taggnostr2
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]