Change by Collin Anderson :
--
components: IO
nosy: collinanderson
priority: normal
severity: normal
status: open
title: Avoid calling isatty() for most open() calls
type: performance
versions: Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python
3.9
Change by Collin Anderson :
--
keywords: +patch
pull_requests: +28096
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29870
___
Python tracker
<https://bugs.python.org/issu
New submission from Collin Anderson :
isatty() is a system call on linux. Most open()s are files, and we're already
getting the size of the file. If it has a size, then we know it's not a atty,
and can avoid calling it.
--
___
Pyth
Change by Collin Anderson :
--
components: Library (Lib)
nosy: collinanderson
priority: normal
pull_requests: 8422
severity: normal
status: open
title: Add add HTTPConnection.settimeout()
type: enhancement
___
Python tracker
<ht
New submission from Collin Anderson:
Can we remove references to #python.web? I assume it was a flourishing channel
at some point.
https://docs.python.org/3/howto/webservers.html#other-notable-frameworks
--
assignee: docs@python
components: Documentation
messages: 232550
nosy
Collin Anderson added the comment:
The issue I'm currently running into, is that although browsers correctly
ignore invalid Set-Cookie values, they allow 'any CHAR except CTLs or ";"' in
cookie values set via document.cookie.
So, if you say document.cookie = 'ke
Collin Anderson added the comment:
It should be safe to hard split on semicolon. `name="some;value"` is not valid,
even though it's quoted. I think raw double quotes, commas, semicolons and
backslashes are _always_ invalid characters in cookie values.
>From https://tools.iet