Change by Scott Macpherson :
--
nosy: +macpherson.scott
___
Python tracker
<https://bugs.python.org/issue43513>
___
___
Python-bugs-list mailing list
Unsub
Scott Stevens added the comment:
I'm now seeing docs.python.org has regressed. For 3.9, calls present their
defaults in octal, in 3.10 (beta), they're presented in decimal.
https://docs.python.org/3.10/library/pathlib.html#pathlib.Path.touch
https://docs.python.org/3.10/libra
New submission from Scott Means :
This isn't *technically* a bug in Python, but it really presents like one. I
like to run the http.server for quick-and-dirty web development, but today
Chrome refused to load any of my .js files because the server is returning a
MIME type of 'text
Barry Alan Scott added the comment:
Thanks Petr, I'll watch for the PEP.
FYI: I work on the assumption that if I use Py_LIMITED_API and the header
files provide an API guarded by an #if then its "offical".
--
___
Python
Barry Alan Scott added the comment:
Is there a test suite that checks that the limited API functions can all be
linked against?
--
___
Python tracker
<https://bugs.python.org/issue43
Barry Alan Scott added the comment:
Understood that changing the status quo may have problems.
Maybe you do an HTTP redirect from the old name to the new name?
Or have the installed available under both names but only advertise the new
name
Barry Alan Scott added the comment:
I was wondering what the bottom text box was for.
The usual UX for check boxes is to toggle when the text of the control is
clicked.
Because of that I avoid clicking on check boxes that I do not know if I want to
change. Hence I did not get to see the
Barry Alan Scott added the comment:
The readme page is a good 2nd best is PKG install has not option to control the
text on the INstallation type page.
My guess is that the info would need be in visible without
scrolling for people to notice it. (UX is hard
Barry Alan Scott added the comment:
>From "UNIX command-line tools" its not clear to me that that prevents
symlinks in /usr/local/bin. Maybe word it as "Add python to /usr/local/bin".
Is this documented anywhere?
I just looked at the download page https://www.python.
Barry Alan Scott added the comment:
It was not obvious that I could do that with Customise.
Indeed I installed 3.10a5 just so that I could remind myself of what the
installer did.
It would help is the Installation type page told the user why they might want
to use the Customise for
New submission from Barry Alan Scott :
The popular homebrew system installs its binaries into /usr/local/bin.
The macOS python install also defaults to /usr/local/bin where it
puts symlinks to Python like:
% ls -l /usr/local/bin/python3.10
lrwxr-xr-x 1 root 73 8 Feb 19:45:50 2021 /usr
New submission from Barry Alan Scott :
By default the python macOS installer will edit .bash_profile and .zsh_profile
to add Python to the path.
For many users this is a problem that requires the added lines to be
removed after each install.
I suggest that there is a mechanism that the user
Barry Alan Scott added the comment:
I happy with your names. I think they are better then my version.
--
___
Python tracker
<https://bugs.python.org/issue43
New submission from Barry Alan Scott :
New users of Python on Windows frequently confuse the Python installation
program with Python itself.
They also can end up with the wrong 32 or 64 bit version.
I suggest that the installation program name is changed to include "setup" in
its
New submission from Barry Alan Scott :
When using the limited API PyCMethod_New is not defined in python3.lib.
This leads to a link error.
This error is in 3.9 and 3.10a5
Discovered when I improved the PyCXX test suite.
Example output:
Link obj\simple.pyd
cl /nologo /W4 /LD /Zi /MT
Change by Scott Talbert :
--
nosy: +swt2c
___
Python tracker
<https://bugs.python.org/issue43115>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Scott Norton :
The library function random.uniform takes about twice as long as a manual
inline implementation (Python 3.9.1).
>>> import timeit
>>> timeit.timeit('3 + (8 - 3) * random.random()', 'import random')
0.15408872
New submission from Scott Noyes :
-Accordingly, it only useful with finite inputs.
+Accordingly, it is only useful with finite inputs.
--
assignee: docs@python
components: Documentation
messages: 383257
nosy: docs@python, snoyes
priority: normal
severity: normal
status: open
title
Scott added the comment:
I suggest changing the documentation rather than the code. The mix up is in
the wording.
Documentation below
"If shallow is true, files with identical os.stat() signatures are taken to be
equal. Otherwise, the contents of the files are compared."
The
Barry Alan Scott added the comment:
Ok. I'll add this to my todo list.
--
status: pending -> open
___
Python tracker
<https://bugs.python.org/i
Barry Alan Scott added the comment:
Anthony,
Now that everything is opened using open_code that returns bytes its
not clear to me why this breaks for you.
Further the data must be bytes for the codings to be figured out.
Removing the b'\n' may be reasonable, but not for the reaso
Barry Alan Scott added the comment:
I have pushed the fix onto https://github.com/python/cpython/pull/19595
with an API test case and the changes to keep the debain subclassing
working.
I'm new the the work flow. Let me know if I need to change any
Change by Barry Alan Scott :
--
pull_requests: +18931
pull_request: https://github.com/python/cpython/pull/19595
___
Python tracker
<https://bugs.python.org/issue40
Barry Alan Scott added the comment:
I have the fix coded and tested.
I run out of git knowledge to update the PR branch so that I can push the fix.
I'll work on it more later in the day.
--
___
Python tracker
<https://bugs.python.org/is
Change by Barry Alan Scott :
--
pull_requests: +18895
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/19549
___
Python tracker
<https://bugs.python.org/issu
Barry Alan Scott added the comment:
Regarding test case. I will need to know what pymindeps is doing to be able to
design a suitable test case.
--
___
Python tracker
<https://bugs.python.org/issue40
Barry Alan Scott added the comment:
I need to see the code of pymindeps to understand what you are doing and how to
fix this. Can you post a URL to the source please?
Are you aware that load_module() changed in other ways that are required to fix
the bug?
You may have to change yout
Barry Alan Scott added the comment:
io.open_code() used in the patch.
--
components: -Windows
___
Python tracker
<https://bugs.python.org/issue40260>
___
___
New submission from Barry Alan Scott :
modulefinder.py does not open source files in "rb" which
prevents compile() from applying the encoding rules.
This first showed up for me on Windows with Python 3.8.
Here is my test case and the results on Windows with 3.8.
import modulefi
New submission from Scott Sanderson :
In some circumstances, it's useful to be able in inspect the parameters with
which an instance of functools.lru_cache was instantiated. It's currently
possible to recover the cache's maxsize via the .cache_info() method, but
there's n
Scott Sturdivant added the comment:
Thank you for your input; I wasn't sure where to place the bug. Redhat it will
be then!
And no worries, I get the FIPS validated vs compliant nuances. My target system
has OpenSSL compiled per their directions, I just mentioned Fedora since
New submission from Scott Sturdivant :
Using Py3{5,6,7} and OpenSSL 1.1.1b-fips, I have not encountered this error.
Once OpenSSL has been upgraded to 1.1.1c-fips, the SSL Malloc Error rears its
ugly head.
Setup:
Fedora 30 has openssl-fips by default.
Install cryptography with 'pip in
Change by Scott Talbert :
--
nosy: +swt2c
___
Python tracker
<https://bugs.python.org/issue36721>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Scott Arciszewski :
I have a wsgi script writing to a log file. The contents look like this
(truncated):
File "build/bdist.linux-x86_64/egg/trac/ticket/query.py", line 284, in _count
% sql, args)[0][0]
File "build/bdist.linux-x86_64/egg/trac/db/ap
Scott Stevens added the comment:
Due to the SQLite "Magellan" bug, I'd suggest this be 3.26+.
Details: https://blade.tencent.com/magellan/index_en.html
See also: https://bugs.python.org/issue35360
------
nosy: +Scott Stevens
___
Python
Scott Stevens added the comment:
With the discovery of the SQLite "Magellan" bug, could the version be upgraded
to 3.26 for all Python versions? As far as I know, the security case is
restricted to where the user is allowing aribitrary SQL execution without
arbitrary Python exec
Scott Sanderson added the comment:
I've posted a patch to update the docs to
https://github.com/python/cpython/pull/7331.
--
nosy: +Scott Sanderson2
___
Python tracker
<https://bugs.python.org/is
Change by Scott Sanderson :
--
pull_requests: +6961
___
Python tracker
<https://bugs.python.org/issue29235>
___
___
Python-bugs-list mailing list
Unsubscribe:
Scott Sanderson added the comment:
This looks like it's been dormant for a bit. I've posted a patch (with tests
and docs) to https://github.com/python/cpython/pull/6808.
--
nosy: +Scott Sanderson
___
Python tracker
<https://bu
Scott M added the comment:
7 years and counting...
My need for a fix is long gone, but I'd like to be able to tell the original
group I worked with whether it's now safe to use tkinter from threads. It looks
like my original guesses were validated and a fix has been made, but I c
Change by Scott M :
--
nosy: +PythonInTheGrass
___
Python tracker
<https://bugs.python.org/issue33257>
___
___
Python-bugs-list mailing list
Unsubscribe:
Scott Eilerman added the comment:
Raymond, Tim, thanks for your replies so far. I understand (and for the most
part, agree with) your points about not being able to list every behavior, and
not wanting to cause uncertainty in users. However, let me argue my case one
more time, and if you
Scott Eilerman added the comment:
Sorry, there's a typo in that example. It should look like:
random.seed(fixed_seed)
random.sample(choices, n)[-1]
Then, later, I want the next draw, so I did:
random.seed(fixed_seed)
random.sample(choices, n+
Scott Eilerman added the comment:
To clarify the use case where this behavior was problematic for me, I wanted to
get the nth random draw from a given distribution, so I used something like:
random.seed(fixed_seed)
random.sample(choices, n)[-1]
Then, later, I want the next draw, so I did
Scott Eilerman added the comment:
Something along the lines of: "For a fixed seed, random.sample(population, k)
is not guaranteed to return the same samples for different values of k."
--
___
Python tracker
<https://bugs.python.o
New submission from Scott Eilerman :
I ran into a "bug" when using random.sample() in which I got some results I
didn't expect. After digging a little more, this is either a side effect of
the optimization that's made when k > 5, or I am using the function in a way
t
New submission from Scott :
Installing Python 3.6.4, Windows 10 64bit, exits installer and dumps the
following error code to log.
[18B8:4394][2018-02-27T15:41:06]i399: Apply complete, result: 0x80070643,
restart: None, ba requested restart: No
0x80070643 - Fatal Error during installation
Scott Queen added the comment:
Fair statement. "Properly sorted" was a poor choice. Seems that "if the
invariant is true as a precondition, it will be true as a postcondition" is
accurate and descriptive - maybe with a caution that modifying the list
(heap) values by means
New submission from Scott Queen :
The documentation for heapq.heappop(heap) says:
"Pop and return the smallest item from the heap, maintaining the heap
invariant. If the heap is empty, IndexError is raised. To access the smallest
item without popping it, use heap[0]."
yet, in the
Change by Carvell Scott :
--
nosy: +Carvell Scott
___
Python tracker
<https://bugs.python.org/issue1927>
___
___
Python-bugs-list mailing list
Unsubscribe:
Scott Tucholka added the comment:
I am running Windows 10 Enterprise x64 and use Spyder (Python 3.6).
This is my code:
import pandas as pd
import pandas_datareader as dr
dr.get_data_yahoo('AAPL')
I am expecting that the module will import and the get_data_yahoo will
return results
Change by Scott Tucholka :
--
components: Library (Lib), Windows
nosy: Scott Tucholka, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Pandas_datareader Error Message - ModuleNotFoundError: No module named
'pandas_datareader&
Scott Colby added the comment:
You make a fair point. I didn't realize that my version of gcc was so far
behind. Perhaps I ought to seek out a binary distribution of Python 3.6, since
upgrading the whole of gcc doesn't seem quite worth my time.
If you don't think there is anyt
New submission from Scott Colby:
After downloading and decompressing the latest 3.6.2 source release, I
attempted to build as follows:
$ ./configure --enable-optimizations --enable-ipv6 # seems fine
$ make -s -j$(nproc)
At the end of the build I have this error reported:
Failed
Changes by Scott Russ :
--
nosy: +Scott Russ
___
Python tracker
<http://bugs.python.org/issue29689>
___
___
Python-bugs-list mailing list
Unsubscribe:
Scott Leerssen added the comment:
I just assumed it was fixed based on the 2.7.12 release notes. I missed the
comment on msg277117 which describes the same problem, so clearly this is a
known issue and I'll look forward to seeing the fix in 2.7.13. T
Scott Leerssen added the comment:
It looks like there may still be an issue in Python 2.7.12 on Windows 2008 R2
(Datacenter Edition). On an Amazon instance (tried t2.micro and m4.large) we
are seeing the following:
In 2.7.11 (correct)
C:\Users\Administrator>python
Python 2.7.11 (v2.7
Scott Macpherson added the comment:
I'd like to help out with this issue if I can. This page in the documentation
is really showing it's age now.
* I think referring to "OS X" (soon to be "MacOS") instead of "Mac" or
"Macintosh" would more acc
Changes by Scott Macpherson :
--
nosy: +macpherson.scott
___
Python tracker
<http://bugs.python.org/issue12594>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Scott Macpherson :
--
nosy: +macpherson.scott
___
Python tracker
<http://bugs.python.org/issue9850>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Scott Corbin :
Removed file: http://bugs.python.org/file42048/0AANH-66nZTUDUk9PVA
___
Python tracker
<http://bugs.python.org/issue19241>
___
___
Python-bug
Changes by Scott Corbin :
Added file: http://bugs.python.org/file42048/0AANH-66nZTUDUk9PVA
___
Python tracker
<http://bugs.python.org/issue19241>
___
___
Python-bug
New submission from Barry Scott:
pip3 (3.5 on Mac OS X) is outputting a message in yellow that I can barely see
on a white background terminal.
"You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip
Changes by Scott Kitterman :
--
nosy: +kitterma
___
Python tracker
<http://bugs.python.org/issue22995>
___
___
Python-bugs-list mailing list
Unsubscribe:
Scott Sanderson added the comment:
Note also that a much simpler repro for this issue is:
inspect.getargs(((x for _ in [0]) for x in [0]).gi_code)
This triggers the same issue because the inner generator expression closes over
the loop variable of the outer expression, which causes us to hit
Scott Sanderson added the comment:
This issue is the root cause of at least two open issues in IPython:
https://github.com/ipython/ipython/issues/8293
https://github.com/ipython/ipython/issues/8205
Testing locally, the patch supplied here fixes both of those issues. Is there
still work that
New submission from Scott Turner:
import ast
ast.literal_eval("+3")
Traceback (most recent call last):
[...]
ValueError: malformed string
--
messages: 252476
nosy: Scott Turner
priority: normal
severity: normal
status: open
title: ast.literal_eval fails to parse nu
Barry Scott added the comment:
To clarify:
3.5 means 3.5 64 bit
3.5-32 means 3.5 32 bit
You do not add the -64 as it is the default.
However: this change should have been in the "What's New" as it breaks Windows
installation code
New submission from Barry Scott:
I am used to looking in
HKLM:\SOFTWARE\Python\PythonCore\%(py_maj)d.%(py_min)d\InstallPath
to find out where python is installed so that my installation kit can add
itself to site-packages.
I just found that the registry key used for 32 bit python 3.5 on
Barry Alan Scott added the comment:
Mac OS X use the __CF_USER_TEXT_ENCODING env var to setup the locale in for
native libraries.
I found that for GUI python code I needed to convert the value in
__CF_USER_TEXT_ENCODING into a suitable call to setlocale().
The code I use is attached to
Barry Alan Scott added the comment:
I should point out using Python2.7 with wxPython I do not see this issue.
This issue was exposed during my efforts to port pysvn from py2.7+wxPython to
py3.4+wxpython-phoenix.
I do setup locale on the main thread very early before starting the background
New submission from Barry Alan Scott:
I'm seeing a random traceback when starting a new thread on Mac OS X 10.10.2
with python 3.4.3 final.
Exception in thread Thread-1:
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/th
Scott Dial added the comment:
I cloned https://github.com/benhoyt/scandir @ 494f34d784 and ran benchmark.py
on a couple systems that are Linux backed by a couple different NFS servers of
various quality.
First, a Linux VM backed by a Mac OS X NFS server backed by a SSD:
$ python benchmark.py
New submission from G. Scott Johnston:
I've come up with the following series of minimal examples to demonstrate my
bug.
>>> unicode("")
u''
>>> unicode("", errors="ignore")
u''
>>> unicode("abcü")
Scott Leerssen added the comment:
Regarding whether or not to include the fix in 2.7, I'd like to suggest that it
be included there as well. It will be quite some time before the project on
which I work moves to Python 3, and I just hit the same issue.
--
nosy: +Scott.Lee
Barry Alan Scott added the comment:
Why not use IDLE? Workbench is a lot of code and dependencies.
I expect that it works because idle.app was created using the --no-zipimport
option that is new in 2.7.
However with zip import the code is badly broken.
Build IDLE.app with zip import and you
Barry Alan Scott added the comment:
I'm using the pysvn workbench sources to find the problem.
Test cases for Mac Apps are not that simple. You need a GUI
framework for starters.
But I'm happy to test any candidate fix using workbench.
As I said a code inspection of the changes sinc
New submission from Barry Alan Scott:
bundlebuild in pytthon 2.7 fails to create usable applications.
After examining the code there are a number of coding errors:
1. optimize will puts the -O in the wrong place in the argv
2. Modules.zip is never added to the path
The bunderbuilder in 2.6
New submission from Scott Maxwell:
I upgraded the meld3 module (used by Supervisord) to work on Py3K and
discovered this segfault. It happens every time. I have seen this on the
pre-built Mac 3.3.0 and a source-built 3.3.0 on Linux. It does not occur in
3.2.2. It appears to happen in native
Barry Alan Scott added the comment:
I'm happy to review patches or create them for you.
I see a related set of errors on Mac OS X that are down to issues in
bytes_methods.py that mirror the pyport.h issues.
In C++ isspace and friends are functions not macros.
You cannot go around def
Scott Dial added the comment:
I was looking through old issues I had commented on and saw that my patch was
never applied. The current tip of the codebase still has the redundant
"removeDuplicates" function. Not a big deal, just a little extra noise in the
code. Probably not worth
Changes by Matthew Scott :
--
nosy: +Matthew.Scott
___
Python tracker
<http://bugs.python.org/issue14499>
___
___
Python-bugs-list mailing list
Unsubscribe:
Matthew Scott added the comment:
Interestingly, the 2.x series allowed an os.environ override for the
MACOSX_DEPLOYMENT_TARGET value, while the 3.x series did away with that, as a
result of http://bugs.python.org/issue9516
> for version in 2.6 2.7 3.2 3.3; do MACOSX_DEPLOYMENT_TARGET=10
Matthew Scott added the comment:
In the cases of both Python 3.x and 2.x, get_platform() is deriving information
about the version of OSX from the 'MACOSX_DEPLOYMENT_TARGET' dictionary
returned by distutils.sysconfig.get_config_vars().
Using Python 3.2.2:
In [1]: import
distutils
New submission from Matthew Scott :
Using Python 3.2.2 and Python 3.3.0a2 (installed via 64-bit installers in
official DMGs on python.org), 'distutils.util.get_platform()' returns an
incorrect OS version when running on Mac OSX 10.7.
Using Python 2.6.7, and Python 2.7.1 (the version
Barry Alan Scott added the comment:
I have wxPython installed. Uninstalling it changes the order of sys.path to
this:
['',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.
Barry Alan Scott added the comment:
Pysvn binary kits can be downloaded from
http://pysvn.tigris.org/files/documents/1233/49180/py27_python_org_pysvn_svn1617-1.7.6-1457-intel.dmg
and
http://pysvn.tigris.org/files/documents/1233/49178/py27_apple_com_pysvn_svn1617-1.7.6-1457-intel.dmg
New submission from Barry Alan Scott :
I'm testing on Mac OS X 10.7.3
http://bugs.python.org/issue4865 added
/Library/Python/2.7/site-packages
to the path for python.org built 2.7.
This will work for .py files but .so cannot be shared.
pysvn will SEGV python.org 2.7 when it is built ag
Scott Bowman added the comment:
Well it seems like all I needed to do was restart my machine. Everything is
working fine now. Thanks for your responses.
--
___
Python tracker
<http://bugs.python.org/issue14
New submission from Scott Bannert :
Note: this is my first time to submit a bug or use this system
I might have found an issue with the calendar related to the point of time in
history when the date was necessary to correct by 11 days. Anyhow, the
correction is made in a GNU+linux machine
New submission from Scott Bowman :
Whenever I save or try to run a program from the text editor window, IDLE
crashes. Any suggestions? I'm running Windows 7, btw.
--
components: None
messages: 153305
nosy: Scott.Bowman
priority: normal
severity: normal
status: open
title: IDLE
Scott Dial added the comment:
I haven't seen anyone use a side-effect-less statement (a string) as a comment
before, but I doubt that is an approved style for the CPython codebase. Please
change the string preceeding the spec_line definition into a proper comment.
--
Scott Wimer added the comment:
Forgot to include the patch. Oops.
--
keywords: +patch
Added file: http://bugs.python.org/file22055/cookielib-crash.patch
___
Python tracker
<http://bugs.python.org/issue12
Scott Wimer added the comment:
The actual error is triggered by line 1507 in '_cookie_from_cookie_tuple()'.
An easy fix is to move the setting of '_now' on line 1636 into the
'make_cookies()' method.
That addresses this problem and doesn't look like it
New submission from Scott Wimer :
When cookielib.CookieJar().make_cookies is used to extract cookies from a
urllib2 response, it crashes when it encounters a 'Set-Cookie' header entry
that has an 'expires' attribute.
This crash occurs because the expires time is evaluat
New submission from Scott Leerssen :
I'm opening this as a continuation of issue10761 since it was closed as fixed,
and there's a bit more work to do there.
The fix for issue10761 was incomplete. It did not handle the case where the
symlink being overwritten did not resolve to an
Scott Leerssen added the comment:
oops... I left some of my local edits in those tests. be sure to fix the
TEMPDIR use if you add these into the tarfile tests.
--
___
Python tracker
<http://bugs.python.org/issue10
Scott Leerssen added the comment:
tests that verify the bug/fix:
def test_extractall_broken_symlinks(self):
# Test if extractall works properly when tarfile contains symlinks
tempdir = os.path.join(TEMPDIR, "testsymlinks")
temparchive = os.path.jo
Scott Leerssen added the comment:
here is a diff of a better fix based on the previous patch:
Index: tarfile.py
===
--- tarfile.py (revision 49758)
+++ tarfile.py (working copy)
@@ -2239,12 +2239,14 @@
if hasattr(os
Scott Leerssen added the comment:
It turns out that my fix was at least one byte short of complete. If the
target pathname is a broken symlink, os.path.exists() returns False, and the
OSError is raised. I should have used os.path.lexists(). Also, I believe the
same problem exists for the
1 - 100 of 254 matches
Mail list logo