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
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
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
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
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
Change by Jason :
--
keywords: +patch
pull_requests: +4401
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue32051>
___
___
Py
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.
--
_
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
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
Change by Jason :
--
type: crash ->
___
Python tracker
<https://bugs.python.org/issue34238>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.p
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
Change by Jason Madden :
--
nosy: +jmadden
___
Python tracker
<https://bugs.python.org/issue46090>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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_
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['
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
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
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
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
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
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()
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
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
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
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!
--
___
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
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
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
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
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
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
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
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
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
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
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
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'
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
Jason Tishler <[EMAIL PROTECTED]> added the comment:
Thanks!
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2234>
___
___
Python-bugs
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
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
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
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
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
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
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
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
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
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
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
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?
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
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
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
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
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
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
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
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
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
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
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&
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
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
Changes by Jason Tishler:
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2233>
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mai
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
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
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", "
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
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
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_
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
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.
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
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
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
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
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
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
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)"
Change by Jason Yundt :
--
nosy: +jayman
___
Python tracker
<https://bugs.python.org/issue44510>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 - 100 of 1681 matches
Mail list logo