New submission from David :
Hi all,
I fail on cross compiling Python 2.7.14 for ARM using a self built toolchain.
Build host: Linux x86-64 CentOS 7
Target: arm cortex-a9
My steps are compiling python for the host, after that compiling python for the
target using the PYTHON_FOR_BUILD flag
David added the comment:
After using --with-system-ffi and setting the correct LD_LIBRARY_PATH, it
worked.
Many thanks for the help!
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
New submission from David :
Hello!
Newbie to python here. I run into an issue with one desktop library, Cinnamon.
Specifically this one:
https://github.com/linuxmint/Cinnamon/issues/5926#issuecomment-411232144. This
library uses the urllib in the standard library to download some json. But
David added the comment:
Hi Martin.
It's definitely something with my internet connection. Yesterday I temporarily
changed the way I connect to the internet to use the mobile connection from my
cell phone instead of my WiFi connection, and things started working.
I also debugge
David added the comment:
martin.parter, it worked! Thanks so much, I was going nuts I also read the
issue you pointed to, very interesting. Even if all servers should just work
here, it does not seem to be the case in real life (I guess it's something easy
to misconfigure) so I
New submission from David :
Sometimes, rarely, API calls will get stuck indefinitely on ssl.py. Stack trace:
response = json.loads(urllib.request.urlopen(req).read())
File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
New submission from David:
Python crashes while executing the following code using the new regex module.
Have I made a mistake?
import regex as re
rx = re.compile(r'\bt(est){i<2}', flags=re.V1)
print "Prints here"
rx.findall("Some text") # Python crashes
print
David added the comment:
Hi, I've the same problem.
I've already tested (from source, Python-3.4.1.tgz) under OpenSUSE 12.3 and
Debian 7.5 with the same issue. I've compiled it in standard way (./configure;
make; make install) although the output (error) is the same, after
David added the comment:
You're absolute right that file is not in path.
However, in my view this a bug, due to the fact libsqlite3-dev package must be
installed before Python3.4.1 is compiled (or install it and recompile python)
because there is no errors, no warnings... nothing.
I
New submission from David :
Qualifier: This is the first issue that I've raised, so I apologise before-hand
for any protocol flubs.
str.splitlines()'s implementation jives unexpectedly with str.split().
In this code snippet, a server buffers input until it receives a blank line,
a
David added the comment:
I typoed when copying my second snippet.
while request_buffer.splitlines[-1] != "" or request_buffer == "":
It should be:
while request_buffer.splitlines()[-1] != "" or request_buffer == "":
This code has the problem t
David added the comment:
Thank you for the clarification, David. I thought that it might have been a
calculated decision beyond my understanding, and I can rest easy knowing that
this behavior isn't accidental. I was thinking that I might have to do
something like a regular expression,
New submission from david :
http://docs.python.org/tutorial/inputoutput.html#reading-and-writing-
files
"Windows makes a distinction between text and binary files;
"the end-of-line characters in text files are automatically altered
"slightly when data is read or written.
Windows
david added the comment:
So, it's wrong, and it's not helpful unless you already know what it
means, but it works for someone who doesn't need the Python tutorial!
I'm gobsmacked.
If "the C libraries that Python uses" have the concept of Text/Binary,
why not ju
david added the comment:
If this is like to be non-portable to jPython, I'd like to be told.
However, I can see that the tutorial may be the wrong place to mention
that.
--
___
Python tracker
<http://bugs.python.org/i
New submission from David :
The following code produces a type error, but from what I can tell it does
comply with PEP333. This issue appeared using Python 3.1.1 and 3.1.2 on both
Windows and Ubuntu. I have only tried the 32 bit versions. Works fine in Python
2.6.5.12 but I guess thats
David added the comment:
I'm going to tackle the questions one-by-one:
I would like these ".py" files to be IDLE files in the sense that they have the
IDLE icon and they open up directly into an idle file with a shell in the
background. For context: on my other Windows 10 mac
David added the comment:
Thanks for the help Steve, however I cannot find the Python Launcher app
anywhere on my computer. Even after repairing/reinstalling. Where might I find
this file? What is it called exactly? Much appreciated.
--
___
Python
David added the comment:
So I tried changing it to py.exe, and it doesn't load the IDLE: instead, it
opens up the run command for the program in command prompt. That's not what I
want it to do. Also, there still is no Edit With IDLE option. And I tried doing
the ProgID stuff, but
David added the comment:
Also, I created a reg file with the commands in a txt file and when I merged
it, it was able to show the "Edit with IDLE" but it would do nothing. IDLE
isn't there. Very perplexing.
--
___
Python
David added the comment:
Yes, I have IDLE installed, and Launcher is installed as well. I can open up
IDLE from the shortcut, however I am not able to access it within "Open With"
or "Default Programs" or "Change" (within Properties). I _can_ open up the file
onl
David added the comment:
Thank you for your help. Attached is the py_config.txt that your .bat file gave
me.
--
Added file: http://bugs.python.org/file45991/py_config.txt
___
Python tracker
<http://bugs.python.org/issue29
David added the comment:
Couple things: I installed PyCharm after all other options where exhausted. I
needed to do some work on multiple projects.
And also, I deleted .py key and it still doesn't show up. I tried associating
it with idle.pyw and that didn't work either: Windo
David added the comment:
Couple things to note: I was not able to delete a couple of the keys.
Regardless I've made some progress which I will outline in the next comment.
--
___
Python tracker
<http://bugs.python.org/is
David added the comment:
Following your instructions on key deletion, I have now 2 "Edit with IDLE"
options now. The top one does *not* work. The second one, however, does work.
But when I tried to associate the .py with idle (so it opens up in IDLE) it
reverted back to the comman
David added the comment:
I did that, and now all the options are gone.
--
___
Python tracker
<http://bugs.python.org/issue29014>
___
___
Python-bugs-list mailin
David added the comment:
Also, just to clarify, I want this to be a regular installation of Python
wherein I can associate .py files with IDLE (i.e. when I double click on a .py
file, it takes me straight to the code) *as well as* having the option to "Edit
with IDLE" when right-cli
David added the comment:
Also, just to clarify, I want this to be a regular installation of Python
wherein I can associate .py files with IDLE (i.e. when I double click on a .py
file, it takes me straight to the code) *as well as* having the option to "Edit
with IDLE" when right-cli
David added the comment:
Before re-installing Windows 10, I was able to open up all my .py files by
double-clicking on them and it would open them up in the IDLE (where I could
edit the code manually and what have you). I'm not sure why it's never been a
feature: I was doing tha
David added the comment:
Thank you so much! This solved it.
--
___
Python tracker
<http://bugs.python.org/issue29014>
___
___
Python-bugs-list mailing list
Unsub
New submission from David:
Hi there.
3.5.1 final didn't have this problem, 3.5.2 final does have this problem.
I'm compiling Python 3.5.2 under Debian, and get this warning during the
./configure step:
---
configure: WARNING: linux/random.h: present but cannot b
David added the comment:
Forgot to mention - this is for Debian 4. A really old legacy system we're
running, but where we like to use new versions of Python.
--
___
Python tracker
<http://bugs.python.org/is
New submission from David:
Hi there.
On Debian 4, while running 'make' against a downloaded and extracted
Python-3.6.0b1.tar.xz, I get this error:
gcc -pthread -c -fno-strict-aliasing -Wsign-compare -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes-std=c
David added the comment:
Thanks.
What is the last official version of Python which does support GCC versions
< 4.3 ?
On Fri, Sep 16, 2016 at 7:20 AM, Benjamin Peterson
wrote:
>
> Benjamin Peterson added the comment:
>
> We don't support GCC versions < 4.3 anymore
New submission from David Carlier :
- adding LOCAL_CREDS then LOCAL_CREDS_PERSISTENT and SCM_CREDS2 which would be
used as msg type for the latter.
--
components: FreeBSD
messages: 408175
nosy: dcarlier, koobs
priority: normal
pull_requests: 28242
severity: normal
status: open
title
Change by David CARLIER :
--
nosy: +devnexen -dcarlier
___
Python tracker
<https://bugs.python.org/issue46030>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by David Peled :
--
nosy: +david-peled
___
Python tracker
<https://bugs.python.org/issue45959>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from haven david :
Opportunity for you to transform into interesting characters like Mario,
Sonic...
Online game with exciting battles
https://super-smashflash2.com
--
components: Build
messages: 408519
nosy: havenhaven
priority: normal
severity: normal
status: open
New submission from David Hewitt :
The limited api methods `PyBuffer_GetPointer`, `PyBuffer_FromContiguous`,
`PyBuffer_ToContiguous` and `PyMemoryView_FromBuffer` take buffer arguments as
`Py_buffer *`.
They do not mutate the buffer info, so could simply take `const Py_buffer *`.
There is
Change by David Hewitt :
--
keywords: +patch
pull_requests: +28438
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30217
___
Python tracker
<https://bugs.python.org/issu
New submission from David Gilbertson :
On this page: https://docs.python.org/3/library/io.html#text-encoding it says
"there is no concrete plan as of yet, Python may change the default text file
encoding to UTF-8 in the future".
On this page https://docs.python.org/3/library/os
New submission from David Bereza :
Documentation link:
https://docs.python.org/3/library/logging.config.html#configuration-file-format
It seems that the example for the "formatter_form01" formatter section
specifies following for the style(please note the single-quotes around
Change by David CARLIER :
--
components: Library (Lib)
nosy: devnexen
priority: normal
pull_requests: 28473
severity: normal
status: open
title: mmap module add MAP_STACK constant mostly for OpenBSD
versions: Python 3.11
___
Python tracker
<ht
New submission from David Fritz :
I believe this also impacts 3.10 and 3.11 based on the original bpo-45401 which
led to this change. Prior to commit ac421c348b in the 3.9 branch there were no
additional os.path checks in the shouldRollover() methods of
RotatingFileHandler and
New submission from David CARLIER :
Adding SF_NOCACHE and little note for SF_MNOWAIT.
--
components: FreeBSD
messages: 409465
nosy: devnexen, koobs
priority: normal
pull_requests: 28542
severity: normal
status: open
title: posixmodule sendfile FreeBSD's constants update
ver
New submission from David CARLIER :
- Solves the "Make sure new member of socket address initialized." warning for
the bluetooth sockaddr_l2cap usage.
--
components: FreeBSD
messages: 410419
nosy: devnexen, koobs
priority: normal
pull_requests: 28761
severity: normal
st
David CARLIER added the comment:
I took as initialized to avoid undefined behavior rather than anything.
--
___
Python tracker
<https://bugs.python.org/issue46
David CARLIER added the comment:
I get what you mean now I thought memset was enough.
--
___
Python tracker
<https://bugs.python.org/issue46357>
___
___
Pytho
Change by David CARLIER :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue46357>
___
___
Python-bugs-list
David Goncalves added the comment:
Any core developers available to review this PR?
--
___
Python tracker
<https://bugs.python.org/issue33178>
___
___
Python-bug
Change by David CARLIER :
--
components: FreeBSD
nosy: devnexen, koobs, vstinner
priority: normal
pull_requests: 28825
severity: normal
status: open
title: posixshmem module shm_rename freebsd support.
type: enhancement
___
Python tracker
<ht
New submission from David CARLIER :
- Adding shm_rename (from FreeBSD 13) to be able to move a shared memory block
from one location to another.
--
___
Python tracker
<https://bugs.python.org/issue46
David Lord added the comment:
I can reproduce this on Python 3.10.
Actually, `input` and `getpass` both seem to have this behavior now. Please
reopen it.
```python
import getpass
try:
getpass.getpass("in: ")
except:
pass
print("done")
```
```
$ python example
David Lord added the comment:
Meant to say that "done" shows up on the same line, not the shell prompt. An
earlier version of my example was in the REPL, where its prompt *does* show up
on the same line.
--
___
Python track
New submission from David Contreras :
I noticed that selecting Edit>Show Completions works as expected on Python
3.10.2 and macOS 12.1 after issue 40128 was resolved.
But trying the default keyboard shortcut ctrl+S only highlights the edit menu
but doesn't work.
I understand t
Change by David Contreras :
--
assignee: -> terry.reedy
components: +IDLE
nosy: +terry.reedy
type: -> behavior
versions: +Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/i
David Contreras added the comment:
I disabled the default ^space in macOS settings>Keyboard>Shortcuts>Input
Sources>Select the Previous input source (^space)
After doing that ^space works on IDLE, nonetheless the menu shows ^S which is
not ^space.
--
Added
Change by David Foster :
--
nosy: +David Foster
___
Python tracker
<https://bugs.python.org/issue46475>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from David CARLIER :
- sendfile on solaris supports copy between regular file descriptors as well.
--
components: Library (Lib)
messages: 412643
nosy: devnexen
priority: normal
pull_requests: 29338
severity: normal
status: open
title: shutil Lib enables sendfile on
Change by David CARLIER :
--
nosy: devnexen
priority: normal
severity: normal
status: open
title: socketmodule add Linux SO_INCOMING_CPU constasn
___
Python tracker
<https://bugs.python.org/issue46
New submission from David CARLIER :
Adding Linux's SO_INCOMING_CPU constant for setsockopt.
--
components: +Library (Lib)
keywords: +patch
message_count: None -> 1.0
pull_requests: +29407
stage: -> patch review
title: socketmodule add Linux SO_INCOMING_CPU constasn -> so
New submission from David CARLIER :
Exposing more flags for direct calls, shutil fastcopy still only using
COPYFILE_DATA one.
--
components: Library (Lib)
messages: 413137
nosy: devnexen
priority: normal
pull_requests: 29459
severity: normal
status: open
title: posix._fcopyfile flags
New submission from David W:
This is in python2.5: zipfile.py SVN rev-56308
When testing a zipfile.Zipfile().read() with a password protected zip
file, I would continually get exceptions. So I tracked this down to
line 796-797:
if ord(h[11]) != ((zinfo.CRC>>24)&255):
New submission from David Jessup:
In Python 2.4.4, cgi.parse_qs(qs='', strict_parsing=True) errors out:
Traceback (most recent call last):
File "", line 1, in ?
File "/usr/lib/python2.4/cgi.py", line 183, in parse_qs
for name, value in parse_qsl(qs, kee
New submission from David Bolen:
The change made to Lib/bsddb/test/test_1413192.py to clean up temporary
files causes an abort in the DB library when trying to abort an open
transaction at object destruction type - currently when the Python
interpreter exits, because the transaction log file has
New submission from David Ripton:
Python 3.0a1, Gentoo Linux x86, with OpenSSL 0.9.8e installed.
$ ./configure; make
Failed to find the necessary bits to build these modules:
_sha256 _sha512
To find the necessary bits, look in setup.py in detect_modules() for the
module's
New submission from David Ripton:
The hashlib module seems not to work at all:
$ python3.0
Python 3.0a1 (py3k, Sep 5 2007, 08:17:11)
[GCC 4.1.2 (Gentoo 4.1.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
David Ripton added the comment:
Yes, the fix works for me. Thanks.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1117>
__
___
Python-bugs-list mailing list
New submission from David Ripton:
Gentoo Linux, x86, Python 3.0a
I did a vanilla "./configure; make; make test; make altinstall" build.
The following files were created in /usr/local/bin:
-rwxr-xr-x 1 root root 18036 Sep 6 17:49 smtpd.py
-rwxr-xr-x 1 root root 81 Sep 6 1
New submission from David Binger:
>>> parser.sequence2st(parser.suite("class A(object): pass").tolist())
Traceback (most recent call last):
File "", line 1, in
parser.ParserError: Expected node type 326, got 329.
---
The Grammar in python 3 uses "arglis
New submission from David Ripton:
CentOS Linux 5, Python 2.4.3 (but code appears unchanged in 2.5 and
trunk, so I don't believe this bug has already been fixed)
We have an xmlrpc server that subclasses DocXMLRPCServer.DocXMLRPCServer
and SocketServer.ForkingMixIn. Under load, it some
New submission from David Kågedal:
When moving from Python 2.4 to Python 2.5, my program stopped working on
win32 because of a change in os.path.exists. I couldn't find any
description of the change, so I can only assume it's a bug.
The os.devnul variable contains the name of the
David Kågedal added the comment:
It's called os.devnull, and nothing else.
--
title: os.path.exists(os.devnul) regression on windows ->
os.path.exists(os.devnull) regression on windows
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pyt
David Kågedal added the comment:
I tried it on two different machines, and got two different answers:
conan$ /cygdrive/c/Python25/python -c 'import os.path; print
os.path.exists("nul")'
False
conan$ /cygdrive/c/Python24/python -c 'import os.path; print
os.path.ex
David Ripton added the comment:
No signal handler. Yes, we run subprocesses.
I don't believe either is necessary to trigger the race condition, though.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python
New submission from David Barlow:
Version 2.5.1.
I'm trying to install Python on 32bit Vista Business. When I run the
MSI file it proceeds smoothly (well, apart from offering to install
to "c:\python..." instead of "c:\program files\python..."), and then
starts the
Changes by David Barlow:
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1430>
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mai
David Binger added the comment:
The one line patch below makes
"import parser; parser.sequence2st(parser.suite("class A(object):
pass").tolist())"
work. It puts the parsermodule's validation back in sync
with the Python3 grammar for this rule of the grammar.
This bug
David Binger added the comment:
Okay, here is the whole thing with a unittest that exposes the problem.
Index: Lib/test/test_parser.py
===
--- Lib/test/test_parser.py (revision 58984)
+++ Lib/test/test_parser.py (working
New submission from David Binger:
TCP_NODELAY and some constants are not present in the socket module.
I think maybe "#include " should appear somewhere,
perhaps at the top of socketmodule.c?
(This is on OS X 10.5.1 with py3k revision 59215).
--
components: Library (Lib),
Changes by David Watson :
--
nosy: +baikie
___
Python tracker
<http://bugs.python.org/issue12958>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Lam added the comment:
Hi hi, noob here. I found this today after clicking 'Easy issues' link.
Would something like this work? test_mailbox.py seems to pass. However, I'm
not too sure what more needs to be done in the _explain_to. It seems like
everything to conver
David Lam added the comment:
Hm, it seems right now that the only time that happens is when creating a
message based on an mbox message. The 'status' and 'x-status' attributes are
deleted.
Any hints on what I could to do figure out what special attributes should be
dele
David Watson added the comment:
I had a look at this patch, and the FD passing looked OK, except
that calculating the buffer size with CMSG_SPACE() may allow more
than one file descriptor to be received, with the extra one going
unnoticed - it should use CMSG_LEN() instead (the existing C
David Watson added the comment:
For reference, the warnings are partially explained here:
http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Optimize-Options.html#index-fstrict_002daliasing-825
http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Warning-Options.html#index-Wstrict_002daliasing-337
I get
Changes by David Watson :
Added file: http://bugs.python.org/file23187/socket-aliasing-union-3.2.diff
___
Python tracker
<http://bugs.python.org/issue8623>
___
___
Pytho
Changes by David Watson :
Added file: http://bugs.python.org/file23188/socket-aliasing-union-3.3.diff
___
Python tracker
<http://bugs.python.org/issue8623>
___
___
Pytho
Changes by David Watson :
--
nosy: +baikie
___
Python tracker
<http://bugs.python.org/issue13001>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Lam added the comment:
This patch deletes the leftover special attributes.
Thanks for guiding me through my confusion and/or cluelessness!
--
keywords: +patch
Added file: http://bugs.python.org/file23191/12537.patch
___
Python tracker
<h
Changes by David Lam :
Added file:
http://bugs.python.org/file23192/12537.find.attribute.differences.patch
___
Python tracker
<http://bugs.python.org/issue12537>
___
___
David Watson added the comment:
On Sun 18 Sep 2011, Charles-François Natali wrote:
> > I had a look at this patch, and the FD passing looked OK, except
> > that calculating the buffer size with CMSG_SPACE() may allow more
> > than one file descriptor to be received, with t
New submission from David Watson :
The function _multiprocessing.recvfd() calls recvmsg() and
expects to receive a file descriptor in an SCM_RIGHTS control
message, but doesn't check that such a control message is
actually present. So if the sender sends data without an
accompanying
Changes by David Watson :
Added file: http://bugs.python.org/file23215/recvfd-skip-reduction-fix.diff
___
Python tracker
<http://bugs.python.org/issue13022>
___
___
Pytho
David Watson added the comment:
On Tue 20 Sep 2011, Charles-François Natali wrote:
> I committed the patch to catch the ImportError in test_multiprocessing.
This should go in all branches, I think - see issue #13022.
--
___
Python tracker
&l
Changes by David Andrzejewski :
--
nosy: +dandrzejewski
___
Python tracker
<http://bugs.python.org/issue8813>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Schnur added the comment:
I haven't commented since opening this issue, but I've been following along.
Regarding Marc-Andre's latest comment, I think whether to embed a manifest or
not is a separate issue. The current behavior is to embed a manifest, and so
it should
Changes by David Barnett :
--
nosy: +mu_mind
___
Python tracker
<http://bugs.python.org/issue8668>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from David Barnett :
The setup.py file currently generated by "pysetup generate-setup" fails to
import the "codecs" module, and also uses a split_multiline function from
distutils2/utils.py that's undefined in the setup script.
--
assignee: tar
David Barnett added the comment:
I'm getting this exact error when I run "python setup.py sdist", no matter what
I do. Even if I just create a new project, type "1.0.0" for version, type "a"
in all the other fields, and say "no" to every que
David Barnett added the comment:
I looked into the ConfigTestCase.test_config failure, and it looks like it just
needs the righthand edited to match the left. "package_data" lines are supposed
to allow comma-separated lists of paths on the righthand.
--
nosy
101 - 200 of 4537 matches
Mail list logo