Comments (4)
Actually older revisions used exactly the design you propose. I finally decided
to use OSError because it
simplified a lot many kinds of wrapper filesystems and it allows you to reuse
existing code. For example you can
see that loopback.py can use directly some of the functions in os. There is
indeed the drawback of overloading
OSError however.
I personally prefer the way it is now, but I realize the subject is debatable
and would consider switching back to
a FUSEError scheme if there is demand. However I'm not going to break
compatibility again just for this.
Original comment by verigak
on 3 Jun 2009 at 8:01
from fusepy.
I see. Would you consider making _operation_wrapper a method of the FUSE class,
so
that one can change the behaviour by subclassing?
Original comment by [email protected]
on 3 Jun 2009 at 9:32
from fusepy.
Yes, this is a good suggestion.
Original comment by verigak
on 3 Jun 2009 at 9:51
- Changed state: Accepted
from fusepy.
Fixed in rev. 17
Original comment by verigak
on 9 Jun 2009 at 4:08
- Changed state: Fixed
from fusepy.
Related Issues (20)
- Patch - support for Linux PPC HOT 1
- Errors generated by fuse_main_real are ignored HOT 1
- uid and gid can be negative for chown() HOT 1
- Patch for some minor changes arising during an FS development HOT 2
- Unicode support HOT 1
- Allow examples to handle SIGINT (Ctrl-C) gracefully HOT 4
- Allow importing fusepy as a package HOT 1
- Import in python 3 is not relative
- Stat handling is bug prone
- Fuse paths should be encoded to UTF-8 HOT 5
- statfs returns incorrect data on Mac HOT 1
- No tutorial/documentation on how to use the software
- FusePy doesn't support 64 bit inodes? HOT 4
- str<->bytes conversion not automatic with python version >=3.2 HOT 4
- Patch for /trunk/fuse.py HOT 1
- Update the package in PyPI HOT 1
- look into merging https://github.com/terencehonles/fusepy HOT 2
- Remove the source tree from Google Code
- Error import fuse on OS X HOT 1
- Invalid string type conversion HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fusepy.