[issue45825] Heap Segmentation Fault

2021-11-17 Thread Bill Borskey
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

[issue45825] Heap Segmentation Fault

2021-11-16 Thread Bill Borskey
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

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-09 Thread Bill Collins
Bill Collins added the comment: Confirmed, thanks! -- ___ Python tracker <https://bugs.python.org/issue43745> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-08 Thread Bill Collins
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

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Bill Collins
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

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Bill Collins
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

[issue39085] Improve docs for await expression

2020-06-29 Thread Bill Wallace
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

[issue38014] Python 3.7 does not compile

2019-09-07 Thread Bill Minasian
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

[issue37654] 2to3 no-ops on embeddable distribution

2019-07-22 Thread Bill Collins
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

[issue37641] Embeddable distribution pyc filenames show build machine location

2019-07-21 Thread Bill Collins
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

[issue26440] tarfile._FileInFile.seekable is broken in stream mode

2016-02-25 Thread Bill Lee
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

[issue26440] tarfile._FileInFile.seekable is broken in stream mode

2016-02-25 Thread Bill Lee
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

[issue25034] string.Formatter accepts empty fields but displays wrong when nested

2015-11-24 Thread Bill Tutt
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

[issue24250] Optimization for strcpy(..., "") in file 'install.c'

2015-05-20 Thread Bill Parker
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

[issue23860] Failure to check return value from lseek() in Modules/mmapmodule.c

2015-04-09 Thread Bill Parker
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

[issue23878] Missing sanity checks for various C library function calls...

2015-04-06 Thread Bill Parker
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

[issue23878] Missing sanity checks for various C library function calls...

2015-04-06 Thread Bill Parker
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

[issue23878] Missing sanity checks for various C library function calls...

2015-04-06 Thread Bill Parker
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

[issue23855] Missing Sanity Check for malloc() in PC/_msi.c

2015-04-06 Thread Bill Parker
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

[issue23860] Failure to check return value from lseek() in Modules/mmapmodule.c

2015-04-04 Thread Bill Parker
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

[issue23860] Failure to check return value from lseek() in Modules/mmapmodule.c

2015-04-03 Thread Bill Parker
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): -

[issue23855] Missing Sanity Check for malloc() in PC/_msi.c

2015-04-02 Thread Bill Parker
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

[issue21378] ImportError: No module named 'concurrent.futures'

2014-04-29 Thread Bill Bergmann
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

[issue21378] ImportError: No module named 'concurrent.futures'

2014-04-28 Thread Bill Bergmann
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

[issue21212] Documentation of octal representation

2014-04-14 Thread Bill
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

[issue20559] urllib/http fail to sanitize a non-ascii url

2014-02-07 Thread Bill Winslow
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

[issue20559] urllib/http fail to sanitize a non-ascii url

2014-02-07 Thread Bill Winslow
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

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-25 Thread Bill Winslow
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

[issue17748] Condition.wait timeout can't be set to more than 50 ms

2013-10-09 Thread Bill Sobel
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

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-07-31 Thread Bill Gale
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

[issue17432] PyUnicode_ functions not accessible in Limited API on Windows

2013-03-15 Thread Bill Dirks
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&#

[issue17432] PyUnicode_ functions not accessible in Limited API on Windows

2013-03-15 Thread Bill Dirks
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

[issue14542] reverse() doesn't reverse sort correctly

2012-04-11 Thread Bill Jefferson
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

[issue14542] reverse() doesn't reverse sort correctly

2012-04-11 Thread Bill Jefferson
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

[issue14542] reverse() doesn't reverse sort correctly

2012-04-10 Thread Bill Jefferson
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

[issue14434] Tutorial link in "help()" in 3.2.2

2012-03-28 Thread Bill Winslow
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

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2012-01-02 Thread Bill Janssen
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

[issue13382] completions in IDLE

2011-11-10 Thread Bill Meng
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

[issue6560] socket sendmsg(), recvmsg() methods

2011-09-12 Thread Bill Janssen
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

[issue6560] socket sendmsg(), recvmsg() methods

2011-09-02 Thread Bill Janssen
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

[issue12765] test_packaging failure under Snow Leopard

2011-08-31 Thread Bill Janssen
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. > >

[issue7936] sys.argv contains only scriptname

2011-01-13 Thread Bill Hayes
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

[issue10629] Arbitrary precision

2010-12-05 Thread Bill McEachen
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."

[issue10217] python-2.7.amd64.msi install fails

2010-11-07 Thread Bill Barrett
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

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Bill Janssen
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

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Bill Janssen
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

[issue8845] Expose sqlite3 connection inTransaction as read-only in_transaction attribute

2010-10-16 Thread Bill Janssen
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

[issue9961] Identity Crisis! variable assignment using strftime fails comparison test.

2010-09-28 Thread Bill Hawkes
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

[issue9961] Identity Crisis! variable assignment using strftime fails comparison test.

2010-09-27 Thread Bill Hawkes
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

[issue7936] sys.argv contains only scriptname

2010-09-14 Thread Bill Hayes
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

[issue9667] NetBSD curses KEY_* constants

2010-08-24 Thread Bill Green
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

[issue9455] platform test borked in 2.7 branch on Power PC

2010-08-02 Thread Bill Janssen
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

[issue9455] platform test borked in 2.7 branch on Power PC

2010-08-02 Thread Bill Janssen
Bill Janssen added the comment: This is on a PowerPC machine running Leopard: >>> os.uname()[4] 'Power Macintosh' >>> -- ___ Python tracker <h

[issue9455] platform test borked in 2.7 branch on Power PC

2010-08-02 Thread Bill Janssen
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"

[issue8447] buildbot: test_httpservers failure (No module named operator)

2010-06-26 Thread Bill Janssen
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

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-06-26 Thread Bill Janssen
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

[issue9048] no OS X buildbots in the stable list

2010-06-23 Thread Bill Janssen
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

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-06-21 Thread Bill Janssen
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

[issue9052] 2.7rc2 fails test_urllib_localnet tests on OS X

2010-06-21 Thread Bill Janssen
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

[issue9048] no OS X buildbots in the stable list

2010-06-21 Thread Bill Janssen
Changes by Bill Janssen : -- components: +None keywords: +buildbot versions: -Python 2.7 ___ Python tracker <http://bugs.python.org/issue9048> ___ ___ Python-bug

[issue9048] no OS X buildbots in the stable list

2010-06-21 Thread Bill Janssen
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

[issue9015] array.array.tofile cannot write arrays of sizes > 4GB, even compiled for amd64

2010-06-16 Thread Bill Steinmetz
Bill Steinmetz added the comment: Looks like the issue is Microsoft's fwrite -- ___ Python tracker <http://bugs.python.org/issue9015> ___ ___ Python-bugs-l

[issue9015] array.array.tofile cannot write arrays of sizes > 4GB, even compiled for amd64

2010-06-16 Thread Bill Steinmetz
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

[issue8446] buildbot: DeprecationWarning not raised for icglue (test_py3kwarn.TestStdlibRemovals)

2010-05-23 Thread Bill Janssen
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

[issue8716] test_tk fails on OS X if run from buildbot slave daemon -- crashes Python

2010-05-14 Thread Bill Janssen
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

[issue8716] test_tk fails on OS X if run from buildbot slave daemon -- crashes Python

2010-05-14 Thread Bill Janssen
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(),

[issue8716] test_tk fails on OS X if run from buildbot slave daemon -- crashes Python

2010-05-14 Thread Bill Janssen
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

[issue8552] msilib can't create large CAB files

2010-04-29 Thread Bill Janssen
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

[issue8552] msilib can't create large CAB files

2010-04-29 Thread Bill Janssen
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

[issue8552] msilib can't create large CAB files

2010-04-28 Thread Bill Janssen
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_

[issue8552] msilib can't create large CAB files

2010-04-28 Thread Bill Janssen
Changes by Bill Janssen : Removed file: http://bugs.python.org/file17118/unnamed ___ Python tracker <http://bugs.python.org/issue8552> ___ ___ Python-bugs-list mailin

[issue8552] msilib can't create large CAB files

2010-04-28 Thread Bill Janssen
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

[issue8554] suspicious comment in msilib.py/__init__.py

2010-04-27 Thread Bill Janssen
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

[issue8552] msilib can't create large CAB files

2010-04-27 Thread Bill Janssen
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

[issue8552] msilib can't create large CAB files

2010-04-27 Thread Bill Janssen
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

[issue8552] msilib can't create large CAB files

2010-04-27 Thread Bill Janssen
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.

[issue3216] Scarce msilib documentation

2010-04-27 Thread Bill Janssen
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

[issue8526] msilib doesn't support multiple CAB instances in same installer

2010-04-25 Thread Bill Janssen
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

[issue8526] msilib doesn't support multiple CAB instances in same installer

2010-04-24 Thread Bill Janssen
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)])

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2010-04-23 Thread Bill Janssen
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

[issue7639] bdist_msi fails on files with long names

2010-04-23 Thread Bill Janssen
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

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2010-04-23 Thread Bill Janssen
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

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-25 Thread Bill Janssen
Bill Janssen added the comment: Looks like a good idea. -- ___ Python tracker <http://bugs.python.org/issue8222> ___ ___ Python-bugs-list mailing list Unsub

[issue2445] Use The CygwinCCompiler Under Cygwin

2010-03-18 Thread Bill Janssen
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). --

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Bill Janssen
Bill Janssen added the comment: My bad. Adding --compiler=mingw32 eliminates this error. -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Bill Janssen
Bill Janssen added the comment: Re-opening. -- keywords: +26backport priority: high -> normal resolution: invalid -> status: closed -> open ___ Python tracker <http://bugs.python.o

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Bill Janssen
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

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-14 Thread Bill Janssen
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

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-14 Thread Bill Janssen
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

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-14 Thread Bill Janssen
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

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-12 Thread Bill Janssen
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

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-12 Thread Bill Janssen
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&#x

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-12 Thread Bill Janssen
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

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-12 Thread Bill Janssen
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

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-12 Thread Bill Janssen
Bill Janssen added the comment: Victor, I'll take a look. -- ___ Python tracker <http://bugs.python.org/issue8108> ___ ___ Python-bugs-list mailing list

[issue7722] calendar.{HTMLCalendar, TextCalendar}.formatyear have incorrect definition

2010-01-16 Thread Bill Thiede
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

[issue7672] _ssl module causes segfault

2010-01-12 Thread Bill Janssen
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

[issue7428] Possible memory issue with optparse

2009-12-03 Thread Bill Spotz
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

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2009-09-30 Thread Bill Janssen
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

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2009-09-29 Thread Bill Janssen
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   2   3   4   >