[issue18660] os.read behavior on Linux

2013-08-05 Thread Louis RIVIERE

New submission from Louis RIVIERE:

A call to os.read that used to work on older Linux kernel, doesn't anymore with 
newer Linux kernel.
As a workaroud we can use libc.read (ctypes) instead of os.read.
But I feel like os.read should work, as it used to.

The code (and comments) can be seen here : 
http://code.activestate.com/recipes/576375-low-level-inotify-wrapper/

--
components: IO
messages: 194461
nosy: dugres
priority: normal
severity: normal
status: open
title: os.read behavior on Linux
type: behavior
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue18660>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18660] os.read behavior on Linux

2013-08-12 Thread Louis Riviere

Louis Riviere added the comment:

Thanks Benjamin !
I should have known that "Python doesn't break things" :)

--

___
Python tracker 
<http://bugs.python.org/issue18660>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7434] general pprint rewrite

2016-12-14 Thread Louis Riviere

Louis Riviere added the comment:

I've made a Pretty Printer and I'd like to know if anybody thinks it could of 
some help here. (I do)

It's easily extensible and customizable to support any type in any way. 

https://github.com/louis-riviere-xyz/prettypy.git

--
nosy: +dugres

___
Python tracker 
<http://bugs.python.org/issue7434>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com