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 onto sys.stdout
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 coming
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 expected
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 does
.
On Thu, Mar 3, 2022 at 10:32 AM Barry Scott wrote:
>
>
> On 3 Mar 2022, at 03:01, Philip Bloom wrote:
>
> I'm probably asking on the wrong list, and probably should bother wherever
> apple's ASL experts live for changes in monterey. Guess nobody else is
> seeing this?
&g
||
> > | | | h...@hjp.at |-- Charles Stross, "Creative writing
> > __/ | http://www.hjp.at/ | challenge!"
> > --
> > https://mail.python.org/mailman/listinfo/python-list
>
> --
> https://mail.python.org/mailman/listinfo
-> /var/log/Appname/Appname.log). It's why I think I may be
missing something fundamental, but it feels like something subtle changed
in the latest OSX.
On Sun, Feb 27, 2022 at 11:26 AM Dennis Lee Bieber
wrote:
> On Sun, 27 Feb 2022 08:34:21 -0800, Philip Bloom
> de
log again so glad to just be pointed in the right
direction if way off base.
--
Philip Bloom
Director, Services Engineering
*AppLovin Corporation*
M: (786)-338-1439 <786-338-1439>
[image: LinkedIn] <https://www.linkedin.com/company/applovin> [image:
Twitter] <https://twitter.com/AppL
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 client
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' as the call
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 time error a
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 release
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 significantly simplifi
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
___
Python tracker
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
On Mon, Nov 05, 2018 at 01:57:56PM -0700, Ian Kelly wrote:
> > Which is what I want in this case. Scheduling a new (long-running) task
> > as a side effect, but returning early oneself. The new task can't be
> > awaited right there, because the creating one should return already.
>
> If you want
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
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", i.e
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 type
Jan-Philip Gehrcke <jgehr...@gmail.com> 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 go
Jan-Philip Gehrcke <jgehr...@gmail.com> 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
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_REUSEPORT fa
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 <jgehr...@gmail.com>:
--
pull_requests: +2506
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16487>
___
Changes by Philip Ridout <phill.rid...@gmail.com>:
--
nosy: +Philip Ridout
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19717>
___
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"<rep...@bugs.python.org>写道:
R. David Murray added the comment:
If it is truncated, should it end with '...' or [...]?
--
nosy:
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 <rep...@bugs.python.org>
<http://bugs.python.org/i
Jan-Philip Gehrcke added the comment:
Thanks Christian, much appreciated. Just responded to your review.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
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'))
response['Content
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 <rep...@bugs.python.org>
<http://bugs.p
Philip Jenvey added the comment:
See issue26800 for reasoning to go with #4
--
nosy: +pjenvey
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
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
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
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Added file: http://bugs.python.org/file38096/issue6634_py27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
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
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
['-c', 'arg1']
The command string does
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 rep...@bugs.python.org
http://bugs.python.org/issue6634
Jan-Philip Gehrcke added the comment:
Can these super-small doc patches get applied or should we change something?
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20709
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 sys.exit
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Added file: http://bugs.python.org/file38006/issue18454_py27_prompt_test.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18454
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=['testpackage
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Added file: http://bugs.python.org/file37988/issue6634_py35.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Removed file: http://bugs.python.org/file37986/issue6634_py35.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Removed file: http://bugs.python.org/file19006/thread_sys_exit_test.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
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 called
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Removed file: http://bugs.python.org/file37988/issue6634_py35.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Removed file: http://bugs.python.org/file37983/issue6634_py27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
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 call*
in the sentence
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Added file: http://bugs.python.org/file37990/issue6634_py27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
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 depends on whether
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file37979/issue20709_py27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20709
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Added file: http://bugs.python.org/file37980/issue20709_tip.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20709
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 rep...@bugs.python.org
http://bugs.python.org/issue20709
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
On Mon, 26 Jan 2015, varun...@gmail.com wrote:
Thanks a lot Mark but that would be a bit trivial. How can I run the
same file multiple times? Or if I need to run two commands:
srva@hades:~$ python NFV_nw_eu_v3_14_1_15.py --output eu_v3_14_1_15
--demand demands_v3_21_1_15.xml --xml nobel-eu.xml
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 think some warning should be written
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://mail.python.org
Changes by Philip Semanchuk osvens...@users.sourceforge.net:
--
nosy: +osvenskan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20584
=
PyPy3 2.4 - Snow White
=
We're pleased to announce PyPy3 2.4, which contains significant performance
enhancements and bug fixes.
You can download the PyPy3 2.4.0 release here:
=
PyPy3 2.4 - Snow White
=
We're pleased to announce PyPy3 2.4, which contains significant performance
enhancements and bug fixes.
You can download the PyPy3 2.4.0 release here:
On 2014-07-01, Florian Lindner mailingli...@xgm.de wrote:
Is there a way I can extract the named groups from a regular
expression? e.g. given (?Ptestgrp\d) I want to get something
like [testgrp].
The match object has an attribute called groupdict, so you can get
the found named groups using
1 - 100 of 683 matches
Mail list logo