sorrow <lynx1...@gmail.com> added the comment:

>It seems you may have discovered a use-case that violates that expectation, a 
>case where `/a.txt` is identical to `a.txt`.

The thing is: it's not.

>Can you tell me more about your use-case and why zipp.Path/zipfile.Path should 
>support it?

I received a .zip file and zipfile.Path in my code didn't work with it. I did 
some testing and discovered that id does not work properly with these archives. 
It cannot list the contents of such archive.

>Is this behavior a result of a real-world example

Yes, it is.

>(please share details about the origin)

I can't. First, the origin of this archive is not totally clear to me (and I do 
not want to investigate). And second, I'm under NDA.

I provided minimal example where archive created with zipfile.ZipFile itself 
reproduces this behaviour. Just prerpend all paths with / an it does not work.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41035>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to