Re: [pypy-dev] RFC: Copy-on-write list slices

2015-01-23 Thread Armin Rigo
Hi Mike, On 20 January 2015 at 05:26, Mike Kaplinskiy wrote: > https://bitbucket.org/mikekap/pypy/commits/b774ae0be11b2012852a175f4bae44841343f067 > has an implementation of list slicing that copies the data on write. (The > third idea from http://doc.pypy.org/en/latest/project-ideas.html .) One

[pypy-dev] errno and GetLastError in RPython

2015-01-23 Thread Armin Rigo
Hi all, I recently merged the "errno-again" branch. This branch moves the reading/saving of errno (and on Windows Get/SetLastError) closer to the actual function call. It should avoid bugs about rarely getting the wrong value for errno, in case "something special" happened: for example, it was n