[issue14005] IDLE Crash when running/saving a file

2012-02-13 Thread Scott Bowman
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

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

2012-02-18 Thread Scott Bannert
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

[issue14005] IDLE Crash when running/saving a file

2012-02-19 Thread Scott Bowman
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

[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 : 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

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

2012-04-04 Thread Matthew Scott
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

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

2012-04-04 Thread Matthew Scott
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

[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 : -- nosy: +Matthew.Scott ___ Python tracker <http://bugs.python.org/issue14499> ___ ___ Python-bugs-list mailing list Unsubscribe:

[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:

[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 in

[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

[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

[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 anyt

[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 exec

[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

[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

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

2018-03-21 Thread Scott Eilerman
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

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

2018-03-21 Thread Scott Eilerman
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

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

2018-03-21 Thread Scott Eilerman
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

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

2018-03-21 Thread Scott Eilerman
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+

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

2018-03-26 Thread Scott Eilerman
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

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

2018-05-07 Thread Scott M
Change by Scott M : -- nosy: +PythonInTheGrass ___ Python tracker <https://bugs.python.org/issue33257> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-05-07 Thread Scott M
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

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

2018-05-14 Thread Scott Sanderson
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

[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 : -- 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&

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

2017-10-09 Thread Scott Tucholka
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

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

2017-10-10 Thread Carvell Scott
Change by Carvell Scott : -- nosy: +Carvell Scott ___ Python tracker <https://bugs.python.org/issue1927> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2017-11-26 Thread Scott Queen
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

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

2017-11-26 Thread Scott Queen
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

[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-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/is

[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.Lee

[issue2975] VS8 include dirs grow without bound

2012-05-20 Thread Scott Dial
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

[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

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-10-01 Thread Scott Dial
Scott Dial added the comment: It would seem the logical patch would be to return the line when the empty string is returned. This would fall in line with the behavior of other objects with a readline() in python. In following with that, the patch I have attached returns a truncated line

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-10-01 Thread Scott Dial
Changes by Scott Dial : Removed file: http://bugs.python.org/file15012/imaplib-r75166.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Python-bug

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-10-01 Thread Scott Dial
Changes by Scott Dial : Added file: http://bugs.python.org/file15013/imaplib-r75166.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Python-bugs-list m

[issue7084] printing a list releases the GIL carelessly

2009-10-10 Thread Scott Dial
Scott Dial added the comment: I've attached a patch that fixes this issue by grabbing a reference to the item to be printed just before releasing the GIL. -- keywords: +patch nosy: +scott.dial Added file: http://bugs.python.org/file15099/list_print-r75317.

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-05 Thread Scott Dial
Scott Dial added the comment: Alright, I am attaching a new patch to correct the brain-fart inefficiency of slicing versus endswith(). I don't understand why this is so difficult to review. I don't think Janssen is the right person to have been assigned to this. While it is related

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-05 Thread Scott Dial
Changes by Scott Dial : Removed file: http://bugs.python.org/file15013/imaplib-r75166.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Python-bug

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-05 Thread Scott Dial
Scott Dial added the comment: Ben, I understand that we are all volunteers here. My frustration in the lack of a de facto owner of the imaplib module and not with you personally or any other committer for that matter. As it is, there is no unittests for the imaplib module, and I am not in a

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-05 Thread Scott Dial
Scott Dial added the comment: I found myself in the mood to code, so in the spirit of "every step counts", I have attached a patch that updates test_imaplib accordingly. The construction of the test framework is based loosely on test_ssl and test_socketserver. If someone felt so mo

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-05 Thread Scott Dial
Changes by Scott Dial : Added file: http://bugs.python.org/file15459/test_imaplib-r76683.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Python-bug

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-05 Thread Scott Dial
Changes by Scott Dial : Removed file: http://bugs.python.org/file15458/test_imaplib-r76683.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Python-bug

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-05 Thread Scott Dial
Changes by Scott Dial : Added file: http://bugs.python.org/file15460/test_imaplib-r76683.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Python-bug

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-05 Thread Scott Dial
Changes by Scott Dial : Removed file: http://bugs.python.org/file15459/test_imaplib-r76683.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Python-bug

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-06 Thread Scott Dial
Scott Dial added the comment: The test requires regrtest.py be run with network support and the python instance be built with threads. $ ./python Lib/test/regrtest.py -u network test_imaplib Without network support, it just skips those test (which is the same way test_ssl). That seemed a bit

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-06 Thread Scott Dial
Scott Dial added the comment: Thanks for giving it a try. I believe the issue is that I am raising an exception in the middle of run_server, which was not a pattern tested in the other modules I looked at. Thus, the threads for those do not get reaped correctly. I have rewrote the test to

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-07 Thread Scott Dial
Scott Dial added the comment: The design of your patch makes a lot of sense. I found that your patch uncovered a problem with using the ThreadingMixin (which is ultimately not necessary as long as the whole SocketServer is in its own thread). I rewrote the SimpleIMAPHandler to timeout in a

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-07 Thread Scott Dial
Scott Dial added the comment: I actually thought I was complying with PEP8.. yikes. I guess my personal rules are slightly different. I think the latest attached patch is PEP8 compliant now. And, I moved the import_module() to the top as you suggested. -- Added file: http

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-07 Thread Scott Dial
Changes by Scott Dial : Removed file: http://bugs.python.org/file15460/test_imaplib-r76683.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Python-bug

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-07 Thread Scott Dial
Changes by Scott Dial : Removed file: http://bugs.python.org/file15466/test_imaplib-r76683-2.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Python-bug

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-07 Thread Scott Dial
Changes by Scott Dial : Removed file: http://bugs.python.org/file15472/test_imaplib_issue5949-2.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Pytho

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-07 Thread Scott Dial
Changes by Scott Dial : Removed file: http://bugs.python.org/file15457/imaplib-eof-test.py ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Python-bugs-list m

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-09 Thread Scott Dial
Changes by Scott Dial : Added file: http://bugs.python.org/file15508/test_imaplib_issue5949-py26.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Pytho

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-09 Thread Scott Dial
Changes by Scott Dial : Added file: http://bugs.python.org/file15509/test_imaplib_issue5949-py26.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___ Pytho

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-09 Thread Scott Dial
Changes by Scott Dial : Removed file: http://bugs.python.org/file15508/test_imaplib_issue5949-py26.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-09 Thread Scott Dial
Scott Dial added the comment: I have attached a proper backport for the 2.6 maintenance branch. There were some features (not bugfixes) of the trunk that the tests depended on, which are not backported. However, the tests still hang, because there are changes to SocketServer.py that were not

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-09 Thread Scott Dial
Changes by Scott Dial : Removed file: http://bugs.python.org/file15509/test_imaplib_issue5949-py26.patch ___ Python tracker <http://bugs.python.org/issue5949> ___ ___

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-09 Thread Scott Dial
Scott Dial added the comment: I tracked the necessary change to r73638 and issue6267. However, I am not sure it is in scope to backport all of that. The only changed actually needed from this set to make SocketServer behave correctly with a SSLSocket is: def close_request(self, request

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-09 Thread Scott Dial
Scott Dial added the comment: I've revised my opinion. If you extract out only the changes to SocketServer and ignore the others, then I would consider it a good backport (fixes bugs only). I have attached such a patch. BTW, with this patch, you can remove the shutdown() call i

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-12-09 Thread Scott Dial
Scott Dial added the comment: It seems that on the py3k branch, the EOF situation is handled roughly in the same manner (the broken line is returned) and ultimately the IMAP4.abort exception is raised because b'* ' is an invalid response (the 'OK' having been dropped). IO

[issue1706039] Added clearerr() to clear EOF state

2009-12-10 Thread Scott Dial
Scott Dial added the comment: I've attached a patch that applies cleanly against py3k. I do not have an in-depth understanding of the new io module, but at a cursory glance, it seems to not use FILE streams, and would not be subject to this bug. However, Py_UniversalNewlineFgets()

[issue1706039] Added clearerr() to clear EOF state

2009-12-10 Thread Scott Dial
Changes by Scott Dial : Added file: http://bugs.python.org/file15517/issue1706039-py3k.patch ___ Python tracker <http://bugs.python.org/issue1706039> ___ ___ Python-bug

[issue1706039] Added clearerr() to clear EOF state

2009-12-10 Thread Scott Dial
Changes by Scott Dial : Removed file: http://bugs.python.org/file15516/issue1706039-py3k.patch ___ Python tracker <http://bugs.python.org/issue1706039> ___ ___ Python-bug

[issue7711] csv error name incorrect

2010-01-15 Thread Scott Kitterman
New submission from Scott Kitterman : Using the csv module I encountered an ASCII NUL in a file and got this error: "_csv.Error: line contains NULL byte" According to the documentation ( http://docs.python.org/library/csv.html#module-contents ) it should be csv.Error:. Attempti

[issue5639] Support TLS SNI extension in ssl module

2010-06-19 Thread Scott Tsai
Changes by Scott Tsai : -- nosy: +scott.tsai ___ Python tracker <http://bugs.python.org/issue5639> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9033] cmd module tab misbehavior

2010-06-19 Thread scott riccardelli
New submission from scott riccardelli : noticed that cmd module does not perform completion using TAB on a macintosh properly. instead, the TAB key just places several blank spaces and moves the cursor forward. what it should do is retrieve a list of possibilities for completing a command

[issue4919] 2.6.1 build issues on solaris with SunStudio 12

2010-06-26 Thread scott wedel
scott wedel added the comment: You all take 7 months to first look at the issue and then decide that you'd like more information because the initial submission was incomplete? Oh well, Suit yourself. Doesn't matter to me. I've already stopped using sunstudio. That python b

[issue6507] Enhance dis.dis to autocompile codestrings

2010-07-02 Thread Scott Dial
Scott Dial added the comment: > disassemble_str should be private with an underscore. disassemble_string should've been private as well, while we are editing this module. -- nosy: +scott.dial ___ Python tracker <http://bugs.python.or

[issue9105] pickle security note should be more prominent

2010-07-18 Thread Scott Lawrence
Scott Lawrence added the comment: Patch warning in relevant places of pickle's vulnerability to insecure data, including the place referenced by issue8855. -- keywords: +patch nosy: +bytbox Added file: http://bugs.python.org/file18057/picklesec.

[issue29689] Asyncio-namespace helpers for async_generators

2017-03-01 Thread Scott Russ
Changes by Scott Russ : -- nosy: +Scott Russ ___ Python tracker <http://bugs.python.org/issue29689> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2016-08-20 Thread Scott Macpherson
Changes by Scott Macpherson : -- nosy: +macpherson.scott ___ Python tracker <http://bugs.python.org/issue9850> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2016-08-20 Thread Scott Macpherson
Changes by Scott Macpherson : -- nosy: +macpherson.scott ___ Python tracker <http://bugs.python.org/issue12594> ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 acc

[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 on

[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

[issue25335] ast.literal_eval fails to parse numbers with leading "+"

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

[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 that

[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

[issue22995] Restrict default pickleability

2016-01-06 Thread Scott Kitterman
Changes by Scott Kitterman : -- nosy: +kitterma ___ Python tracker <http://bugs.python.org/issue22995> ___ ___ Python-bugs-list mailing list Unsubscribe:

[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

[issue19241] MINGW: install import library

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

[issue19241] MINGW: install import library

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

[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

[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

[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. T

[issue3397] Mac 3.0 build cannot find cachersrc.py

2008-07-17 Thread Barry Alan Scott
New submission from Barry Alan Scott <[EMAIL PROTECTED]>: $ sw_vers ProductName:Mac OS X ProductVersion: 10.4.11 BuildVersion: 8S165 ./configure --enable-framework make ... make install Creating directory /Library/Frameworks/Python.framework/Versions/3.0/Mac/Tools DYLD_FRAMEWOR

[issue3398] mac build 3.0 no MacOS module

2008-07-17 Thread Barry Alan Scott
New submission from Barry Alan Scott <[EMAIL PROTECTED]>: $ sw_vers ProductName:Mac OS X ProductVersion: 10.4.11 BuildVersion: 8S165 ./configure --enable-framework make ... make install ... DYLD_FRAMEWORK_PATH=/Users/barry/Work/Python-3.0b1: ../python.exe ./scripts/BuildApp

[issue3398] mac build 3.0 no MacOS module

2008-07-17 Thread Barry Alan Scott
Barry Alan Scott <[EMAIL PROTECTED]> added the comment: I don't see beta 2 on python.org or I'd have used it... ___ Python tracker <[EMAIL PROTECTED]> <http://

[issue3420] 2to3 fails to run on Mac OS X 10.4 PPC 3.0b2

2008-07-20 Thread Barry Alan Scott
New submission from Barry Alan Scott <[EMAIL PROTECTED]>: $ sw_vers ProductName:Mac OS X ProductVersion: 10.4.11 BuildVersion: 8S165 $ python3.0 Python 3.0b2 (r30b2:65080, Jul 20 2008, 08:46:13) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin Type "help", "

[issue3420] 2to3 fails to run on Mac OS X 10.4 PPC 3.0b2

2008-07-20 Thread Barry Alan Scott
Barry Alan Scott <[EMAIL PROTECTED]> added the comment: Fixing 2to3 with the full path to the fixes folder gets this traceback: $ ./2to3 /dev/null Traceback (most recent call last): File "./2to3", line 5, in sys.exit(refactor.main("/Library/Frameworks/Python.framew

[issue3533] mac 10.4 buld of 3.0 --with-pydebug fails no __eprintf

2008-08-09 Thread Barry Alan Scott
New submission from Barry Alan Scott <[EMAIL PROTECTED]>: I wanted to use Py_DEBUG build to help debug a problem with ref counts in a C++ extension. I cannot find eprintf in the sources of python where does this symbol come from? How do I fix the build to define it? $ sw_vers Produ

[issue3533] mac 10.4 buld of 3.0 --with-pydebug fails no __eprintf

2008-08-09 Thread Barry Alan Scott
Barry Alan Scott <[EMAIL PROTECTED]> added the comment: As far as I know I'm using the Xcode compiler. Does this match your expectations? $ which gcc /usr/bin/gcc $ gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5341.obj~1/sr

[issue3533] mac 10.4 buld of 3.0 --with-pydebug fails no __eprintf

2008-08-10 Thread Barry Alan Scott
Barry Alan Scott <[EMAIL PROTECTED]> added the comment: I have Xcode 2.3 which is quite old. Simple program to test assert works with my current setup. I'm going to update to Xcode 2.5 and see what happens. I'll report back once I've installed and rebuild pyth

[issue3533] mac 10.4 buld of 3.0 --with-pydebug fails no __eprintf

2008-08-10 Thread Barry Alan Scott
Barry Alan Scott <[EMAIL PROTECTED]> added the comment: Xcode 2.5 solves the build issue. I suspect you can close the 1099 saying use Xcode 2.5. I think you can only get 2.5 by login in to the Apple developer site. ___ Python tracker <[EMAIL

[issue3533] mac 10.4 buld of 3.0 --with-pydebug fails no __eprintf

2008-08-10 Thread Barry Alan Scott
Barry Alan Scott <[EMAIL PROTECTED]> added the comment: Grr... this problem is a pain... I have the __eprint undefined back... I tried to get readline going as well and rebuilt. Couldn't get that working then rebuilt without readline stuff and got the __eprintf. I'm goint to ha

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2008-08-16 Thread C. Scott Ananian
New submission from C. Scott Ananian <[EMAIL PROTECTED]>: Although HTTP/1.1 says that servers SHOULD send a Connection: close header if they intend to close a persistent connection (sec 8.1.2.1), clients (like httplib) "MUST be able to recover from asynchronous close events. Clie

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2008-08-23 Thread C. Scott Ananian
C. Scott Ananian <[EMAIL PROTECTED]> added the comment: FWIW, the following code works around the issue for me: class HTTPConnection(httplib.HTTPConnection): def request(self, method, url, body=None, headers={}): # patch upstream to recv() after we send, so that a

[issue3777] PyNumber_Long fails from Float

2008-09-04 Thread Barry Alan Scott
New submission from Barry Alan Scott <[EMAIL PROTECTED]>: I am testing PySVN against python2.6b3. I see a failure when PyNumber_Long is called with a Float. It raises TypeError. The same code works on 2.3, 2.4 and 2.5. Looking with GDB I see: (gdb) bt #0 PyNumber_Long (o=0x18093

[issue3777] PyNumber_Long fails from Float

2008-09-06 Thread Barry Alan Scott
Barry Alan Scott <[EMAIL PROTECTED]> added the comment: You are right that its the Py::Long( Py::Float( double( x ) ) ) that is triggering this problem. Here is the gdb from the powerpc build that shows the info you asked for and show res being corrupt. I'm going to try and buil

<    1   2   3   >