Maxim Egorushkin added the comment:
> glob.glob does not provide something equivalent to a DOTALL flag
I see now, said a blind man.
--
___
Python tracker
<https://bugs.python.org/issu
Maxim Egorushkin added the comment:
I may be naive, but why then:
$ python3 -c 'from pathlib import Path;
print(list(Path(".").glob("*.bash_profile")))'
Outputs:
[PosixPath('.bash_profile')]
?
--
___
Change by Maxim Egorushkin :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue44380>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Maxim Egorushkin :
Problem:
`glob.glob` documentation states that "pathname ... can contain shell-style
wildcards."
However, it stops short of saying that shell-style wildcards are handled the
same way as in a POSIX-compliant/friendly shell.
https://pubs.ope
Maxim Egorushkin added the comment:
I encountered this issue when compiling gdb against my own build of Python 2.7
in a non-standard location. gdb could not locate libpython2.7.so.
The solution is to configure Python with LINKFORSHARED variable which contains
additional linker flags required