iMath added the comment:
I encountered the same issue , Dario D'Amico's changing works ! please fix the
problem !
--
nosy: +redstone-cold
___
Python tracker
<https://bugs.python.o
iMath added the comment:
one workaround is :
if os.path.join(root_dir, base_dir) exists, use the current implementation ,
this is set for backwards-compatibility, if not exist, please consider the
feature in my last post(maybe we should recommend Python users to follow this
approach in the
New submission from iMath :
The current behavior of shutil.make_archive caused many issues , the problem is
mainly on the extracted archive directory hierarchy. These are the proofs:
https://stackoverflow.com/questions/51914467/directory-hierarchy-issue-when-using-shutil-make-archive
https
New submission from iMath :
Since Python 3.7,dicts remember the order that items were inserted, so any
plans to combine collections.OrderedDict with dict?
https://docs.python.org/3/library/collections.html?#collections.OrderedDict
https://docs.python.org/3/library/stdtypes.html#dict
BTW, I
New submission from iMath :
It would be better if html.escape(s, quote=True) could escape linefeed to
https://docs.python.org/3/library/html.html#html.escape
--
components: XML
messages: 308546
nosy: redstone-cold
priority: normal
severity: normal
status: open
title
iMath added the comment:
Yes, I met with the same bug, see the post for description and bug
investigation
https://stackoverflow.com/questions/43185804/using-httphandler-cause-django-server-side-shows-http-400-and-invalid-http-host/47434323#47434323
--
nosy: +redstone-cold
New submission from iMath:
For
class logging.handlers.RotatingFileHandler(filename, mode='a', maxBytes=0,
backupCount=0, encoding=None, delay=0)
if backupCount is zero and maxBytes is non-zero, the log file size could exceed
maxBytes, i.e. we are not able to restrict the log file
New submission from iMath:
I tested with Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC
v.1900 32 bit (Intel)] on win32
re.search(r'http://v.pptv.com/show/.*?\.html.+',
'http://v.pptv.com/show/2bwkox9SS4nsatI.html?rcc_src=P5')
does give a match, bu