Milan Balazs added the comment:
Could you somebody review the PR for this ticket, please?
--
___
Python tracker
<https://bugs.python.org/issue43165>
___
___
Milan Balazs added the comment:
Sure, you can use try/except but it would be nice if the "shutil.copyfile"
function supports the same files.
If I have many files (more thousand), I don't want to check them with a
try/except.
Furthermore if I want to cover the unexpected exc
Change by Milan Balazs :
--
keywords: +patch
pull_requests: +23274
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24482
___
Python tracker
<https://bugs.python.org/issu
New submission from Milan Balazs :
The "shutil.copyfile" raises a "SameFileError" exception if the src and dts
files are the same.
There is no option to allow the same files(like in case of
shutil.copytree(dirs_exist_ok=False)).
For example:
import shutil
shuti
Attila-Mihaly Balazs added the comment:
Absolutely this. While it is good that there is at least some documentation (at
sys.settrace), it is not very explicit nor is it self evident that one should
look there (for example the PDB docs don't even mention settrace).
--
nosy: +A
New submission from Attila-Mihaly Balazs:
Doing the following in Python 2.7.12 does not work:
from __future__ import print_function
print(1, flush=True)
It says: "'flush' is an invalid keyword argument for this function"
While the following is a perfectly valid python 3k
Attila-Mihaly Balazs added the comment:
Hello,
A scenario where this would be needed (and where you can't just "execute the
script with the python from inside the pyvenv" to get it automatically
activate) is when running under mod_wsgi. There sometimes it is needed to
activate
Balazs added the comment:
Hi, this is the platform:
Linux cloudbackupbr 3.8.0-30-generic #44-Ubuntu SMP Thu Aug 22 20:52:24 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.24
Changes by Balazs :
--
nosy: +balazs
___
Python tracker
<http://bugs.python.org/issue19044>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth