Change by Philip Prindeville :
--
keywords: +patch
pull_requests: +30398
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32344
___
Python tracker
<https://bugs.python.org/issu
New submission from Philip Prindeville :
I'd like to see handlers exposes for the stdout and stderr pipe-reading threads
so that I could customize what's done with the data as it's read.
I might, for instance, want to:
(1) accumulate it into a buffer;
(2) copy it ont
Philip Bloom added the comment:
> Do you mean just adding a note to the effect that SysLogHandler won't work on
> macOS 12.2 because of changes to the syslog daemon on that platform?
Yes or removing the specific guidance about OSX handling on it, mostly just to
reduce folks comin
Philip Bloom added the comment:
I could certainly understand that. It's a weird apple choice.
If so, then it probably good to adjust
https://docs.python.org/3/library/logging.handlers.html#sysloghandler since it
still talks about it being exp
New submission from Philip Bloom :
Hello, don't file these often so apologies for any mistakes, trying to be good
python citizen here.
Checked this on the python-list first, and others reported it as reproducible.
The issue is:
On Osx Monterey(12.x), Logging.handlers.SysLogHandler doe
New submission from Philip Rowlands :
Went looking for os.pause() but found nothing in the docs, bpo, or Google.
https://man7.org/linux/man-pages/man2/pause.2.html
Obviously not a popular syscall, but I have a use case for it.
--
components: Library (Lib)
messages: 413554
nosy
Change by Philip Prindeville :
--
nosy: +philipp
___
Python tracker
<https://bugs.python.org/issue33618>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Philip Prindeville :
--
nosy: +philipp
___
Python tracker
<https://bugs.python.org/issue43669>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Philip Prindeville :
When TLS client certificates are used for authentication, servers need to
ensure that the certificate is current and hasn't been revoked. In zero-trust
and other architectures with heavy use of micro-services, server-side
validation of the c
New submission from Philip Sundt :
```
>>> import tkinter
>>> from functools import partial
>>> r=tkinter.Tk()
>>> r.after(500, partial(print, "lol"))
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/
Philip Bond added the comment:
Thanks Eric.
--
___
Python tracker
<https://bugs.python.org/issue43769>
___
___
Python-bugs-list mailing list
Unsubscribe:
Philip Bond added the comment:
To replicate ./cidr-gen.py google.com
You will see the IP variable is a Russian IP but that was a red herring, I
initially thought its was a compromised module.
--
___
Python tracker
<https://bugs.python.
New submission from Philip Bond :
Hi I came across an issue with the ipaddress module where it doesent raise a
ValueError when passed a non IP address.
Example see attached file use tabs for indents and that doesent work with the
form.
What happens is it when it takes b'PING' a
Change by Philip :
--
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue43222>
___
New submission from Philip :
I am receiving an unexpected behavior in using regular expressions for
splitting a string. It seems like this error exists in `python 3.6` but not
`python 2.7` and not `python 3.7+`. Below I have described a minimal example
with `tox`.
`setup.py`
```
from
New submission from Philip R Brenan :
a = false
# Traceback (most recent call last):
# File "test.py", line 1, in
# a = false
# NameError: name 'false' is not defined
# Compilation finished successfully.
Please make this a syntax error rather than a run ti
Philip Lee added the comment:
and I got ZipImportError: bad local file header
--
___
Python tracker
<https://bugs.python.org/issue19081>
___
___
Python-bug
Philip Lee added the comment:
The issue still remains in Python 3.8.
--
nosy: +iMath
versions: +Python 3.8 -Python 2.7, Python 3.4, Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue19
Philip Lee added the comment:
To reproduce the reported issue, one could also test with ffmpeg.exe
--
___
Python tracker
<https://bugs.python.org/issue30
Jan-Philip Gehrcke added the comment:
I am not too attached to "my" patch, but because I love Python I really would
like us to land on a solution.
> However I want all changes and new additions to the SSL module to follow PEP
> 543 so I can provide a PEP 543-compatible inter
Philip Rowlands added the comment:
Status as of 3.9.0a1:
==
test.py above appears fixed, i.e. reasonable error message.
$ ./python test.py
File "/home/bob/pybug/Python-3.9.0a1/test.py", line 2
hello = f"{world)}"
^
SyntaxError: f-string: unmatched
Philip Rowlands added the comment:
I went digging through the archives, made more interesting as elementtree was
imported into the standard library.
AFAICT, the FutureWarning for __bool__ (or __nonzero__ in py2) appeared circa
2007-06 in version 1.3a2:
http://svn.effbot.org/public/tags
Philip Rowlands added the comment:
It's easier to justify a change in behaviour if the warning is emitted. With no
legacy concerns, I would be happy for bool() to change, but I'm not the one who
would receive the grumbly tickets.
How about emitting the warning in the next rel
New submission from Philip Rowlands :
Steps to reproduce:
$ python3.7
Python 3.7.2 (default, May 13 2019, 13:52:56)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.etree.Elemen
Change by Philip Dye :
--
nosy: +Philip Dye
___
Python tracker
<https://bugs.python.org/issue15436>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Philip Dye :
--
nosy: +Philip Dye
___
Python tracker
<https://bugs.python.org/issue1820>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Philip Dye :
--
nosy: +Philip Dye
___
Python tracker
<https://bugs.python.org/issue17301>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Philip Dye :
--
nosy: +Philip Dye
___
Python tracker
<https://bugs.python.org/issue23560>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Philip Dye :
--
nosy: +Philip Dye
___
Python tracker
<https://bugs.python.org/issue18697>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Philip Dye :
--
nosy: +Philip Dye
___
Python tracker
<https://bugs.python.org/issue21861>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Philip Dye :
--
nosy: +Philip Dye
___
Python tracker
<https://bugs.python.org/issue37636>
___
___
Python-bugs-list mailing list
Unsubscribe:
Philip Dye added the comment:
If consensus has been reached on this, I am willing to do the work.
--
nosy: +Philip Dye
___
Python tracker
<https://bugs.python.org/issue15
Philip Dye added the comment:
Once consensus is reached, I would be happy to do the work.
--
nosy: +Philip Dye
___
Python tracker
<https://bugs.python.org/issue36
Philip Deegan added the comment:
This seems to be resolved on kernel 5.0.12
not it says "resource denied" and the test skips
--
___
Python tracker
<https://bugs.python.o
Change by Philip Deegan :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue36545>
___
___
Python-bugs-list
New submission from Philip Deegan :
Building Python 3.5.3 or 3.5.6 on my Kernel 5.0.2 Debian 9 install has runaway
memory usage during "test_socket" while running make after
./configure CFLAGS="-g3 -O3 -march=native -fPIC -I/usr/include/openssl"
CXXFLAGS="-g3 -O3 -
Philip Semanchuk added the comment:
> On Feb 23, 2019, at 10:40 AM, Giampaolo Rodola'
> wrote:
>
>
> Giampaolo Rodola' added the comment:
>
>> We are consciously choosing to not support an atomic "create or attach".
>> This significantl
Philip Semanchuk added the comment:
Hi all, I'm the author of `posix_ipc` on which some of this code is based. I'd
be happy to sign a contributor agreement in order to erase any concerns on that
front.
--
nosy: +osvenskan
___
Pyth
New submission from Philip Rowlands :
Because error() mentions standard error and exit() does not, I assumed exit()
did not use stderr, but it does.
Please mention standard error in the description of exit().
Relevant code at:
https://github.com/python/cpython/blob/3.7/Lib/argparse.py#L2482
Jan-Philip Gehrcke added the comment:
Thanks for the discussion.
Since I tried to join the efforts here in 2016 two years ago I was (and still
am) enthusiastic, and willing to invest quite a bit of energy. Still, we have
missed the 3.6 and 3.7 releases to change something about the fact
Philip Lee added the comment:
What about my last suggestion :
it would be better to move "Dictionaries preserve insertion order" part at the
end of the doc of https://docs.python.org/3/library/stdtypes.html#dict up below
the doc for
class dict(**kwarg)
class dict(mapping, **kwarg)
Philip Kendall added the comment:
Thanks thatiparthy :-)
--
title: Unused variable in pur embedding example -> Unused variable in pure
embedding example
___
Python tracker
<https://bugs.python.org/issu
New submission from Philip Kendall :
Line 6 of the "Pure Embedding" example at
https://docs.python.org/3/extending/embedding.html#pure-embedding :
PyObject *pName, *pModule, *pDict, *pFunc;
contains the pDict variable which is not used anywhere else in the code, giving
a compil
Philip Rowlands added the comment:
Considering the semantics a little more, "cont 99" could be equivalent to
tbreak 99
cont
perhaps with an implicit clear on SIGINT.
This is similar in the simple case to "until 99", except "until" stops on frame
boundaries, re
Philip Rowlands added the comment:
Thanks for the edit. I did try a PR but was defeated by build/doc tool's recent
version requirements (and didn't want to send untested changes, however minor).
The reason for getting rid of "unset" is the confusion of "state&
Philip Rowlands added the comment:
How about
- If tempdir is unset or None at any call to
+ If tempdir is None (the default) at any call to
This avoids headaches over the meaning of "unset", and accurately reflects the
code at:
https://github.com/python/cpython/blob/3.6/Lib/tempfi
New submission from Philip Rowlands :
Quoting https://docs.python.org/3/library/tempfile.html
"""
tempfile.tempdir
When set to a value other than None, this variable defines the default value
for the dir argument to the functions defined in this module.
If tempdir is unset or N
New submission from Philip Rowlands :
Please extend pdb's continue to support an optional argument, identical to
break.
When debugging I frequently want to quickly run to a certain line number then
break. Rather than break / continue / clear (or tbreak / continue), it would be
handy to
Jan-Philip Gehrcke added the comment:
Hello! I would very much appreciate if we can find a way for us to get another
review for the last patch.
I did most of the work in August 2016 and got a review from Senthil and
Christian which I processed. When I got back to the patch for converting it
Jan-Philip Gehrcke added the comment:
Hey Antoine, Christian, Senthil!
I have invested quite a bit more time to double-check my responses to the
questions asked so far, clarified where appropriate, and updated the pull
request on GitHub after manually resolving the merge conflicts that
Philip Jenvey added the comment:
Note that this isn't an android specific issue: See issue19901, and
9791c5d55f52 for an appropriate solution patch.
(Renaming title)
--
nosy: +pjenvey
title: android: setting SO_REUSEPORT fails -> setting SO_REUSEPO
Jan-Philip Gehrcke added the comment:
Hey Senthil and Christian!
> Could you convert your latest patch into PR against
> https://github.com/python/cpython
That was fun. There we go: https://github.com/python/cpython/pull/2449
I hope I was not too late with that for the 3.7 devel
Changes by Jan-Philip Gehrcke :
--
pull_requests: +2506
___
Python tracker
<http://bugs.python.org/issue16487>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Philip Ridout :
--
nosy: +Philip Ridout
___
Python tracker
<http://bugs.python.org/issue19717>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Philip Lee:
First, It is nearly useless for the command prompt to pop up during the
running time of subprocess.Popen with shell=False.
Second, the popping up command prompt would interrupt users and do bad to user
experience of GUI applications.
Third, I found QProcess
New submission from Philip Lee:
The doc here
https://docs.python.org/3/library/subprocess.html#subprocess.Popen
says :
"If shell is True, it is recommended to pass args as a string rather than as a
sequence."
but without explain why ? Please add the explanation !
whil
New submission from Philip Lee:
There example code here becomes invalid
https://docs.python.org/3/faq/programming.html#why-do-lambdas-defined-in-a-loop-with-different-values-all-return-the-same-result
>>> squares = []
>>> for x in range(5):
squares.a
Philip Lee added the comment:
I think so, the current behavior is misleading
在2016年12月27 00时08分, "R. David Murray"写道:
R. David Murray added the comment:
If it is truncated, should it end with '...' or [...]?
--
nosy: +r.david.murray
__
Jan-Philip Gehrcke added the comment:
Christian, Senthil, would appreciate if I got another round of feedback (in the
review thread) :-)
--
nosy: +orsenthil
___
Python tracker
<http://bugs.python.org/issue16
Jan-Philip Gehrcke added the comment:
Thanks Christian, much appreciated. Just responded to your review.
--
___
Python tracker
<http://bugs.python.org/issue16
Jan-Philip Gehrcke added the comment:
Hello!
Like everybody in this thread I would love to see this land and have prepared a
new patch, hoping that we can process this still for 3.6.
Antoine summarized the core task here very well:
> Let's stay focused on what is
> necessary to
Philip Lee added the comment:
I use the following django view function also produce the same exception
def sendFiles(request):
fileName = request.GET['fileName']
pathToFile = os.path.join(filesDir, fileName)
response = FileResponse(open(pathToFile, 'rb'))
Philip Jenvey added the comment:
Thanks Serhiy, I did not see the python-dev thread. This coincidentally came up
recently in pypy3.
+1 for some kind of deprecation period needed
--
___
Python tracker
<http://bugs.python.org/issue26
Philip Jenvey added the comment:
See issue26800 for reasoning to go with #4
--
nosy: +pjenvey
___
Python tracker
<http://bugs.python.org/issue26754>
___
___
Pytho
New submission from Philip Jenvey:
Basically a reopen of the older issue8485 with the same name. It was decided
there to drop support for bytearray filenames -- partly because of the
complexity of handling buffers but it was also deemed to just not make much
sense.
This regressed or crept
New submission from Philip Martin:
Currently, the error message:
_csv.Error: new-line character seen in unquoted field - do you need to open the
file in universal-newline mode?
is cryptic in that universal line mode has been deprecated, and will not run in
Python 3.5., i.e.:
open(escape_path
Changes by Jan-Philip Gehrcke :
Added file: http://bugs.python.org/file38096/issue6634_py27.patch
___
Python tracker
<http://bugs.python.org/issue6634>
___
___
Python-bug
Jan-Philip Gehrcke added the comment:
Martin, I very much like the order you suggested, thanks. I did not feel
confident enough for re-structuring the entire entry. So, can we agree on using
that for Python 2.7?
Is there a consensus regarding the approach to take for Python 3.5? Except from
Jan-Philip Gehrcke added the comment:
Victor,
I support the idea of sys.command. However, it would be unpopulated most of the
time (e.g. set to None by default). Now, is that something we should push
forward or not? I would work on a patch, but we should have an agreement first,
I guess
Jan-Philip Gehrcke added the comment:
Can these super-small doc patches get applied or should we change something?
Thanks!
--
___
Python tracker
<http://bugs.python.org/issue20
Jan-Philip Gehrcke added the comment:
I'd love to find an agreement here. I think we are quite close to getting this
closed, so further input is very welcome.
--
___
Python tracker
<http://bugs.python.org/i
New submission from Jan-Philip Gehrcke:
When Python is invoked with the `-c command` switch, the command string does
not get exposed in sys.argv:
$ python -c "import sys; print(sys.argv)"
['-c']
$ python -c "import sys; print(sys.argv)" arg1
[
Changes by Jan-Philip Gehrcke :
Added file: http://bugs.python.org/file38006/issue18454_py27_prompt_test.patch
___
Python tracker
<http://bugs.python.org/issue18
Jan-Philip Gehrcke added the comment:
First, I want to address the situation in 2.7. Please have a look at my patch
and my reasoning.
This is my setup.py test file content:
from distutils.core import setup
setup(name='foo', version='1.0', packages=['tes
Jan-Philip Gehrcke added the comment:
Thanks for your feedback Antoine.
> I'm not sure what the doc patch achieves.
Let me try to bring things in order. It should achieve two things:
1. Properly describe the stderr-writing behavior of
Changes by Jan-Philip Gehrcke :
Added file: http://bugs.python.org/file37990/issue6634_py27.patch
___
Python tracker
<http://bugs.python.org/issue6634>
___
___
Python-bug
Changes by Jan-Philip Gehrcke :
Removed file: http://bugs.python.org/file37983/issue6634_py27.patch
___
Python tracker
<http://bugs.python.org/issue6634>
___
___
Pytho
Jan-Philip Gehrcke added the comment:
> Regarding the documentation patch: I like to start sentences
> with a capital letter. Perhaps change it to start
> “Calling :func:`exit` only terminates . . .”.
Thanks for feedback. Have now used "Invocation of " to not repeat "
Changes by Jan-Philip Gehrcke :
Removed file: http://bugs.python.org/file37988/issue6634_py35.patch
___
Python tracker
<http://bugs.python.org/issue6634>
___
___
Pytho
Changes by Jan-Philip Gehrcke :
Removed file: http://bugs.python.org/file37986/issue6634_py35.patch
___
Python tracker
<http://bugs.python.org/issue6634>
___
___
Pytho
Changes by Jan-Philip Gehrcke :
Added file: http://bugs.python.org/file37988/issue6634_py35.patch
___
Python tracker
<http://bugs.python.org/issue6634>
___
___
Python-bug
Jan-Philip Gehrcke added the comment:
For Python 3.5, I have attached a patch that
- adds relevant test cases to test_threading.py which probe
the interpreter's stderr output for compliance with what
the docs state.
- makes sys.exit(msg) write msg to stderr, even if c
Changes by Jan-Philip Gehrcke :
Removed file: http://bugs.python.org/file19006/thread_sys_exit_test.py
___
Python tracker
<http://bugs.python.org/issue6634>
___
___
Pytho
Jan-Philip Gehrcke added the comment:
For Python 2.7, we will not change behavior, even if unexpected. Instead, the
sys.exit-docs should be adjusted and
- warn about the fact that nothing is written to stderr
if sys.exit(msg) gets called from a non-primary thread, and
- note
Jan-Philip Gehrcke added the comment:
I have added patches for the documentation, where I removed the sentence in
question and re-wrapped the paragraph.
--
___
Python tracker
<http://bugs.python.org/issue20
Changes by Jan-Philip Gehrcke :
Added file: http://bugs.python.org/file37980/issue20709_tip.patch
___
Python tracker
<http://bugs.python.org/issue20709>
___
___
Python-bug
Changes by Jan-Philip Gehrcke :
--
keywords: +patch
Added file: http://bugs.python.org/file37979/issue20709_py27.patch
___
Python tracker
<http://bugs.python.org/issue20
Jan-Philip Gehrcke added the comment:
Windows is the only Python-supported platform where utime did not work for
directories, ages ago, right?
If that is the case, I support Larry Hastings' approach of removing the entire
sentence:
"Whether a directory can be given for path
New submission from Philip Lee:
when using open(filename, 'w') on Windows , File names are not allowed to
contain any characters in \/:*?"<>| , however open(filename, 'w') doesn't
throw any exceptions when the file name contains these characters .
I thi
Philip Jenvey added the comment:
I can't find the paper trail of what I originally thought was a "consensus" or
even that many clear pronouncements about it, but I recall Nick being
originally opposed to it but he later changed his mind, you can see his
approval here:
https://
Changes by Philip Semanchuk :
--
nosy: +osvenskan
___
Python tracker
<http://bugs.python.org/issue20584>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jan-Philip Gehrcke added the comment:
I have updated the patch with a cross-reference to the sorted() built-in, which
explains the arguments.
W.r.t. to Éric's suggestion: the sorted() doc refers to the sorting howto in
the wiki. Now everything is connected.
--
Added file:
New submission from Jan-Philip Gehrcke:
Currently, the tutorial for the list sort method does not show allowed
arguments:
list.sort()
Sort the items of the list in place.
(see e.g. https://docs.python.org/3.4/tutorial/datastructures.html)
Is there a reason why we do not show the
Jan-Philip Gehrcke added the comment:
We should match the unit test with the documentation for signal.NSIG. Either
the code or the docs or both need to change.
Currently the docs say that signal.NSIG is "One more than the number of the
highest signal number."
("https://docs
Jan-Philip Gehrcke added the comment:
If you are thinking TL;DR:
This fails on FreeBSD:
>>> signal.signal(signal.SIGRTMAX, lambda *a: None)
Traceback (most recent call last):
File "", line 1, in
ValueError: signal number out of range
Although of infrequent use, I
New submission from Philip Sequeira:
Example: https://docs.python.org/3.4/library/asyncio-task.html
TimeoutError is mentioned several times, and links to the OSError subclass.
However, the actual TimeoutError raised by asyncio stuff is the one from
concurrent.futures, which is not compatible
Changes by Philip Jenvey :
--
keywords: +patch
Added file: http://bugs.python.org/file34751/issue21173-test.diff
___
Python tracker
<http://bugs.python.org/issue21
New submission from Philip Jenvey:
len() on WeakKeyDictionarys can fail with ValueErrors when _IterationGuards are
kept alive
Attached is a test showing this:
==
ERROR: test_weak_keys_len_destroy_while_iterating (__main__
New submission from Jan-Philip Gehrcke:
The os.utime() docs for Python 2
(http://docs.python.org/2/library/os.html#os.utime) and 3
(http://docs.python.org/3/library/os.html#os.utime) both contain the sentence
"Whether a directory can be given for path depends on whether the operating
s
Jan-Philip Gehrcke added the comment:
The version action currently writes to stderr. The _VersionAction(Action)'s
__call__() method finishes off with
parser.exit(message=formatter.format_help())
and parser.exit() by default writes to stderr.
Here, Steven says "Help is definitely i
1 - 100 of 225 matches
Mail list logo