[issue43513] venv: recreate symlinks on --upgrade

2021-08-26 Thread Scott Macpherson
Change by Scott Macpherson : -- nosy: +macpherson.scott ___ Python tracker <https://bugs.python.org/issue43513> ___ ___ Python-bugs-list mailing list Unsub

[issue16801] Preserve original representation for integers / floats in docstrings

2021-06-29 Thread Scott Stevens
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/library/os.html

[issue43975] Incorrect MIME type returned for .js files Windows 10.

2021-04-29 Thread Scott Means
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/plain'. I

[issue43155] PyCMethod_New not defined in python3.lib

2021-02-13 Thread Barry Alan Scott
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 track

[issue43155] PyCMethod_New not defined in python3.lib

2021-02-10 Thread Barry Alan Scott
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

[issue43156] Python windows installer has a confusing name - add setup to its name

2021-02-09 Thread Barry Alan Scott
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

[issue43168] macOS python install shares /usr/local with homebrew and can conflict

2021-02-08 Thread Barry Alan Scott
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

[issue43167] Add a note to the macOS installer welcome window about customize options

2021-02-08 Thread Barry Alan Scott
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

[issue43168] macOS python install shares /usr/local with homebrew and can conflict

2021-02-08 Thread Barry Alan Scott
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.pyt

[issue43167] macOS python install need mechanism to prevent editing shell profile files

2021-02-08 Thread Barry Alan Scott
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

[issue43168] macOS python install shares /usr/local with homebrew and can conflict

2021-02-08 Thread Barry Alan Scott
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

[issue43167] macOS python install need mechanism to prevent editing shell profile files

2021-02-08 Thread Barry Alan Scott
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

[issue43156] Python windows installer has a confusing name - add setup to its name

2021-02-07 Thread Barry Alan Scott
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

[issue43156] Python windows installer has a confusing name - add setup to its name

2021-02-07 Thread Barry Alan Scott
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

[issue43155] PyCMethod_New not defined in python3.lib

2021-02-07 Thread Barry Alan Scott
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

[issue43115] locale.getlocale fails if locale is set

2021-02-03 Thread Scott Talbert
Change by Scott Talbert : -- nosy: +swt2c ___ Python tracker <https://bugs.python.org/issue43115> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42706] random.uniform 2x slower than inline implementation

2020-12-21 Thread Scott Norton
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.154088729228 >>

[issue42670] Missing word in itertools.product

2020-12-17 Thread Scott Noyes
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

[issue41354] filecmp.cmp documentation does not match actual code

2020-12-16 Thread Scott
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

[issue1178136] cgitb.py support for frozen images

2020-11-16 Thread Barry Alan Scott
Barry Alan Scott added the comment: Ok. I'll add this to my todo list. -- status: pending -> open ___ Python tracker <https://bugs.python.org/issue1

[issue40260] modulefinder traceback regression starting on Windows

2020-04-22 Thread Barry Alan Scott
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 reason given. I

[issue40260] modulefinder traceback regression starting on Windows

2020-04-19 Thread Barry Alan Scott
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 anything

[issue40260] modulefinder traceback regression starting on Windows

2020-04-19 Thread Barry Alan Scott
Change by Barry Alan Scott : -- pull_requests: +18931 pull_request: https://github.com/python/cpython/pull/19595 ___ Python tracker <https://bugs.python.org/issue40

[issue40260] modulefinder traceback regression starting on Windows

2020-04-16 Thread Barry Alan Scott
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/issue40

[issue40260] modulefinder traceback regression starting on Windows

2020-04-16 Thread Barry Alan Scott
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

[issue40260] modulefinder traceback regression starting on Windows

2020-04-15 Thread Barry Alan Scott
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

[issue40260] modulefinder traceback regression starting on Windows

2020-04-15 Thread Barry Alan Scott
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

[issue40260] modulefinder traceback regression starting on Windows

2020-04-14 Thread Barry Alan Scott
Barry Alan Scott added the comment: io.open_code() used in the patch. -- components: -Windows ___ Python tracker <https://bugs.python.org/issue40260> ___ ___

[issue40260] modulefinder traceback regression starting on Windows

2020-04-12 Thread Barry Alan Scott
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 mo

[issue38565] Expose the value passed of typed passed to functools.lru_cache

2019-10-23 Thread Scott Sanderson
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 no way to recover

[issue37576] SSL Malloc Error w/OpenSSL 1.1.1c-fips & FIPS_mode_set(1)

2019-07-12 Thread Scott Sturdivant
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 it's

[issue37576] SSL Malloc Error w/OpenSSL 1.1.1c-fips & FIPS_mode_set(1)

2019-07-12 Thread Scott Sturdivant
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 install

[issue36721] Add pkg-config python-3.8-embed

2019-05-17 Thread Scott Talbert
Change by Scott Talbert : -- nosy: +swt2c ___ Python tracker <https://bugs.python.org/issue36721> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35595] Add sys flag to always show full paths in stack traces (instead of relative paths)

2018-12-27 Thread Scott Arciszewski
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

[issue34916] include sqlite-3.25+ (with window functions)

2018-12-16 Thread Scott Stevens
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 track

[issue35360] [Windows] Update SQLite dependency

2018-12-16 Thread Scott Stevens
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

[issue29235] Allow profile/cProfile to be used as context managers

2018-06-01 Thread Scott Sanderson
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/issue29

[issue29235] Allow profile/cProfile to be used as context managers

2018-06-01 Thread Scott Sanderson
Change by Scott Sanderson : -- pull_requests: +6961 ___ Python tracker <https://bugs.python.org/issue29235> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29235] Allow profile/cProfile to be used as context managers

2018-05-14 Thread Scott Sanderson
Scott Sanderson <scott.b.sanderso...@gmail.com> 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 t

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-07 Thread Scott M
Scott M <scott.m...@comcast.net> 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 ha

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-07 Thread Scott M
Change by Scott M <scott.m...@comcast.net>: -- nosy: +PythonInTheGrass ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33257> ___

[issue33114] random.sample() behavior is unexpected/unclear from docs

2018-03-26 Thread Scott Eilerman
Scott Eilerman <scott.j.eiler...@gmail.com> 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 m

[issue33114] random.sample() behavior is unexpected/unclear from docs

2018-03-21 Thread Scott Eilerman
Scott Eilerman <scott.j.eiler...@gmail.com> 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

[issue33114] random.sample() behavior is unexpected/unclear from docs

2018-03-21 Thread Scott Eilerman
Scott Eilerman <scott.j.eiler...@gmail.com> 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,

[issue33114] random.sample() behavior is unexpected/unclear from docs

2018-03-21 Thread Scott Eilerman
Scott Eilerman <scott.j.eiler...@gmail.com> 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." -- ___ Pyt

[issue33114] random.sample() behavior is unexpected/unclear from docs

2018-03-21 Thread Scott Eilerman
New submission from Scott Eilerman <scott.j.eiler...@gmail.com>: 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 th

[issue32966] Python 3.6.4 - 0x80070643 - Fatal Error during installation

2018-02-27 Thread Scott
New submission from Scott <scott.dud...@gmail.com>: 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 -

[issue32142] heapq.heappop - documentation misleading or doesn't work

2017-11-26 Thread Scott Queen
Scott Queen <scoote...@gmail.com> 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 l

[issue32142] heapq.heappop - documentation misleading or doesn't work

2017-11-26 Thread Scott Queen
New submission from Scott Queen <scoote...@gmail.com>: 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 hea

[issue1927] Change input() to always prompt to stderr

2017-10-10 Thread Carvell Scott
Change by Carvell Scott <carvell.sc...@gmail.com>: -- nosy: +Carvell Scott ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue1927> ___

[issue31666] Pandas_datareader Error Message - ModuleNotFoundError: No module named 'pandas_datareader' with module in folder

2017-10-09 Thread Scott Tucholka
Scott Tucholka <s.tucho...@gmail.com> 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

[issue31666] Pandas_datareader Error Message - ModuleNotFoundError: No module named 'pandas_datareader' with module in folder

2017-10-02 Thread Scott Tucholka
Change by Scott Tucholka <s.tucho...@gmail.com>: -- 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

[issue31081] Release Build Failure on Ubuntu 14.04

2017-07-30 Thread Scott Colby
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 anything else

[issue31081] Release Build Failure on Ubuntu 14.04

2017-07-30 Thread Scott Colby
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

[issue29689] Asyncio-namespace helpers for async_generators

2017-03-01 Thread Scott Russ
Changes by Scott Russ <sc...@linuxjihad.com>: -- nosy: +Scott Russ ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29689> ___ _

[issue26513] platform.win32_ver() broken in 2.7.11

2016-10-13 Thread Scott Leerssen
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. Thanks

[issue26513] platform.win32_ver() broken in 2.7.11

2016-10-13 Thread Scott Leerssen
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

[issue12594] Docs for "Using Python on a Macintosh" needs to be updated

2016-08-20 Thread Scott Macpherson
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 accurate. * T

[issue12594] Docs for "Using Python on a Macintosh" needs to be updated

2016-08-20 Thread Scott Macpherson
Changes by Scott Macpherson <sc...@zerosleeps.com>: -- nosy: +macpherson.scott ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue9850] obsolete macpath module dangerously broken and should be removed

2016-08-20 Thread Scott Macpherson
Changes by Scott Macpherson <sc...@zerosleeps.com>: -- nosy: +macpherson.scott ___ Python tracker <rep...@bugs.python.org> <http://bugs.pytho

[issue19241] MINGW: install import library

2016-02-29 Thread Scott Corbin
Changes by Scott Corbin <shacor...@gmail.com>: Removed file: http://bugs.python.org/file42048/0AANH-66nZTUDUk9PVA ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue19241] MINGW: install import library

2016-02-29 Thread Scott Corbin
Changes by Scott Corbin <shacor...@gmail.com>: Added file: http://bugs.python.org/file42048/0AANH-66nZTUDUk9PVA ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26364] pip uses colour in messages that does not work on white terminals

2016-02-15 Thread Barry Scott
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' command

[issue22995] Restrict default pickleability

2016-01-06 Thread Scott Kitterman
Changes by Scott Kitterman <skl...@kitterman.com>: -- nosy: +kitterma ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22995> ___ _

[issue14611] inspect.getargs fails on some anonymous tuples

2015-10-07 Thread Scott Sanderson
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

[issue14611] inspect.getargs fails on some anonymous tuples

2015-10-07 Thread Scott Sanderson
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

[issue25148] Windows registry PythonCore key changed inconsistent with other releases

2015-09-23 Thread Barry Scott
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 for

[issue25148] Windows registry PythonCore key changed inconsistent with other releases

2015-09-17 Thread Barry Scott
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

[issue23797] Mac OS X locale setup in thread happens sometime after run() is called

2015-03-29 Thread Barry Alan Scott
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

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2015-03-29 Thread Barry Alan Scott
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

[issue23797] Mac OS X locale setup in thread happens sometime after run() is called

2015-03-28 Thread Barry Alan Scott
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/threading.py

[issue23605] Use the new os.scandir() function in os.walk()

2015-03-09 Thread Scott Dial
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

[issue18863] Encoding a unicode with unicode() and ignoring errors

2013-08-28 Thread G. Scott Johnston
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ü) Traceback (most recent call last): File stdin, line 1, in module UnicodeDecodeError: 'ascii' codec can't

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2013-07-02 Thread Scott Leerssen
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.Leerssen

[issue16821] bundlebuilder broken in 2.7

2012-12-31 Thread Barry Alan Scott
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

[issue16821] bundlebuilder broken in 2.7

2012-12-30 Thread Barry Alan Scott
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

[issue16821] bundlebuilder broken in 2.7

2012-12-30 Thread Barry Alan Scott
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 since 2.6

[issue16219] segfault when using xml.etree.ElementTree.XMLTreeBuilder

2012-10-13 Thread Scott Maxwell
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

[issue10910] pyport.h FreeBSD/Mac OS X fix causes errors in C++ compilation

2012-06-24 Thread Barry Alan Scott
Barry Alan Scott barry-sc...@users.sourceforge.net 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

[issue2975] VS8 include dirs grow without bound

2012-05-20 Thread Scott Dial
Scott Dial sc...@scottdial.com 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

[issue14498] Python 3.x distutils.util.get_platform returns incorrect value using Mac OSX 10.7

2012-04-04 Thread Matthew Scott
New submission from Matthew Scott m...@11craft.com: 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

[issue14498] Python 3.x distutils.util.get_platform returns incorrect value using Mac OSX 10.7

2012-04-04 Thread Matthew Scott
Matthew Scott m...@11craft.com 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

[issue14498] Python 3.x distutils.util.get_platform returns incorrect value using Mac OSX 10.7

2012-04-04 Thread Matthew Scott
Matthew Scott m...@11craft.com 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

[issue14499] Extension module builds fail with Xcode 4.3 on OS X 10.7 due to SDK move

2012-04-04 Thread Matthew Scott
Changes by Matthew Scott m...@11craft.com: -- nosy: +Matthew.Scott ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14499 ___ ___ Python-bugs-list

[issue14188] Sharing site-packages between Apple and python.org builds breaks extensions

2012-03-04 Thread Barry Alan Scott
Barry Alan Scott barry-sc...@users.sourceforge.net 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.7

[issue14188] Sharing site-packages between Apply and python.org builds breaks extensions

2012-03-03 Thread Barry Alan Scott
New submission from Barry Alan Scott barry-sc...@users.sourceforge.net: 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

[issue14188] Sharing site-packages between Apply and python.org builds breaks extensions

2012-03-03 Thread Barry Alan Scott
Barry Alan Scott barry-sc...@users.sourceforge.net 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

[issue14005] IDLE Crash when running/saving a file

2012-02-19 Thread Scott Bowman
Scott Bowman scott.thomas.bow...@gmail.com 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 rep...@bugs.python.org http

[issue14048] calendar bug related to September 2-14, 1752

2012-02-18 Thread Scott Bannert
New submission from Scott Bannert banne...@gmail.com: 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

[issue14005] IDLE Crash when running/saving a file

2012-02-13 Thread Scott Bowman
New submission from Scott Bowman scott.thomas.bow...@gmail.com: 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

[issue10639] reindent.py should not convert newlines

2011-08-02 Thread Scott Dial
Scott Dial sc...@scottdial.com 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

[issue12144] cookielib.CookieJar.make_cookies fails for cookies with 'expires' set

2011-05-21 Thread Scott Wimer
New submission from Scott Wimer scott.wi...@gmail.com: 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 evaluated

[issue12144] cookielib.CookieJar.make_cookies fails for cookies with 'expires' set

2011-05-21 Thread Scott Wimer
Scott Wimer scott.wi...@gmail.com 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 would introduce

[issue12144] cookielib.CookieJar.make_cookies fails for cookies with 'expires' set

2011-05-21 Thread Scott Wimer
Scott Wimer scott.wi...@gmail.com added the comment: Forgot to include the patch. Oops. -- keywords: +patch Added file: http://bugs.python.org/file22055/cookielib-crash.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12144

[issue12088] tarfile.extractall fails to overwrite unresolved symlinks and hard links

2011-05-16 Thread Scott Leerssen
New submission from Scott Leerssen sleers...@gmail.com: 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

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-05-13 Thread Scott Leerssen
Scott Leerssen sleers...@gmail.com 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

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-05-13 Thread Scott Leerssen
Scott Leerssen sleers...@gmail.com 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

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-05-13 Thread Scott Leerssen
Scott Leerssen sleers...@gmail.com 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

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-05-13 Thread Scott Leerssen
Scott Leerssen sleers...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-27 Thread Scott Leerssen
Scott Leerssen sleers...@gmail.com added the comment: It happens on RedHat and CentOS 5, but I suspect it would happen on any Unix variant. Here's a test that exacerbates the issue: # # test_tarfile.py # # Description: # tests for python tarfile module # # $Id$ # import os import

  1   2   3   >