Henning Meyer

Results 28 comments of Henning Meyer

Could you please help me creating a minimal example which reproduces this error? Than I try to escalate to python-occ. Am 30.12.2011 03:25 schrieb "Jayesh Salvi" < [email protected] > :...

what about blending shapes - like so: http://www.thingiverse.com/thing:37117 Would be awesome - and seems pretty feasible...

Good point. Added https://github.com/fsspec/gcsfs/issues/574#issuecomment-1854123740

I'm affected by this as well: ``` >>> gcsfs.__version__ '2023.12.1' >>> fs.info('henning-test/empty_folder')['type'] 'directory' # Good. >>> fs.info('henning-test/empty_folder/')['type'] 'directory' # Good. >>> fs.info('henning-test/folder/test.txt')['type'] 'file' # Good. >>> fs.info('henning-test/folder/test.txt/')['type'] 'directory' # ?...

``` >>> fs.find('henning-test') ['henning-test/empty_folder/', 'henning-test/folder/test.txt'] ``` Which still does not explain this: ``` >>> fs.ls('henning-test/folder/test.txt') ['henning-test/folder/test.txt'] # ? I would expect NotADirectoryError! >>> fs.ls('henning-test/empty_folder') ['henning-test/empty_folder/'] # ? I would expect...

But it doesn't really match the behavior of `LocalFileSystem` (and also it does not match the documentation of fsspec). ``` >>> from fsspec.implementations.local import LocalFileSystem >>> lfs = LocalFileSystem() >>>...

After reading the documentation again, I realize it might also compatible with returning the path to a file itself, when called on a file. Although this seems awkward to me....

Actually it is perfectly ok to create a file with a trailing "/" locally: ``` >>> pathlib.Path('./bar\/').touch() >>> pathlib.Path('./bar').mkdir() >>> list(pathlib.Path('.').iterdir()) [PosixPath('bar\\'), PosixPath('bar')] ``` And I think following the principle...

It is the path I asked for, but curiously `pathlib` (and also `os.listdir()`) have an interesting way of showing this. Speaking about a PR - I started https://github.com/fsspec/gcsfs/pull/598.

I have a vague idea, at least for the use case for dynamic programming problems. Oftentimes those problems come in recursive form like so: ``` fn recursive_fn(args...) -> Foo {...