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
Change by Philip :
--
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue43222>
___
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
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
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
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 Jenvey
added the comment:
make that against r58227
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Changes by
Philip Jenvey
:
--
type: -> behavior
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.o
New submission from
Philip Jenvey
:
tell() will skip the next LF (after a CR sets f_skipnextlf) when
universal newline support is enabled; essentially doing part of the work
of read(). However it does not identify CRLF as
Philip Jenvey added the comment:
Something along these lines (untested) should do it. 2.6 and 3.x need the fix
as well
--
keywords: +patch
nosy: +pjenvey
Added file: http://bugs.python.org/file23824/pypirc-secure.diff
___
Python tracker
<h
Philip Jenvey added the comment:
It probably still needs to catch OSErrors which my patch doesn't do
--
___
Python tracker
<http://bugs.python.org/is
Philip Jenvey added the comment:
2.5 is done
http://mail.python.org/pipermail/python-committers/2011-October/001844.html
--
___
Python tracker
<http://bugs.python.org/issue13
Philip Jenvey added the comment:
I'm surprised to hear that stderr is line buffered by default. Historically
stderr is never buffered (at least on POSIX) and for good reason: errors should
be seen immediately
Was this an oversight in migrating stdin/out/err to the new io m
Philip Jenvey added the comment:
sys.executable can be None on Jython (and I believe IronPython) when ran in an
'embedded' mode
--
nosy: +dino.viehland, pjenvey
___
Python tracker
<http://bugs.python.o
Philip Jenvey added the comment:
Is mro_internal's second call to type_mro_modified still needed? Its comment
makes me suspect that it's not:
type_mro_modified(type, type->tp_mro);
/* corner case: the old-style super class might have been hidden
from t
Philip Drew added the comment:
The error message is:
ImportError: No module named site.
--
___
Python tracker
<http://bugs.python.org/issue12140>
___
___
Pytho
Philip Drew added the comment:
The site module is in the right place
This is what I got running the -v flag: (I don't know what you're looking for)
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\PWTD>c:\Python27\
Philip Drew added the comment:
Reinstalling makes no difference- have tried multiple times
--
___
Python tracker
<http://bugs.python.org/issue12140>
___
___
Pytho
Philip Drew added the comment:
Gave it a go: the prompt appears, but none of the functions work thereafter
C:\Users\PWTD>c:\Python27\python -S
Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on
win32
>>> print "hello"
LookupError: no
Philip Drew added the comment:
C:\Users\PWTD>set PY
PYTHONHOME=c:\program files (x86)\steam\steamapps\common\alien
swarm\swarm\..\sdktools\python\2.5
C:\Users\PWTD>chcp
Active code page: 850
C:\Users\PWTD>
--
___
Python track
Philip Drew added the comment:
Ok, python now works in command prompt, but IDLE still wont run.
Also, PYTHONHOME needs to be reset on every start up of command prompt.
--
___
Python tracker
<http://bugs.python.org/issue12
Philip Drew added the comment:
Awesome. It's fixed- do you still want to know whether or not the game works.
In case it helps, I installed the game before python
--
___
Python tracker
<http://bugs.python.org/is
New submission from Philip Olson :
I was unable to determine how to download the Python documentation source files
(for building via Sphinx) but did figure out the following:
hg clone http://hg.python.org/cpython
cd cpython/Doc
make html
Where to get the Doc sources deserves a
Philip Olson added the comment:
Thank you, that patch solves this bug report.
However, now I'm not sure which branches we should or must contribute
documentation to. Python versions "2.7, 3.2, and 3.3" are now associated to
this bug report, so are these the active documentatio
New submission from Philip Horger :
I haven't yet checked to see if other errors mess it up, but it refuses to exit
the serve_forever() loop if the last request had a 404 error.
--
components: Library (Lib)
messages: 140382
nosy: Philip.Horger
priority: normal
severity: normal
s
Philip Horger added the comment:
I'm having trouble replicating the issue in simpler code snippets than the
project code the issue first popped up in, which means the problem is
probably my own code. For now, it looks like this was a false alarm, and I'm
sorry for wasting anyone
Philip Horger added the comment:
Thanks, sounds good to me too. I'll probably work on it a bit later, see if
I can find the bug in my own code at least.
On Mon, Jul 18, 2011 at 3:23 PM, Senthil Kumaran wrote:
>
> Changes by Senthil Kumaran :
>
>
> Removed file: ht
Philip Douglass added the comment:
Workaround for this issue: Add -D_TERMIOS_INCLUDED to your CFLAGS/CPPFLAGS
environment variables to successfully compile termios.
--
nosy: +philipsd6
___
Python tracker
<http://bugs.python.org/issue9
Changes by Philip Jenvey :
--
nosy: +pjenvey
___
Python tracker
<http://bugs.python.org/issue9988>
___
___
Python-bugs-list mailing list
Unsubscribe:
Philip Jenvey added the comment:
It sounds like you had PYTHONWARNINGS using the fs encoding before r84694, but
reverted it due to bootstrapping issues.
Indeed, the fs encoding isn't initialized until later in Py_InitializeEx. Maybe
the PYTHONWARNINGS code should be moved there in
Changes by Philip Jenvey :
--
nosy: +pjenvey
___
Python tracker
<http://bugs.python.org/issue9992>
___
___
Python-bugs-list mailing list
Unsubscribe:
Philip Jenvey added the comment:
Another option is to wrap the operations in a try/except. When a TypeError is
raised have it throw a new TypeError with an improved error message and the
original chained to it
--
nosy: +pjenvey
___
Python tracker
Changes by Philip Jenvey :
--
nosy: -pjenvey
___
Python tracker
<http://bugs.python.org/issue10073>
___
___
Python-bugs-list mailing list
Unsubscribe:
Philip Jenvey added the comment:
The code I linked to above implements those semantics in pure Python. It
follows Microsoft's "Parsing C Command-Line Arguments" rules like
CommandLineToArgvW does
Here's updated links, the older links seemed to have broken:
https://fi
Changes by Philip Semanchuk :
--
nosy: +osvenskan
___
Python tracker
<http://bugs.python.org/issue8426>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Philip Drew :
Upon execution of python.exe a command line box appears for a fraction of a
second, closes and is followed by nothing. On executing IDLE from the start
menu, nothing happens. I have installed python to C:\Python27 using the python
windows installer.
I am
Changes by Philip Jenvey :
--
nosy: +pjenvey
___
Python tracker
<http://bugs.python.org/issue8685>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Philip Bober :
In the Python Standard Library reference, section 5.4: Numeric Types, the table
of operators/functions has the following unclear note:
(4)Complex floor division operator, modulo operator, and divmod().
Deprecated since version 2.3: Instead convert to float
Philip Jenvey added the comment:
Florent, any chance of signing off on this for 3.2? I was waiting for the patch
to go through your authorized elementtree fork
--
assignee: pjenvey -> flox
___
Python tracker
<http://bugs.python.org/iss
Philip Winston added the comment:
We ran into this. Forking before importing Tkinter worked for us. We did the
following which seems pretty clean:
main.py
import stdlib only
if __name__ == 'main':
from application import App
App()
application.py
import Tkinter
Philip Dorrell <[EMAIL PROTECTED]> added the comment:
I have raised a "bug" 125 for boto (
http://code.google.com/p/boto/issues/detail?id=125 ) in relation to this
problem, because if httplib.py is not fixed in Python 2.5, then any code
calling httplib.py has to work around
New submission from Philip Jenvey <[EMAIL PROTECTED]>:
get_python_lib supports an optional prefix argument:
If 'prefix' is supplied, use it instead of sys.prefix or
sys.exec_prefix -- i.e., ignore 'plat_specific'.
However the NT and OS2 platforms don'
New submission from Philip Jenvey <[EMAIL PROTECTED]>:
Python 2.5 added support for specifying a custom logging Formatter class
in logging configuration files. Handler classes can also be specified,
but your choice is limited to classes that live in the logging module.
A current work
Changes by Philip Jenvey <[EMAIL PROTECTED]>:
--
title: distutils.sysconfig.get_python_lib prefix argument broken -> [PATCH]
distutils.sysconfig.get_python_lib prefix argument broken
___
Python tracker <[EMAIL PROTECTED]>
<http
New submission from Philip Jenvey <[EMAIL PROTECTED]>:
The What's New doc is missing a few of these, I've added the ones
mentioned in PEP 361 that weren't already there.
I also corrected popen2's entry; it's always deprecated in 2.6, not just
in the 3.0 war
Philip Jenvey added the comment:
Looks good to me. Updated patch with a couple whitespace changes
--
Added file: http://bugs.python.org/file16791/issue7301-2.diff
___
Python tracker
<http://bugs.python.org/issue7
Philip Jenvey added the comment:
applied in r79878 - r79881, thanks!
--
resolution: accepted -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Philip Jenvey added the comment:
I committed a somewhat different version of this patch to py3k to handle the
warn options now calling for wchars, but this needs more work. Some of the
buildbots are unhappy
Seems like the py3k version either needs to fully decode the env values to a
unicode
Philip Jenvey added the comment:
Here's a patch for py3k using the same char2wchar as the argv decoder for
posix, and better windows handling. Plus an additional nonascii value test.
Patch is against r79980 for clarity
--
Added file: http://bugs.python.org/file16810/issu
Philip Jenvey added the comment:
S.capitalize() -> string
Return a copy of the string S with only its first character
capitalized.
You've misunderstood the docs, only the first character is indeed capitalized.
You want string.capwords instead
--
nosy: +pjenvey
re
Philip Jenvey added the comment:
Patch with tests (which can only really test it on Windows) here
http://bitbucket.org/pjenvey/et-2009-provolone/changeset/8292a06090a3/
--
___
Python tracker
<http://bugs.python.org/issue7
Philip Jenvey added the comment:
The pending patch for py3k fixes the modification of the env value (trunk
already has a fix for that).
That patch is also doing the conversion to wchar_t via the char2wchar function
now, with that reusing a single buffer seems out of the question
Philip Jenvey added the comment:
py3k should be taken care of as of r80066+r80075
--
resolution: accepted -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Philip Jenvey added the comment:
shell commands don't work because you're not specifying the shell=True argument
to Popen. This is covered in the subprocess "Replacing os.system" documentation
--
nosy: +pjenvey
resolution: -> invalid
New submission from Philip Jenvey:
getpass (in particular _raw_input, used by unix_getpass and
default_getpass) prints out a password prompt to a stream (by default
stdout) but doesn't flush that stream. It assumes calling
sys.stdin.readline() to read the password causes stdout to be fl
Philip Jenvey <[EMAIL PROTECTED]> added the comment:
Bob, all of the simplejson tests have actually been passing on Jython
trunk -- at least up until recently when you added a couple tests that
utilize the 2.4 decimal module.
I can also import simplejson.scanner with a recent build o
New submission from Philip Jenvey <[EMAIL PROTECTED]>:
This should be a stacklevel of 2 so we're told who accessed the attribute
--
components: Library (Lib)
files: gzip-deprecation_r67276.diff
keywords: patch
messages: 76031
nosy: pjenvey
severity: normal
status: open
ti
New submission from Philip Jenvey :
Python 2.6's new msvc9compiler misbehaves when it can't find a compiler
(actually a utility of the missing compiler) in its query_vcvarsall() --
it raises an IOError instead of a typical distutils error
build tools expect a consistent set of
Changes by Philip Jenvey :
--
title: Fix ptcp154 encoding cyrillic_asian alias -> [PATCH] Fix ptcp154
encoding cyrillic_asian alias
___
Python tracker
<http://bugs.python.org/issue1
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
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 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
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.
Philip Bond added the comment:
Thanks Eric.
--
___
Python tracker
<https://bugs.python.org/issue43769>
___
___
Python-bugs-list mailing list
Unsubscribe:
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/
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
Change by Philip Prindeville :
--
nosy: +philipp
___
Python tracker
<https://bugs.python.org/issue43669>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Philip Prindeville :
--
nosy: +philipp
___
Python tracker
<https://bugs.python.org/issue33618>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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:
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 Lee added the comment:
To reproduce the reported issue, one could also test with ffmpeg.exe
--
___
Python tracker
<https://bugs.python.org/issue30
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:
and I got ZipImportError: bad local file header
--
___
Python tracker
<https://bugs.python.org/issue19081>
___
___
Python-bug
Changes by Philip Jenvey :
--
nosy: +pjenvey
___
Python tracker
<http://bugs.python.org/issue13903>
___
___
Python-bugs-list mailing list
Unsubscribe:
Philip Jenvey added the comment:
DeprecationWarnings aren't that annoying anymore now that they're silent by
default. It should at least have a PendingDeprecationWarning
--
nosy: +pjenvey
___
Python tracker
<http://bugs.python.o
Philip Jenvey added the comment:
Actually 10.5 was the last PowerPC release
--
nosy: +pjenvey
___
Python tracker
<http://bugs.python.org/issue13405>
___
___
Pytho
Changes by Philip Jenvey :
--
nosy: -pjenvey
___
Python tracker
<http://bugs.python.org/issue13405>
___
___
Python-bugs-list mailing list
Unsubscribe:
Philip Jenvey added the comment:
I think you want to decref the result of PyObject_Repr after the fact, too
--
nosy: +pjenvey
___
Python tracker
<http://bugs.python.org/issue14
Philip Jenvey added the comment:
iter(range(1)) should also see a speedup because range's iter supports
__length_hint__
--
nosy: +pjenvey
___
Python tracker
<http://bugs.python.org/is
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 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
Change by Philip Dye :
--
nosy: +Philip Dye
___
Python tracker
<https://bugs.python.org/issue37636>
___
___
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/issue18697>
___
___
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/issue17301>
___
___
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/issue15436>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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 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
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:
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
Changes by Philip Ridout :
--
nosy: +Philip Ridout
___
Python tracker
<http://bugs.python.org/issue19717>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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 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
1 - 100 of 225 matches
Mail list logo