[issue2539] Windows Registry issue with 2.5.2 AMD64 msi

2008-04-02 Thread Jason
New submission from Jason <[EMAIL PROTECTED]>: I have tried multiple times and even checking manually, but the Python 2.5.2 AMD64 msi installer does not register Python correctly, or it doesn't enter it into the registry correctly. I'm not sure. I install it after uninstalli

[issue2539] Windows Registry issue with 2.5.2 AMD64 msi

2008-04-03 Thread Jason
Jason <[EMAIL PROTECTED]> added the comment: I did a per-machine installation (Install for all users). I don't have the registry information at the moment, but I'll do some more uninstalling and reinstalling and get that information to you. Martin v. Löwis wrote: > Mart

[issue34238] When BROWSER is set on Mac webbrowser.register_standard_browsers doesn't work

2018-12-18 Thread Jason
Jason added the comment: Yes, it does. I haven't tried that code, but it looks similar to a fix I implemented locally. Jason O'Gray On Sun, Dec 2, 2018 at 2:41 PM Karthikeyan Singaravelan < rep...@bugs.python.org> wrote: > > Karthikeyan Singaravelan added the com

[issue32051] Possible issue in multiprocessing doc

2017-11-16 Thread jason
New submission from jason : in multiprocessing doc https://docs.python.org/3.6/library/multiprocessing.html under 17.2.2.7.2. Using a remote manager, >>> from multiprocessing.managers import BaseManager >>> import queue >>> queue = queue.Queue() >>> c

[issue32051] Possible issue in multiprocessing doc

2017-11-16 Thread jason
jason added the comment: Thank you for answering! Yes, I would be very happy to do that, this is going to be my first contribution! :) -- ___ Python tracker <https://bugs.python.org/issue32

[issue32051] Possible issue in multiprocessing doc

2017-11-19 Thread Jason
Change by Jason : -- keywords: +patch pull_requests: +4401 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32051> ___ ___ Py

[issue32051] Possible issue in multiprocessing doc

2017-11-19 Thread Jason
Jason added the comment: Hi Berker, I didn't update "following examples with ``('', 5)`` too." because this is different than the previous one, this is client connecting to server, so hostname cannot be empty string. -- _

[issue33836] [Good first-time issue] Recommend keyword-only param for memoization in FAQ

2018-06-13 Thread Jason
Jason added the comment: Hey Zach, Can I get this one? I haven't contributed anything yet. Cheers, Jason -- nosy: +codecamelot ___ Python tracker <https://bugs.python.org/is

[issue34238] When BROWSER is set on Mac webbrowser.register_standard_browsers doesn't work

2018-07-26 Thread Jason
New submission from Jason : Description: When BROWSER is set, webbrowser.get fails because register_standard_browsers throws an error. Work around: You can still use `webbroswer._browsers[key][1].open(url)` to open a browser. Operating system: macOS High Sierra v10.13.6 Reproduction 1

[issue34238] When BROWSER is set on Mac webbrowser.register_standard_browsers doesn't work

2018-07-26 Thread Jason
Change by Jason : -- type: crash -> ___ Python tracker <https://bugs.python.org/issue34238> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue34238] When BROWSER is set on Mac webbrowser.register_standard_browsers doesn't work

2018-07-26 Thread Jason
Jason added the comment: Serhiy, I believe you are correct. I updated my local python and it passed. However, I think there might be a bug with the implementation that doesn't correctly respect the BROWSER preference. If I do: ``` ➜ BROWSER=lynx python3 Python 3.7.0 (default, Jul 23

[issue46090] C extensions can't swap out live frames anymore

2021-12-16 Thread Jason Madden
Change by Jason Madden : -- nosy: +jmadden ___ Python tracker <https://bugs.python.org/issue46090> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46179] Delete selected item generate "<>" event or not in different version of tkinter or Python

2021-12-26 Thread Jason Yang
New submission from Jason Yang : In python(3.8.10)/tkinter(8.6.9), it won't generate "<>" event if we delete selected item of ttk.Treeview, but it will for python(3.9.9/3.10.1)/tkinter(8.6.12). Check it just by clicking 'Delete Item 1' button in following demo

[issue46180] Button clicked failed when mouse hover tooltip and tooltip destroyed

2021-12-26 Thread Jason Yang
New submission from Jason Yang : Button no response when clicked if mouse move into tooltip and tooltip destroyed for Python 3.9.9/3.10.1 and tkinter 8.6.12 You can check it by moving mouse into button, then move to tooltip after it shown, then click button and you won't get respons

[issue46179] Delete selected item generate "<>" event or not in different version of tkinter or Python

2021-12-26 Thread Jason Yang
Jason Yang added the comment: >From https://core.tcl-lang.org/tk/reportlist, I found the same issue ttk::treeview <> event bug https://core.tcl-lang.org/tk/tktview?name=2a6c62afd9 It is an old bug from 2014 anf not fixed, and now it fixed. OK, no more question about it. Thank you

[issue46210] print deadlocks

2021-12-30 Thread Jason Wilkes
New submission from Jason Wilkes : Hi there. :) (First time posting here, so apologies in advance if I'm a goof.) I recently found a deadlock in the stdout and stderr buffer objects. Following the dev guide, I (1) wrote up a patch (2) checked that it fixes the deadlock (on Linux and

[issue46210] print deadlocks

2021-12-30 Thread Jason Wilkes
Change by Jason Wilkes : -- keywords: +patch pull_requests: +28524 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30310 ___ Python tracker <https://bugs.python.org/issu

[issue46180] Button clicked failed when mouse hover tooltip and tooltip destroyed

2022-02-01 Thread Jason Yang
Jason Yang added the comment: The platform is WIN10 which shown at last line in first message. I don't have other platforms to test if ok or not. -- ___ Python tracker <https://bugs.python.org/is

[issue46678] Invalid cross device link in Lib/test/support/import_helper.py

2022-02-07 Thread Jason Wilkes
New submission from Jason Wilkes : In Lib/test/support/import_helper.py, the function make_legacy_pyc makes a call to os.rename which can fail when the source and target live on different devices. This happens (for example) when PYTHONPYCACHEPREFIX is set to a directory on a different device

[issue46678] Invalid cross device link in Lib/test/support/import_helper.py

2022-02-07 Thread Jason Wilkes
Change by Jason Wilkes : -- keywords: +patch pull_requests: +29374 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31204 ___ Python tracker <https://bugs.python.org/issu

[issue46679] test.support.wait_process ignores timeout argument

2022-02-07 Thread Jason Wilkes
New submission from Jason Wilkes : The function wait_process in Lib/test/support/__init__.py ignores its timeout argument. This argument is useful, for example, in tests that need to determine whether a deadlock has been fixed (e.g., in PR-30310). Will submit a pull request to fix this

[issue46679] test.support.wait_process ignores timeout argument

2022-02-07 Thread Jason Wilkes
Change by Jason Wilkes : -- keywords: +patch pull_requests: +29375 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31205 ___ Python tracker <https://bugs.python.org/issu

[issue46541] Replace _Py_IDENTIFIER() with statically initialized objects.

2022-02-16 Thread Jason Wilkes
Change by Jason Wilkes : -- nosy: +notarealdeveloper nosy_count: 7.0 -> 8.0 pull_requests: +29528 pull_request: https://github.com/python/cpython/pull/30310 ___ Python tracker <https://bugs.python.org/issu

[issue46803] Item not shown when using mouse wheel to scroll for Listbox/Combobox

2022-02-19 Thread Jason Yang
New submission from Jason Yang : When scrolled items by mouse wheel in tk.Listbox/ttk.Combobox, some items not shown. Is it a bug ? or I did something wrong ? In following case, 'Wednesday' will not shown when scroll mouse wheel at - tk.Listbox or vertical scrollbar of tk.L

[issue1000] Patch to rename *Server modules to lower-case

2007-08-23 Thread Jason Prado
New submission from Jason Prado: Here's a patcher for the 2to3 fixer. After I add this ticket I'll try to add another file for the py3k/Lib directory. -- components: Library (Lib) files: fixer-server-imports.patch messages: 55188 nosy: jasonpjason severity: normal status:

[issue1241] subprocess.py stdout of childprocess always buffered.

2007-10-05 Thread Jason Kim
New submission from Jason Kim: Hi. I am currently using subprocess.py (2.4.4 and above) to try to have a portable way of running a sub task in linux and windows. I ran into a strange problem - a program runs and is "timed out" but the the subprocess's stdout and stderr are not

[issue13184] Multi-layered symlinks cause runtime error. sys.path is malformed.

2011-10-14 Thread Jason Howlett
New submission from Jason Howlett : This error is observed in Python 2.7.2. Steps to recreate problem: 1) Create directory ~/pytest. 2) Untar Python 2.7.2 sources into ~/pytest 3) configure, build, and install with --prefix=~/pytest/pyinstall 4) mkdir -p ~/pytest/other/bin 5) cd ~/pytest/other

[issue13184] Multi-layered symlinks to python cause runtime error. sys.path is malformed.

2011-10-15 Thread Jason Howlett
Jason Howlett added the comment: Here is a proposed patch that solves the problem I described. Hopefully someone more familiar with Module/gethpath.c can make sure that it is ok and make improvements if needed. -- keywords: +patch title: Multi-layered symlinks cause runtime error

[issue13184] Multi-layered symlinks to python cause runtime error. sys.path is malformed.

2011-10-21 Thread Jason Howlett
Jason Howlett added the comment: Confirmed. The problem exists in 3.2.2 also. -- ___ Python tracker <http://bugs.python.org/issue13184> ___ ___ Python-bugs-list m

[issue13509] On uninstallation, distutils bdist_wininst fails to run post install script

2011-11-30 Thread Jason Roberts
New submission from Jason Roberts : Historically (i.e. Python 2.6.1 and earlier) bdist_wininst would run the post install script at both installation and uninstallation. The script would be invoked with a -install argument on installation and a -remove argument on uninstallation. This stopped

[issue13276] distutils bdist_wininst created installer does not run the postinstallation script on uninstalling

2011-11-30 Thread Jason Roberts
Jason Roberts added the comment: Sorry, I opened issue13509 after somehow not finding this one. Here is my text from issue13509. Thanks for looking at this problem... Historically (i.e. Python 2.6.1 and earlier) bdist_wininst would run the post install script at both installation and

[issue9760] Suggestion for improving with documentation

2010-09-03 Thread Jason Baker
New submission from Jason Baker : http://docs.python.org/reference/compound_stmts.html#with This documentation refers to "context expressions" in two places. However, it never really defines what a context expression is. The formal syntax that's presented is this: with_

[issue9825] OrderedDict ref cycles cause memory leak

2010-09-10 Thread jason kirtland
New submission from jason kirtland : Circular graphs of collections.OrderedDict are uncollectable due to the presence of OrderedDict.__del__. >>> from collections import OrderedDict >>> import gc >>> left, right = OrderedDict(), OrderedDict() >>> left['

[issue9826] OrderedDict ref cycles break repr()

2010-09-10 Thread jason kirtland
New submission from jason kirtland : repr of circular graphs of collections.OrderedDicts fails with 'RuntimeError: maximum recursion depth exceeded while calling a Python object'. >>> from collections import OrderedDict >>> left, right = OrderedDict(), OrderedDict

[issue9825] OrderedDict ref cycles cause memory leak

2010-09-10 Thread jason kirtland
jason kirtland added the comment: I find the behavior surprising compared to dict and other containers, where this is not an issue and weakrefs are not required in user code. I would not be surprised, however, to have to wait for a gc.collect() to clean up my cycles like I do for regular

[issue9849] Argparse needs better error handling for nargs

2010-09-13 Thread Jason Baker
New submission from Jason Baker : This is referring to argparse 1.1 installed under Python 2.6. When I was passing in an nargs flag, I figured that since '+' and '*' are valid options, I should pass in strings. So when I tried passing in the string '1' instea

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2010-09-16 Thread Jason Grout
Jason Grout added the comment: Any progress on this? I see this warning a *lot* when compiling lots of packages for Sage (matplotlib included). -- nosy: +Jason.Grout ___ Python tracker <http://bugs.python.org/issue5

[issue10034] Readline doc issue

2010-10-05 Thread Jason Baker
New submission from Jason Baker : There's an error in the documentation for readline here: http://docs.python.org/library/readline.html#example The first example doesn't import readline. -- assignee: d...@python components: Documentation messages: 118040 nosy: Jaso

[issue10046] Correction to atexit documentation

2010-10-07 Thread Jason Baker
New submission from Jason Baker : There's an issue with the documentation on the atexit module[1]. It states: "Note: the functions registered via this module are not called when the program is killed by a signal, when a Python fatal internal error is detected, or when os._exit()

[issue10046] Correction to atexit documentation

2010-10-08 Thread Jason Baker
Jason Baker added the comment: I like that phrasing. I think it would be a good idea to mention that this includes SIGINT by default, just to be explicit. -- ___ Python tracker <http://bugs.python.org/issue10

[issue11722] mingw64 does not link when building extensions

2011-03-30 Thread Jason Morgan
New submission from Jason Morgan : Bulding a simple extension (the spam example) fails with mingw64. in modsupport.h, the following is used to detect 64bit, it does not work with mingw64. #if SIZEOF_SIZE_T != SIZEOF_INT /* On a 64-bit system, rename the Py_InitModule4 so that 2.4 modules

[issue11723] No proper support for mingw64 - patch to add

2011-03-30 Thread Jason Morgan
New submission from Jason Morgan : Python2.7 has no proper support for mings64. You can use environment path to trick compiler into using mings64, but this will cause conflict with other builds. Adding a mings64 compiler options is much more sensible as both mingw32 and mings64 can co-exist

[issue11723] No proper support for mingw64 - patch to add

2011-03-31 Thread Jason Morgan
Jason Morgan added the comment: Ok, I know there is a typo, (mings64 should read mingw64) I realised after posting but can't edit it. I don't need any more emails telling me I can't spell (or type) - I knew that already! -- ___

[issue11722] mingw64 does not link when building extensions

2011-03-31 Thread Jason Morgan
Jason Morgan added the comment: OK, I've understood this a bit more. The compiler does not cause pyconfig.h to define SIZEOF_SIZE_T and SIZEOF_INT, rather it is the definition of MS_WIN64 at compile time (which was not being defined) Defining MS_WIN64 fixes the problem, and causes an

[issue1449496] Python should use 3GB Address Space on Windows

2010-12-16 Thread Jason Scheirer
Jason Scheirer added the comment: The patch is a simple tweak to the Visual Studio project's compiler settings. Seems quite innocuous, nothing broke in the Python harness or our internal harnesses (at ESRI) by enabling this. -- keywords: +patch nosy: +Jason.Scheirer status: pe

[issue1449496] Python should use 3GB Address Space on Windows

2010-12-17 Thread Jason Scheirer
Jason Scheirer added the comment: I would like to see this reopened: we have a very large class of users that are not ready to entirely port to 64-bit and need this now. When running a Python script from within a desktop application (which embeds Python and has /LARGEADDRESSAWARE set) or

[issue11011] More functools functions

2011-01-25 Thread Jason Baker
New submission from Jason Baker : I've created a patch that adds some common functional programming tools to functools. I've made the patch to work against Python 3.2, but that may be a bit aggressive. If so, then I can adapt it to work with 3.3. I also wouldn't be opposed

[issue11011] More functools functions

2011-01-25 Thread Jason Baker
Jason Baker added the comment: Ray, thanks for prompt and thorough feedback. To address your concerns: * I'm fine with doing away with const and identity (long story short I haven't really used them in functional languages anyway). There were reasons for defining identity the

[issue11011] More functools functions

2011-01-25 Thread Jason Baker
Jason Baker added the comment: I'm not sure I understand how Raymond's alternative for trampoline works. Let's take the factorial algorithm from wikipedia's page on tail recursion[1]. I've implemented the tail recursive version of the algorithm in Python usi

[issue3039] tarfile.TarFileCompat.writestr(ZipInfo, str) raises AttributeError

2008-06-04 Thread Jason Kankiewicz
New submission from Jason Kankiewicz <[EMAIL PROTECTED]>: tarfile.TarFileCompat.writestr( self, zinfo, bytes ) raises AttributeError("'ZipInfo' object has no attribute 'name'") because an analog to the tarfile.TarInfo.name attribute cannot be monkeypatched int

[issue2234] cygwinccompiler.py fails for latest MinGW releases.

2008-06-11 Thread Jason Tishler
Jason Tishler <[EMAIL PROTECTED]> added the comment: There have been three different regular expressions proposed to resolve this issue: 1. http://bugs.python.org/issue2234 2. http://bugs.python.org/issue3013 3. http://cygwin.com/ml/cygwin/2008-05/msg00622.html Does anyone know which

[issue2234] cygwinccompiler.py fails for latest MinGW releases.

2008-06-12 Thread Jason Tishler
Jason Tishler <[EMAIL PROTECTED]> added the comment: I tested the regular expression in #3: (\d+\.\d+(\.(\d+))?([ab](\d+))?) and it worked for both '2.18.50.20080523' & '1.2.3a'. Additionally, it worked for the following test cases that I tried: 2.18.50a.2008

[issue2234] cygwinccompiler.py fails for latest MinGW releases.

2008-06-13 Thread Jason Tishler
Jason Tishler <[EMAIL PROTECTED]> added the comment: cygwinccompiler.py only uses the first group: $ fgrep group cygwinccompiler.py gcc_version = StrictVersion(result.group(1)) ld_version = StrictVersion(result.group(1)) dllwrap_version = StrictV

[issue3169] email/header.py doesn't handle Base64 headers that have been insufficiently padded.

2008-06-21 Thread Jason Williams
New submission from Jason Williams <[EMAIL PROTECTED]>: email/header.py:decode_header() Line 95: dec = email.base64mime.decode(encoded) Headers that contain Subject or From headers which are Base64 encoded and are insufficiently padded raise a HeaderParseError. The actual padding er

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2008-08-15 Thread Jason Spiro
New submission from Jason Spiro <[EMAIL PROTECTED]>: The Python Windows installer[1] should automatically add the Python and Scripts directories to the PATH environment variable. (If you like, you can also provide a checkbox in the installer GUI that users can uncheck if they don'

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2008-08-15 Thread Jason Spiro
Jason Spiro <[EMAIL PROTECTED]> added the comment: Martin, at the time I read the python-list thread, I didn't pay any attention to the posts' authors. Only now did I realize you were one of the posters. Oops. I already know the basic ideas about creating MSIs with Wise

[issue2234] cygwinccompiler.py fails for latest MinGW releases.

2008-08-18 Thread Jason Tishler
Jason Tishler <[EMAIL PROTECTED]> added the comment: Thanks! ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2234> ___ ___ Python-bugs

[issue3621] it would be nice if installers made by bdist_wininst stored an EstimatedSize property in the Windows registry

2008-08-20 Thread Jason Spiro
New submission from Jason Spiro <[EMAIL PROTECTED]>: == Summary == Installers made by bdist_wininst never set EstimatedSize in the Windows registry. So Windows makes an estimate[1] of the installed software's size so the Add/Remove Programs control panel can tell users how much

[issue3621] it would be nice if installers made by bdist_wininst stored an EstimatedSize property in the Windows registry

2008-08-20 Thread Jason Spiro
Jason Spiro <[EMAIL PROTECTED]> added the comment: Attaching testcase. It's basically just some sample code from the distutils documentation. Added file: http://bugs.python.org/file11177/testcase.zip ___ Python tracker <[EMAIL PRO

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-09 Thread Jason Tishler
Jason Tishler <[EMAIL PROTECTED]> added the comment: The Cygwin build is having the same problem: http://cygwin.com/ml/cygwin/2008-09/msg00145.html In this case, the sqlite3 libraries are installed (in /usr/lib), but their suffixes do not match the expected values. Does anyone know th

[issue3915] Broken link in 14.7 curses, Python Library Reference

2008-09-20 Thread Jason Etheridge
New submission from Jason Etheridge <[EMAIL PROTECTED]>: In http://docs.python.org/lib/module-curses.html, the link "Curses Programming with Python" is broken. It links to http://www.python.org/doc/howto/curses/curses.html, which no longer exists. I found the page ex

[issue3935] bisect insort C implementation ignores methods on list subclasses

2008-09-22 Thread jason kirtland
New submission from jason kirtland <[EMAIL PROTECTED]>: The C implementation (only) of bisect does not invoke list subclass methods when insorting. Code like this will not trigger the assert: class Boom(list): def insert(self, index, item): assert False bisect.insor

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-23 Thread Jason Tishler
Jason Tishler <[EMAIL PROTECTED]> added the comment: The Cygwin build issue was worked around by releasing a sqlite3 package that contains a static library too. However, this causes the Python _sqlite module to be statically linked against sqlite3 even though a shared library vers

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-24 Thread Jason Tishler
Jason Tishler <[EMAIL PROTECTED]> added the comment: Hirokazu Yamamoto wrote: > Python is not using CCygwinCCompiler to build itself on cygwin. Which I why my patch modifies UnixCCompiler instead of CCygwinCCompiler. FWIW, my patch leverages the already existing Cygwin specifi

[issue2445] Use The CygwinCCompiler Under Cygwin

2008-09-24 Thread Jason Tishler
Jason Tishler <[EMAIL PROTECTED]> added the comment: I don't think the patch, cygwin-smaller.diff, is correct. The value of static_lib_extension needs to remain ".a". Otherwise, shared extensions attempting to build against a library that only offers a static vers

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-25 Thread Jason Tishler
Jason Tishler <[EMAIL PROTECTED]> added the comment: Hirokazu Yamamoto wrote: > Umm, it works, but I'm not sure we can call import library as > dylib... Agreed. > I had considered attached patch "experimental_distutils.patch". > It's little adhoky, I

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-07 Thread Jason Day
New submission from Jason Day <[EMAIL PROTECTED]>: On my system (Windows Server 2008 SP1 - 64-bit, Python 2.5.2 - 32-bit), simple actions like: >>> help(help) # Or any function or >>> import tempfile >>> f = tempfile.mktemp() result in this (rather confusing) e

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-07 Thread Jason Day
Jason Day <[EMAIL PROTECTED]> added the comment: Running help() or mktemp() causes _getfullpathname to be called with the whole system path (791 characters). If you pass that to _getfullpathname as str it throws the aforementioned TypeError. If it's passed as unicode, it return

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-08 Thread Jason Day
Jason Day <[EMAIL PROTECTED]> added the comment: > I am not sure to understand. Do you mean the whole PATH environment > variable? I doubt that it is passed to _getfullpathname. > Or do you have very long paths for one directory? the TEMP environment > variable, for example?

[issue4071] ntpath.abspath fails for long str paths

2008-10-08 Thread Jason Day
Changes by Jason Day <[EMAIL PROTECTED]>: -- title: ntpath.abspath can fail on Win Server 2008 (64-bit) -> ntpath.abspath fails for long str paths ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-08 Thread Jason Day
Jason Day <[EMAIL PROTECTED]> added the comment: > Indeed. Do you happen to have the complete traceback of the failing > tempfile.mktemp() call? I don't see where it can use the PATH > environment variable. The problem was that somehow, on our systems, the TEMP environmenta

[issue4071] ntpath.abspath fails for long str paths

2008-10-09 Thread Jason Day
Changes by Jason Day <[EMAIL PROTECTED]>: -- title: ntpath.abspath can fail on Win Server 2008 (64-bit) -> ntpath.abspath fails for long str paths ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue1005895] curses for win32

2010-02-16 Thread Jason Tishler
Jason Tishler added the comment: Sorry, but I don't know. I haven't looked at this issue for almost five years! And when I did, I only looked as far to determine it wasn't Cygwin related. -- ___ Python tracker <http://bugs.pytho

[issue8261] License link for Python 2.6.5 release is broken

2010-03-29 Thread Jason Mobarak
New submission from Jason Mobarak : The 'Python License' link at http://www.python.org/download/releases/2.6.5/ results in a 404. -- assignee: georg.brandl components: Documentation messages: 101894 nosy: georg.brandl, silverjam severity: normal status: open title: Licens

[issue8581] Logging handlers do not handle double-closing very well

2010-04-30 Thread Jason Baker
New submission from Jason Baker : The logging handler does not handle double-closing very well: >>> from logging import StreamHandler >>> h = StreamHandler() >>> h.close() >>> h.close() Traceback (most recent call last): File "", line 1, in

[issue8581] Logging handlers do not handle double-closing very well

2010-04-30 Thread Jason Baker
Jason Baker added the comment: Adding patch -- keywords: +patch Added file: http://bugs.python.org/file17151/logging.patch ___ Python tracker <http://bugs.python.org/issue8

[issue8582] urllib.urlretrieve fails with ValueError: Invalid format string

2010-04-30 Thread Jason Gross
New submission from Jason Gross : When calling urllib.urlretrieve with a data:image/png url (possibly with other urls too) and a local file name, it fails with Traceback (most recent call last): File "", line 1, in urlretrieve(url, file_name) File "D:\Python26\Lib\urll

[issue8581] Logging handlers do not handle double-closing very well

2010-05-01 Thread Jason Baker
Jason Baker added the comment: Vinay, I don't necessarily disagree with you. However, this appears to be a pretty trivial change. If there is a 2.6.6, I think this should go in it. -- ___ Python tracker <http://bugs.python.org/i

[issue8690] multiprocessing.dummy.Queue does not expose same interface as multiprocessing.Queue

2010-05-11 Thread Jason Baker
New submission from Jason Baker : The multiprocessing.dummy.Queue class is merely an import of Queue.Queue. There are a few methods that this does not provide however: close, join_thread, and cancel_join_thread. I don't know what the best way to handle this is, but it should be p

[issue3621] it would be nice if installers made by bdist_wininst stored an EstimatedSize property in the Windows registry

2010-05-12 Thread Jason Spiro
Jason Spiro added the comment: > Can you provide a patch? Unfortunately not. I still don't think it's worth fixing this bug. :) I think you should document it in the bdist_wininst documentation then close this bug as "won't fix due to lack of volunteer resources&

[issue2045] defaultdict subclasses segfault with a bound method set as a default_factory

2008-02-07 Thread jason kirtland
New submission from jason kirtland: Python 2.5.1 (r251:54863, May 23 2007, 16:25:53) [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from collections import defaultdict

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2008-03-04 Thread Jason Tishler
New submission from Jason Tishler: Makefile.pre.in contains extra slash before $(DESTDIR) in two locations as in the following: sharedinstall: $(RUNSHARED) ./$(BUILDPYTHON) -E $(srcdir)/setup.py install \ --prefix=$(prefix) \ --install-scripts=$(BINDIR) \ --install

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2008-03-04 Thread Jason Tishler
Changes by Jason Tishler: __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2233> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue2235] __eq__ / __hash__ check doesn't take inheritance into account

2008-03-04 Thread jason kirtland
New submission from jason kirtland: In 2.6a, seems like the __hash__ implementation and __eq__ must be defined together, in the same class. See also #1549. Ensuring that a __hash__ implementation isn't being pulled from a builtin type is probably a sufficient check...? >>> cla

[issue2234] cygwinccompiler.py fails for latest MinGW releases.

2008-04-01 Thread Jason Tishler
Jason Tishler <[EMAIL PROTECTED]> added the comment: If the version is guaranteed to be x.y or x.y.z, then the patch seems correct. Note I am not set up to test this patch and it has been years since I have looked at this part of the code base. Sorry, that I can't be m

[issue2537] re.compile(r'((x|y+)*)*') should fail

2008-04-02 Thread Jason Orendorff
New submission from Jason Orendorff <[EMAIL PROTECTED]>: Below, the second regexp seems just as guilty as the first to me. Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin Type "help", "copyright", "

[issue2537] re.compile(r'((x|y+)*)*') should fail

2008-04-04 Thread Jason Orendorff
Jason Orendorff <[EMAIL PROTECTED]> added the comment: Huh. Maybe you're right. JavaScript, Ruby, and Perl all accept both regexes, although no two agree on what should be captured: js> "xyyzy".replace(/((x|y)*)*/, "($1, $2)") (xyy, y)zy js> "xyyzy&q

[issue2641] setuptools gets site-packages wrong on Mac

2008-04-15 Thread Jason Orendorff
New submission from Jason Orendorff <[EMAIL PROTECTED]>: On my Mac, /usr/local/bin/python2.5 is a symlink to "../../../Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5". When I install Mercurial from source, the "mercurial" package is installed at &quo

[issue4827] optparse: Callback example 1 is confusing

2009-01-03 Thread Jason Kankiewicz
New submission from Jason Kankiewicz : "Callback example 1: trivial callback" reads Here’s an example of a callback option that takes no arguments, and simply records that the option was seen: def record_foo_seen(option, opt_str, value, parser): parser.saw_

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2009-01-08 Thread Jason Tishler
Jason Tishler added the comment: Sorry for the delay, but I was on vacation and then recovering from vacation... You are correct that my initial patch does not handle the case when DESTDIR is not specified. Your suggestion will work, but seems hacky. What about adding the defaulting of

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2009-01-12 Thread Jason Tishler
Jason Tishler added the comment: Obviously not... :,( It seems like we might have to go with your "/./" workaround, but let me see if I can come up with another approach. ___ Python tracker <http://bugs.python.

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2009-01-14 Thread Jason Tishler
Jason Tishler added the comment: Your latest patch is on the right track, but see my latest one, Makefile.pre.in.v2.diff, for an optimization. I tested make install with and without DESTDIR defined on the command line and both cases behaved as expected. Added file: http://bugs.python.org

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2009-01-14 Thread Jason Tishler
Jason Tishler added the comment: I guess you mean the following: ${var:-value} Old BSD shells, including the Ultrix sh, don't accept the colon for any shell substitution, and complain and die. If so, should we just go forward without the colon? The bash manpage indicates the foll

[issue33523] loop.run_until_complete re-entrancy to support more complicated codebases in transition to asyncio

2019-08-26 Thread Jason Fried
Jason Fried added the comment: Yeah I have to agree at this point, from a naive point of view it looks awesome, but its just as bad as loosing gil guarantees. On Mon, Aug 26, 2019 at 03:04 Andrew Svetlov wrote: > > Andrew Svetlov added the comment: > > The solution produce

[issue38218] SyntaxError in Tutorial 8.6 Defining Clean-up Actions

2019-09-18 Thread Jason Plurad
New submission from Jason Plurad : The second code example in Tutorial section 8.6 defines the function: def bool_return(): -> bool: which throws a SyntaxError: invalid syntax If the function wants to use a return annotation, there should not be a colon after the function name. I hav

[issue38415] @asynccontextmanager decorated functions are not callable like @contextmanager

2019-10-08 Thread Jason Fried
New submission from Jason Fried : The standard contextmanager decorator produces a wrapper that itself can be used as a decorator ``` @contextmanager def some_context(): ... yield @some_context() def some_function(): # we are inside a with some_context() now. ... ``` When

[issue38415] @asynccontextmanager decorated functions are not callable like @contextmanager

2019-10-08 Thread Jason Fried
Change by Jason Fried : -- keywords: +patch pull_requests: +16250 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16667 ___ Python tracker <https://bugs.python.org/issu

[issue38690] Command line option with &/or without a space results in the same outcome

2019-11-04 Thread jason gors
New submission from jason gors : The syntax in the Command line documentation was unexpected regarding the `-m` option (specifically `python -mtimeit`) [0]. Showing this: ``` python -mtimeit "range(100)" # behaving equivalent to this: python -m timeit "range(100)"

[issue44510] file.read() UnicodeDecodeError with large files on Windows

2021-06-25 Thread Jason Yundt
Change by Jason Yundt : -- nosy: +jayman ___ Python tracker <https://bugs.python.org/issue44510> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45175] No warning with '-W always' and cached import

2021-09-11 Thread Jason Yundt
New submission from Jason Yundt : I have a script which always produces a warning when you run it. If I import always_warns from another script, that script will only produce a warning once. Steps to reproduce: $ python -W always always_warns.py /tmp/Bug reproduction/always_warns.py:1

  1   2   3   4   5   6   7   8   9   10   >