Re: [Python-Dev] stuck issue 26826

2016-08-03 Thread Marcos Dione
On Wed, Aug 03, 2016 at 11:31:46AM -0700, Guido van Rossum wrote: > Then again are people really concerned about the speed of those file > copy functions? Or are we just offering a solution in search of a > problem? At kernel level: clearly yes, otherwise their BDFL would noy allow those[1]

Re: [Python-Dev] stuck issue 26826

2016-08-03 Thread Marcos Dione
On Wed, Aug 03, 2016 at 10:46:13AM -0700, Guido van Rossum wrote: > I wonder if the issue isn't that there are so many Linux syscalls that > we probably should have a process for deciding which ones are worth > supporting in the os module, and that process should not necessarily > start with a

[Python-Dev] stuck issue 26826

2016-08-03 Thread Marcos Dione
Hi pythonistas. A couple of moths ago I opened an issue in the bug tracker for adding a new syscall to the os module. It's based on new developments in the Linux kernel. Here's the link: https://bugs.python.org/issue26826 After two months and a half I managed to create a nice patch with

Re: [Python-Dev] Convert int() to size_t in Python/C

2016-04-29 Thread Marcos Dione
On Fri, Apr 29, 2016 at 12:18:46PM -0400, Random832 wrote: > On Fri, Apr 29, 2016, at 10:45, Marcos Dione wrote: > > One possible solution hat was suggested to me in the #python IRC > > channel was to use that, then test if the resulting value is negative, > > and adju

[Python-Dev] Convert int() to size_t in Python/C

2016-04-29 Thread Marcos Dione
First of all, I'm not subbscribed to the list (too much traffic for me), so please CC: me in any answers if possible. I'm trying to add a new syscall to the os module: https://bugs.python.org/issue26826 One of the few missing parts is to cenvert a parameter, which would be a Python