Bill Borskey added the comment:
No worries. I find bugs in my day job, thought this might be a useful segfault
but it segfaults because it’s incrementing that reference count on the pyobj
that don’t exist. So pretty lame. I did spend an hour tracking it down so I
thought I’d let y’all know
New submission from Bill Borskey :
Dereferencing a python object that does not exist through ctypes caused a
segfault in pymalloc_alloc.
rdi: 0x0006 rsi: 0x0006
0 org.python.python 0x0001081ee277 pymalloc_alloc + 74
1 org.python.python
Bill Collins added the comment:
Confirmed, thanks!
--
___
Python tracker
<https://bugs.python.org/issue43745>
___
___
Python-bugs-list mailing list
Unsubscribe:
Bill Collins added the comment:
The embeddable dists for 3.9.4 have updated, but the 3.8.9 packages are still
showing the builds from April 2nd.
--
___
Python tracker
<https://bugs.python.org/issue43
Bill Collins added the comment:
Thanks for the quick action on this!
I've downloaded the new 3.8.9/3.9.4 installers, but they are unable to run over
my existing 3.8.9/3.9.4 installs; "Unable to install python 3.9.4 (64-bit) due
to an existing install." This is probably fin
New submission from Bill Collins :
>>> import sys,ssl
>>> sys.version
'3.9.4 (tags/v3.9.4:1f2e308, Apr 4 2021, 13:27:16) [MSC v.1928 64 bit (AMD64)]'
>>> ssl.OPENSSL_VERSION
'OpenSSL 1.1.1i 8 Dec 2020'
I may well be holding it wrong, but somet
Bill Wallace added the comment:
There are a few other places on the documentation that are imprecise or
misleading for await. While the information needed is scattered around the
docs, I think these can also be improved. I'm pretty sure these fit with this
issue.
Developing with as
Bill Minasian added the comment:
Under OSX 10.15 beta and Xcode 11.0 beta the following does not work:
./configure --enable-framework
DYLD_FRAMEWORK_PATH=/Users/bill/cpython ./python.exe -E -S -m sysconfig
--generate-posix-vars ;\
if test $? -ne 0 ; then \
echo
New submission from Bill Collins :
Firstly, I'd acknowledge that expecting 2to3 to work on the embeddable
distribution might be the problem, but the mode of failure is silent and
delayed.
The problem is that 2to3 loads fix names by searching for files in a package
that end in '.p
New submission from Bill Collins :
pyc files within the embeddable zip are compiled with their filename as the
temporary directory in which they are compiled. Thus, stack traces will appear
as (e.g.) D:\obj\windows-release\37win32_Release\msi_python\zip_win32\image.py,
which is a little
Bill Lee added the comment:
I posted an incomplete traceback by mistake. Here is the whole traceback.
Traceback
=
Traceback (most recent call last):
File "seekable.py", line 5, in
print(contentFile.seekable())
File "/usr/local/lib/python3.5/tarfile.py", l
New submission from Bill Lee:
Description
===
With a file object, retrieved by the `extractfile` method of a TarFile object
opened in stream mode, calling its `seekable` method will raise an
AttributeError.
How to Reproduce
cat > seekable.py << EOF
import s
Bill Tutt added the comment:
I don't suppose this change could make it into 2.7.11 as well?
Thanks,
Bill
--
nosy: +Bill Tutt
___
Python tracker
<http://bugs.python.org/is
New submission from Bill Parker:
In reviewing calls to strcpy(, ""), I found three instances which could
be re-written as * = '\0'; which would save the minor overhead of a
function call. The patch file is below:
--- install.c.orig 2015-05-20 14:11:27.723397005
Bill Parker added the comment:
At the moment, I'm not sure if it's needed or not, but if it's only an
issue with XP, then it might not be worth fixing...:)
On Thu, Apr 9, 2015 at 1:35 PM, STINNER Victor
wrote:
>
> STINNER Victor added the comment:
>
> > /* Win9
Bill Parker added the comment:
Per Ned Deily, I did send 'ffi.c.patch' to the guys upstream at:
https://sourceware.org/libffi/
So hopefully they can review and fix it in the next release :)...
Given that Python is spread out, perhaps when a component is selected, it could
disp
Bill Parker added the comment:
Addition of file 'ffi.c.patch'...
--
Added file: http://bugs.python.org/file38849/ffi.c.patch
___
Python tracker
<http://bugs.python.o
New submission from Bill Parker:
Hello All,
In reviewing code for Python-3.4.3 in directory
'Modules/_ctypes/libffi/src/arm', file 'ffi.c', I found a pair
of calls to calloc() which do not test for a return value
of NULL, indicating failure. The patch file below
Bill Parker added the comment:
In directory 'PC', file '_msi.c', I found another call to
malloc() which was not checked for a return value of NULL
which would indicate failure. The new patch file is below:
--- _msi.c.orig 2015-04-02 15:01:02.882326352 -0700
+++ _msi.c
Bill Parker added the comment:
I would check 23855 as well, since the malloc() missing a sanity check,
which could be a more serious issue ..
On Sat, Apr 4, 2015 at 1:32 AM, Berker Peksag
wrote:
>
> Berker Peksag added the comment:
>
> Thanks for the patch, Bill. If you wan
New submission from Bill Parker:
Hello All,
In reviewing code in directory Python-3.4.3/Modules, file
'mmapmodule', I found a call to 'lseek()' without a check for
a return value of -1, indicating failure. The patch file below
corrects this issue (diff -u format):
-
New submission from Bill Parker:
Hello All,
In reviewing code in Python-3.4.3/PC/_msi.c, I found a call to malloc() at
line 326 in function 'static PyObject* msierror(int status)' in which the call
is made and assigned to variable 'res', but no check for NULL, indicat
Bill Bergmann added the comment:
Thank you for your response. The program works as expected.
I removed PYTHONPATH settings for 3.4 and 2.7. I'm not sure how those settings
were written. I suspect something related to virtualenv, and I will be watching
to see if they are written again.
W
New submission from Bill Bergmann:
python 3.4 attempting to run example at
https://docs.python.org/3/library/concurrent.futures.html
17.4.2.1
$ python3 17_4_2.py
Traceback (most recent call last):
File "", line 2195, in _find_and_load_unlocked
AttributeError: 'module
New submission from Bill:
This documentation section:
https://docs.python.org/3/faq/programming.html?highlight=octal#how-do-i-convert-a-string-to-a-number
seems still to refer to Python 2 octal representation rules. So I think it
needs updating.
--
assignee: docs@python
components
Bill Winslow added the comment:
Follow up -- I need to use urllib.parse.quote to safely encode a url -- though
if I may be so bold, I submit that since much of the goal of Python 3 was to
make unicode "just work", I the (stupid) user shouldn't have to remember to
safely enco
New submission from Bill Winslow:
The following code will produce a UnicodeEncodeError about a character being
non-ascii:
from urllib import request, parse, error
url = 'http://en.wikipedia.org/wiki/Antonio Vallejo-Nájera'
req = request.Request(url)
response = reque
Bill Winslow added the comment:
I've stumbled upon what appears to be a related issue, but I'm not sure it
deserves its own bug report.
I compiled 3.4 on my LMDE (so essentially Debian testing) system, and aside
from not building tkinter, various compression modules, etc., all we
Bill Sobel added the comment:
I'd like to suggest a easy fix here (I saw this was closed, but the posters
were asking for a behavior change). With this fix there is no behavior change
to callers or new parameters to the API.
if remaining >= 4.0:
maxDelay = 1
else:
maxDel
Bill Gale added the comment:
so i hit the same exception, here is how i solved it.
environment:
windows 7 enterprise 64 bit
python 2.7.5 64 bit
visual studio 2008 32 bit
issue:
pip installs failed with the above exception.
solution:
there are two parts.
1. install 64 bit components to vs2008
Bill Dirks added the comment:
A great number of PyUnicode functions are already added to the Limited API.
That is, the declarations are outside of #ifndef Py_LIMITED_API guards in the
header files, and the symbols are included in python3.lib and exported from
python3.dll. (in 3.3.0)
Can
New submission from Bill Dirks:
This issue was discovered in 3.3.0 on Windows. Haven't looked at other versions.
Using the Limited API, the PyUnicode_Xxxx() functions are not accessible. A
simple demonstration of the problem:
HMODULE p3 = ::LoadLibraryA("C:\\Python33\\DLLs\\p
Bill Jefferson added the comment:
Mark and Eric..
Wonderful! I got it now. I used x.sort(reverse=True) and
x.sort(reverse=False) and it works just fine. Thanks for your help.
Bill..
Regards from:
William Jefferson Photography
514 Daniels St., #211
Raleigh, NC 27605
Cell Phone
Bill Jefferson added the comment:
Eric.
Thanks for answering, but I don't understand the difference between "reversing
a list" and "reversing it's current values". If I have a list containing
elements: A, B, C, D and reverse the list's current values, I
New submission from Bill Jefferson :
reverse() doesn't reverse sort correctly in Python 25 and 27. sort() works
correctly, but reverse doesn't. The following uses reverse(). Incorrect. Even
though the date comes first, reverse() sorts on the file name,
"B57IBMCD_T.z
New submission from Bill Winslow :
I installed "python3" to get into a good scripting language.
I ran "python3" and it said type "help". I did and it said type "help()" for
interactive help, or "help(object)" for specific help. Just looking to
Bill Janssen added the comment:
Actually, when using setup.py with MinGW, you just need to say the right thing:
% python setup.py build --compiler=mingw32 install
That removes the check for vcvarsall.bat.
Bill
On Mon, Jan 2, 2012 at 6:19 AM, Piotr Dobrogost wrote:
>
> Piotr Dob
New submission from Bill Meng :
I'm running Python 2.7 on a Mac OS 10.4
When I select Edit/completions from the menu, only the first 10 appear with a
slider to the right. But the slider does not move to see the rest of the list.
--
components: IDLE
messages: 147414
nosy: cpat
pri
Bill Janssen added the comment:
I'm guessing these things are due to interaction with some Apple
security update, as the buildbots were working well 8 months ago.
Bill
On Wed, Sep 7, 2011 at 4:01 PM, Nick Coghlan wrote:
>
> Nick Coghlan added the comment:
>
> If Bill
Bill Janssen added the comment:
I'll take a look at this next week, when I'm more on-line again.
Bill
2011/8/25 Charles-François Natali :
>
> Charles-François Natali added the comment:
>
>> The OS X buildbots show some failures:
>
> It seems to fail consistentl
Bill Janssen added the comment:
I'm on vacation right now and can't get to it...
Bill
On Thu, Aug 18, 2011 at 12:22 PM, Antoine Pitrou wrote:
>
> Antoine Pitrou added the comment:
>
> Bill is the owner of that buildbot.
>
>
Bill Hayes added the comment:
I finally found a solution from a page on StackOverflow.
I had to add the two characters %*
to the end of the Data value for the Windows registry key:
HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command
So the Data value is now:
"C:\Pyt
New submission from Bill McEachen :
from this link [http://en.wikipedia.org/wiki/PARI/GP#Usage_examples], I wanted
to contrast arbitrary precision with the other pgm I use, Pari/GP. I tried the
xample there which was:
123456! + 0.
Now, behavior seems the same without the "+0."
Bill Barrett added the comment:
Same problem here. I also tried command line launch and get the same warning
dialog as I got by clicking Firefox Download. My install "seems" to basically
work however. I used Task Manager to kill the Install Application to avoid
unrolling the in
Bill Janssen added the comment:
Then we need to revert this patch and find one that works.
--
resolution: fixed ->
___
Python tracker
<http://bugs.python.org/iss
Bill Janssen added the comment:
Broke bunches of 2.7 buildbots. But why are we running test_ntpath on OS X,
anyway? Shouldn't this be skipped everywhere except win32 platforms?
--
nosy: +janssen
___
Python tracker
<http://bugs.py
Bill Janssen added the comment:
PPC Tiger is using Python 2.7, so it's 3.6.11.
Python 3.X also seems to be failing the sqlite tests on PPC Leopard. Is the
required version # different between 3.1 and 3.x?
--
___
Python tracker
Bill Hawkes added the comment:
Yes, it is working now. Thanks for the timely response.
In looking at the tutorial, the only "strings" used with boolean operators ("<"
| ">" | "==" | ">=" | "<=" | "!=") were s
New submission from Bill Hawkes :
See below. When variable assignment is used with strftime for the day of the
week, it fails comparison checks for the days of the week. Even when using the
str() function it still fails. Manual entry of variable assignment is required
for a successful
Bill Hayes added the comment:
I found this page while encountering the same problem (only one argument, the
scriptname, being passed in from the command line), and wanted to post the
following workaround. I'm running Vista and using Python 2.6.
In summary I had to have 'pyth
New submission from Bill Green :
_cursesmodule.c provides a list of constants, prefixed with KEY_, corresponding
to special keys (KEY_DOWN, KEY_LEFT, KEY_BACKSPACE, etc.). A portion of the
function init_curses, which implements these, is #defined out on NetBSD (at
line 2860 in Python 2.7
Bill Janssen added the comment:
So the problem is in the _mac_ver_xml() routine in Lib/platform.py, which says:
machine = os.uname()[4]
if machine == 'ppc':
# for compatibility with the gestalt based code
machine = 'PowerPC'
and perhaps shou
Bill Janssen added the comment:
This is on a PowerPC machine running Leopard:
>>> os.uname()[4]
'Power Macintosh'
>>>
--
___
Python tracker
<h
New submission from Bill Janssen :
Looks like some test borked the 2.7 tests on the buildbots. Here's the
offending test:
test test_platform failed -- Traceback (most recent call last):
File
"/Users/buildbot/buildarea/2.7.parc-leopard-1/build/Lib/test/test_platform.py"
Bill Janssen added the comment:
Failing on my PPC Tiger OS X buildbot, with 2.6, too.
--
nosy: +janssen
versions: +Python 2.6
___
Python tracker
<http://bugs.python.org/issue8
Bill Janssen added the comment:
Stefan, I tried your suggestion of starting threading. Test still succeeds on
my 10.5.8 system when test_uuid is run separately.
Ronald, your fix works on my 10.5.8 system. Why not check it in, and let's see
if the buildbots turn green
Bill Janssen added the comment:
Bit of a chicken/egg issue here. Since we haven't had OS X buildbots for very
long, and the ones we do have represent odd configurations, I think it's
premature to say that "the port *doesn't* pass the test suite on
a regular manner&quo
Bill Janssen added the comment:
This is on an Intel machine running OS X 10.5.8. I downloaded and built 2.7rc2
from source with "./configure ; make". I then ran the tests with "make test".
test_uuid fails with this output:
test test_uuid failed -- Traceback (m
New submission from Bill Janssen :
% ./python.exe -Wd -3 -E -tt ./Lib/test/regrtest.py -v test_urllib2_localnet
== CPython 2.7rc2 (r27rc2:82137, Jun 21 2010, 12:50:22) [GCC 4.0.1 (Apple Inc.
build 5493)]
== Darwin-9.8.0-i386-32bit little-endian
== /private/tmp/Python-2.7rc2/build
Changes by Bill Janssen :
--
components: +None
keywords: +buildbot
versions: -Python 2.7
___
Python tracker
<http://bugs.python.org/issue9048>
___
___
Python-bug
New submission from Bill Janssen :
Considering the number of OS X machines running Python programs, it would be
good idea to get this platform into the "stable" list of buildbots so that
releases are checked against it.
--
messages: 108302
nosy: janssen
priority: norma
Bill Steinmetz added the comment:
Looks like the issue is Microsoft's fwrite
--
___
Python tracker
<http://bugs.python.org/issue9015>
___
___
Python-bugs-l
New submission from Bill Steinmetz :
Here's my Python version info:
Python 2.6.5 (r265:79096, Mar 19 2010, 18:02:59) [MSC v.1500 64 bit (AMD64)] on
win32
Here's my code that won't return (Start with a file > 4GB "hugefile.bin"):
siz = (1<<32)
print "ma
Bill Janssen added the comment:
Not sure I understand this patch. Either the icglue module is removed in
python 3, in which case it should raise the deprecation warning, or it is not,
in which case it should be removed from the list of modules checked in
test_py3kwarn. Shouldn't the
Bill Janssen added the comment:
It's fairly easy to create a restricted process tree for testing. ssh into a
Mac which has no one logged into the console, from another machine, and use
that connection to launch an xterm or Xemacs window to the other machine. Then
log out of the ssh se
Bill Janssen added the comment:
[More info from Ronald Oussoren]
This is a bug in Tk:
>>> root = Tkinter.Tk()
Thu May 13 20:45:13 Rivendell.local python[84887] : kCGErrorFailure: Set
a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
_RegisterApplication(),
New submission from Bill Janssen :
test_tk fails on OS X if test is run from a daemon process without the
privilege to access the window server, say a buildbot slave without anyone
logged in to the console. The Tk support needs to check whether it has access
rights to the window server
Bill Janssen added the comment:
Ah, found the size problem -- I was measuring something in 512 blocks not 1KB
blocks. Never mind.
--
___
Python tracker
<http://bugs.python.org/issue8
Bill Janssen added the comment:
Another bit of info. It's the frequent commits that seem to fix the problem;
when I comment those out of the __del__ method, it fails as before. I also
notice that the finished installer is about twice the size of the two data
files in it (the CAB fil
Bill Janssen added the comment:
I've now been able to build my installer.
I applied Travis Oliphant's patch from http://bugs.python.org/issue2399 to
Lib/msilib/__init__.py, then added a __del__ method to the Directory class:
def __del__(self):
if self._numfiles_wo_
Changes by Bill Janssen :
Removed file: http://bugs.python.org/file17118/unnamed
___
Python tracker
<http://bugs.python.org/issue8552>
___
___
Python-bugs-list mailin
Bill Janssen added the comment:
Yes, I've tried that. No joy. Right now I'm trying an approach which
packages each top-level directory as a separate cab.
What I'm finding is that if I get up around 4200 files, it breaks,
regardless of the file sizes. Out of curiosity, how ma
New submission from Bill Janssen :
Take a look at the first line of make_id(). What does that comment mean? Is
the wrong line commented out?
def make_id(str, add_num=True):
#str = str.replace(".", "_") # colons are allowed
--
components: Library (Lib), Wind
Bill Janssen added the comment:
So, I subclassed msilib.CAB, and re-wrote commit() so that the CAB file is
created in a different process, a la Tools/msi/msilib.py. Still have the same
problem, though. So now I'm thinking it's not a memory problem, but I'm
wondering if th
Bill Janssen added the comment:
Ummm, just in case the packager wanted to.
In my case, I was putting the files which were registered as part of the
installation in one CAB file, and another set of temporary files which were
used by some of the installation scripts, but not part of the
New submission from Bill Janssen :
I'm trying to create a CAB file containing about 69MB of data, in 4555 files.
msilib fails in CAB.commit():
$ python build-msi-installer.py /c/UpLib/1.7.9 ~/uplib 1.7.9 ./uplib-1.7.9.msi
c:\Documents and Settings\wjanssen\uplib\win32\uplib-1.7.
Bill Janssen added the comment:
Here's another one:
class Directory shows an extra arg, "component", which isn't in the code.
--
nosy: +janssen
___
Python tracker
<http://bu
Bill Janssen added the comment:
I'm certainly using the API provided by msilib, but perhaps I'm using it badly.
Which API did you have in mind? I'm using msilib directly, not through
bdist_msi.
This seems like an artificial limitation to put on the Python library; the
st
New submission from Bill Janssen :
Working with Python 2.6.5, I find I cannot put multiple CABs in the same
installer. This is due to this statement in msilib.CAB.commit():
add_data(db, "Media",
[(1, self.index, None, "#"+self.name, None, None)])
Bill Janssen added the comment:
Here's how Microsoft does it: http://support.microsoft.com/kb/142982/en-us
--
___
Python tracker
<http://bugs.python.org/i
Bill Janssen added the comment:
This looks a lot like bug 1128, too. I think the patch there would also fix
this one.
--
nosy: +janssen
___
Python tracker
<http://bugs.python.org/issue7
Bill Janssen added the comment:
So what happens if the original file name is something like "foo~1.txt"?
Couldn't there be a name collision?
--
nosy: +janssen
___
Python tracker
<http://bugs.py
Bill Janssen added the comment:
Looks like a good idea.
--
___
Python tracker
<http://bugs.python.org/issue8222>
___
___
Python-bugs-list mailing list
Unsub
Bill Janssen added the comment:
Shouldn't the import library name end with .lib? I've run up against this
building PyLucene with MinGW. There seems to be code to figure this out
already in CygwinCCompiler, but it's commented out (and arguably incomplete).
--
Bill Janssen added the comment:
My bad. Adding --compiler=mingw32 eliminates this error.
--
resolution: -> rejected
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Bill Janssen added the comment:
Re-opening.
--
keywords: +26backport
priority: high -> normal
resolution: invalid ->
status: closed -> open
___
Python tracker
<http://bugs.python.o
Bill Janssen added the comment:
I'm seeing this on Python 2.6.4 on Windows XP with the latest MinGW/msys.
--
nosy: +janssen
___
Python tracker
<http://bugs.python.org/i
Bill Janssen added the comment:
>> Depends on what we want. It just suppresses information that's now
>> available. What we'd really like is for the caller to recognize that
>> close() can fail, and should be re-tried if it does. That requires
>> that we s
Bill Janssen added the comment:
> Maybe because only the FTP test uses an SSL socket in non blocking mode.
No, the SSL unit tests also do this. I think Giampaolo is right, what we're
seeing is bad error handling in the FTP t
Bill Janssen added the comment:
> AFAICT, his proposed "quick fix" snippet should be good enough for us.
Depends on what we want. It just suppresses information that's now available.
What we'd really like is for the caller to recognize that close() can fail, and
s
Bill Janssen added the comment:
And it would be interesting to know why all the SSL module tests don't fail in
the same way.
--
___
Python tracker
<http://bugs.python.org/i
Bill Janssen added the comment:
I think Giampaolo is right about this not being an ssl.py issue. Could the
exception handling in ftp.py perhaps also be made more sophisticated? I'd
really love to understand what the state of the TCP connection is here. I'm
presuming that it
Bill Janssen added the comment:
Looking at this further, what we're seeing is the trace of an ineffective
attempt to handle an exception presumably raised from the FTP code. Can we see
that exception? What's the actual state of the TCP connection at
Bill Janssen added the comment:
What's happening is that the new state returns from SSL_shutdown() are saying,
"the shutdown you asked for didn't happen this time, but call me again when you
get a chance. And here is a hint about why it didn't happen, so that if you
are
Bill Janssen added the comment:
Victor, I'll take a look.
--
___
Python tracker
<http://bugs.python.org/issue8108>
___
___
Python-bugs-list mailing list
New submission from Bill Thiede :
The documentation for both HTMLCalendar and TextCalendar from the calendar
module have formatyear defined as:
TextCalendar.formatyear(theyear, themonth[, w[, l[, c[, m)
and
HTMLCalendar. formatyear(theyear, themonth[, width])
However the function
Bill Janssen added the comment:
Martin, I'm thinking that the module object has a __del__ method, and we could
un-register the callbacks there. But I don't know if that method would ever
get called. How does the act of "unloading a library" interact with the
initialize
New submission from Bill Spotz :
I develop python extension modules for Trilinos, a large scientific
computing project:
http://trilinos.sandia.gov
Unit testing my extension modules under Mac OS X, I came across the
following error messages after upgrading from gcc 4.0 to basically any
Bill Janssen added the comment:
On Tue, Sep 29, 2009 at 12:47 PM, Giampaolo Rodola'
wrote:
>
> Giampaolo Rodola' added the comment:
>
> Uhm... I'm sorry but actually I'm not sure about this patch anymore.
> Now that I look at ssl.py again I'm noticing t
Bill Janssen added the comment:
I wonder if there is any way to test this, aside from the tests that
are already in the test suite? The bug here is that the code effectively
does a blocking read on a non-blocking socket, and we can't tell the
difference. The fact that this patch passe
1 - 100 of 381 matches
Mail list logo