[issue7013] Httplib read routine is not tolerant to not well-formed chunked http responses.

2010-08-03 Thread David Stanek
Changes by David Stanek : -- nosy: +dstanek ___ Python tracker <http://bugs.python.org/issue7013> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5931] Python runtime name hardcoded in wsgiref.simple_server

2010-08-03 Thread David Stanek
Changes by David Stanek : -- nosy: +dstanek ___ Python tracker <http://bugs.python.org/issue5931> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8280] urllib2 passes fragment identifier to server

2010-08-03 Thread David Stanek
David Stanek added the comment: Added a patch to fix this behavior. -- keywords: +patch nosy: +dstanek Added file: http://bugs.python.org/file18358/fragment.patch ___ Python tracker <http://bugs.python.org/issue8

[issue8280] urllib2 passes fragment identifier to server

2010-08-03 Thread David Stanek
David Stanek added the comment: I have also uploaded my patch to http://codereview.appspot.com/1918042 so easier viewing. -- ___ Python tracker <http://bugs.python.org/issue8

[issue754016] urlparse goes wrong with IP:port without scheme

2010-08-03 Thread David Stanek
David Stanek added the comment: I've reworked the patch so that it applied against the py3k branch. It's been attached to this issue and is also available here: http://codereview.appspot.com/1910044. -- nosy: +dstanek Added file: http://bugs.python.org/file18362/75

[issue6602] BaseHTTPServer log_message should log to sys.stdout

2010-08-03 Thread David Stanek
David Stanek added the comment: I think this is the right thing to do. To help this along I've included a patch. The codereview is also available: http://codereview.appspot.com/1697062. -- keywords: +patch nosy: +dstanek Added file: http://bugs.python.org/file18365/6602.

[issue8757] Race condition when checking for set in set

2010-08-03 Thread David Stanek
Changes by David Stanek : -- nosy: +dstanek ___ Python tracker <http://bugs.python.org/issue8757> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7464] circular reference in HTTPResponse by urllib2

2010-08-03 Thread David Stanek
David Stanek added the comment: Does this issue still exist? I did a little poking around at could not find the quoted code. -- nosy: +dstanek ___ Python tracker <http://bugs.python.org/issue7

[issue1673007] urllib2 requests history + HEAD support

2010-08-03 Thread David Stanek
David Stanek added the comment: I have attached a patch to add support for HEAD, PUT and DELETE methods. The code review is available here: http://codereview.appspot.com/1696061. I have started working on another patch that validates that the method is properly set. For instance, it doesn&#

[issue8150] urllib needs ability to set METHOD for HTTP requests

2010-08-03 Thread David Stanek
David Stanek added the comment: In issue #1673007 I submitted a patch that enables the programmer to create a Request instance and specify the method to use. -- nosy: +dstanek ___ Python tracker <http://bugs.python.org/issue8

[issue1573931] WSGI, cgi.FieldStorage incompatibility

2010-08-04 Thread David Stanek
Changes by David Stanek : -- nosy: +dstanek ___ Python tracker <http://bugs.python.org/issue1573931> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5587] vars() no longer has a useful __repr__

2010-08-04 Thread David Stanek
David Stanek added the comment: A possible fix is to add a __repr__ implementation to proxydict. I've attached a patch and also posted it to: http://codereview.appspot.com/1908043. -- keywords: +patch nosy: +dstanek Added file: http://bugs.python.org/file18376/5587.

[issue2475] Popen.poll always returns None

2010-08-06 Thread David Andrzejewski
Changes by David Andrzejewski : -- nosy: +dandrzejewski ___ Python tracker <http://bugs.python.org/issue2475> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28842] PyInstanceMethod_Type isn't hashable

2016-11-30 Thread David Wolever
New submission from David Wolever: The PyInstanceMethod_Type, unlike all other method types, isn't hashable. It seems like the code exists, it's just been commented out: https://github.com/python/cpython/blame/c30098c8c6014f3340a369a31df9c74bdbacc269/Objects/classobject.c#L569 Th

[issue28845] Clean up known issues for AIX

2016-12-13 Thread David Edelsohn
David Edelsohn added the comment: There is an AIX system in the Python buildbot farm. Why do you say no AIX to test? -- ___ Python tracker <http://bugs.python.org/issue28

[issue13051] Infinite recursion in curses.textpad.Textbox

2016-12-16 Thread David Andersen
David Andersen added the comment: Any progress on this? Its Dec 2016 and this bug is still around. There's a patch and a patch with tests. The problem is well-understood. I'm not sure what the holdup is, but it would be great to get fixed! -- nos

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread David Karimi
New submission from David Karimi: "Edit with IDLE" option is also not present in my installation when I right-click on a .py file. And when I try to choose the IDLE application, it just defaults to the command line version every time. I don't know why this happens. I was able

[issue29208] BlockingIOError during system startup

2017-01-08 Thread David Vo
David Vo added the comment: It looks like this was already fixed in issue 29085. -- nosy: +auscompgeek ___ Python tracker <http://bugs.python.org/issue29

[issue29217] Documentation for uuid has wrong description for variant

2017-01-09 Thread David Muller
New submission from David Muller: The documentation's description for uuid.variant says that its value is one of several integer constants, but those constants are actually strings. -- assignee: docs@python components: Documentation messages: 285079 nosy: TigerhawkT3, docs@p

[issue18235] _sysconfigdata.py wrong on AIX installations

2017-01-14 Thread David Edelsohn
David Edelsohn added the comment: Michael, you need to build from scratch. The values are set and tweaked in various phases of configure and then written to _sysconfigdata.py for installation. The values in the file reflect the values used during the build, but many of them are not used in

[issue18235] _sysconfigdata.py wrong on AIX installations

2017-01-23 Thread David Edelsohn
David Edelsohn added the comment: I completely agree with Martin's concern. As I expressed before, this needs to work in three contexts: 1) Building modules in the tree during the build process. 2) In-tree testing of build module feature (test_distutils). 3) Building and installing mo

[issue29349] Update old Python 2 code in Docs/tools/extensions/patchlevel.py

2017-01-29 Thread David Bolen
David Bolen added the comment: 2.7.12 (/usr/local/bin) is used for the build slave and main external commands (such as hg and sphinx) and is in the buildslave path, but 2.5.1 is still the default in /usr/bin so can get used for processes with a restricted environment. Tiger's original 2

[issue29349] Update old Python 2 code in Docs/tools/extensions/patchlevel.py

2017-01-29 Thread David Bolen
David Bolen added the comment: Whoops, I just realized that the patch still needs adjusting to be 2.x compatible, so obviously the extra build still won't work. But at this point it should be safe to assume 2.6+ such as for the rest of the sphinx proce

[issue29550] Mac build-installer touch step fails after github conversion

2017-02-13 Thread David Bolen
New submission from David Bolen: The "make touch" step during the Mac installer builds on the bolen-dmg build slave no longer works after the conversion to github, which breaks the daily builds on the 3.* branches. It looks like in issue 23404 Zachary disabled the touch step for the

[issue24241] webbrowser default browser detection and/or public API for _trylist.

2017-02-13 Thread David Steele
David Steele added the comment: See https://github.com/python/cpython/pull/85 -- ___ Python tracker <http://bugs.python.org/issue24241> ___ ___ Python-bugs-list m

[issue29557] binhex documentation claims unknown bug

2017-02-14 Thread David Wilemski
New submission from David Wilemski: The binhex documentation has a line in it that says "As of this writing, hexbin() appears to not work in all cases." This is a bit ambiguous and there is no context for what the bug may be. It appears this line is from the first commit to

[issue24241] webbrowser default browser detection and/or public API for _trylist.

2017-02-18 Thread David Steele
Changes by David Steele : -- pull_requests: +123 ___ Python tracker <http://bugs.python.org/issue24241> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24241] webbrowser default browser detection and/or public API for _trylist.

2017-02-18 Thread David Steele
David Steele added the comment: Jaysinh, Thanks for the feedback. I'm adding the documentation now. As I noted in github, I'm not sure what the preferred exception handling would be for xdg-settings. -- ___ Python tracker <http://bu

[issue29623] configparser.ConfigParser.read() does not accept Pathlib path as a single argument.

2017-02-22 Thread David Ellis
New submission from David Ellis: Trying to use configparser.ConfigParser.read on a pathlib object results in a TypeError. If supplied in a list it works as expected. Repro: >>> import pathlib, configparser >>> configparser.ConfigParser().read(pathlib.Path('som

[issue29623] configparser.ConfigParser.read() does not accept Pathlib path as a single argument.

2017-02-22 Thread David Ellis
Changes by David Ellis : -- pull_requests: +205 ___ Python tracker <http://bugs.python.org/issue29623> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29627] configparser.ConfigParser.read() has undocumented/unexpected behaviour when given a bytestring path.

2017-02-22 Thread David Ellis
New submission from David Ellis: Related: https://github.com/python/cpython/pull/242 https://bugs.python.org/issue29623 In the discussion over my PR for bpo-29623 it became clear that bytestring paths were also unsupported and it was suggested that that should be a separate issue (currently

[issue27167] subprocess reports signal as negative exit status, not documented

2016-05-31 Thread David MacKenzie
New submission from David MacKenzie: If a command run by subprocess.check_call() exits because of a signal, e.g. SIGPIPE, Popen._handle_exitstatus() encodes the signal number as a negative return code. check_call() then raises that as a CalledProcessError, which describes it as "returne

[issue27264] python 3.4 vs. 3.5 strftime same locale different output on Windows

2016-06-07 Thread David Perra
New submission from David Perra: The execution of these commands in python 3.4.x (Windows 10 Home) import locale from datetime import datetime locale.setlocale(locale.LC_ALL, 'Spanish') datetime.strftime(datetime.now(), '%a %d %b %Y') renders the output

[issue27360] _deque and _islice are sometimes None

2016-06-21 Thread David Delassus
New submission from David Delassus: With Python 3.4.3-r1 (on Gentoo x86_64), I have encountered a strange behavior with the library "riak==2.5.3". When closing the client connection, the library calls ``self._stop.set()`` where ``self._stop`` is a ``threading.Event``. The followin

[issue22463] Warnings when building on AIX

2016-06-21 Thread David Edelsohn
David Edelsohn added the comment: These look like false positives or noise to me as well. -- ___ Python tracker <http://bugs.python.org/issue22463> ___ ___ Pytho

[issue27412] float('∞') returns 8.0

2016-06-29 Thread David Howlett
New submission from David Howlett: float('inf') returns a float with a value of inf float('∞') returns a float with a value of 8.0 I can't think of any justification for returning 8.0 other then ∞ looks like an 8 turned sideways. I believe float('∞') should

[issue27412] float('∞') returns 8.0

2016-06-29 Thread David Howlett
David Howlett added the comment: I am using python 3.5 in a REPL in an IDE called Komodo running on Windows. After reading your comments I wrote the following python file: try: x = float('∞') except ValueError: print('Value error was correctly thrown') This throws

[issue27412] float('∞') returns 8.0

2016-06-29 Thread David Howlett
David Howlett added the comment: I am sorry about misattributing this bug and wasting your time. I have opened two new bugs against Komodo: https://github.com/Komodo/KomodoEdit/issues/1760 https://github.com/Komodo/KomodoEdit/issues/1759 They are looking into it

[issue27421] PPC64LE Fedora 2.7: certificate for hg.python.org has unexpected fingerprint

2016-06-30 Thread David Edelsohn
David Edelsohn added the comment: I have updated the fingerprint in .hgrc. -- ___ Python tracker <http://bugs.python.org/issue27421> ___ ___ Python-bugs-list m

[issue27436] Strange code in selectors.KqueueSelector

2016-07-01 Thread David Beazley
New submission from David Beazley: Not so much a bug, but an observation based on reviewing the implementation of the selectors.KqueueSelector class. In that class there is the select() method: def select(self, timeout=None): timeout = None if timeout is None else max

[issue27436] Strange code in selectors.KqueueSelector

2016-07-01 Thread David Beazley
David Beazley added the comment: If the KQ_FILTER constants aren't bitmasks, it seems that the code could be simplified to the last version then. At the least, it would remove a few unnecessary calculations.Again, a very minor thing (I only stumbled onto it by accident r

[issue27436] Strange code in selectors.KqueueSelector

2016-07-01 Thread David Beazley
David Beazley added the comment: I don't see any possible way that you would ever get events = EVENT_READ | EVENT_WRITE if the flag is a single value (e.g., KQ_FILTER_READ) and the flag itself is not a bitmask. Only one of those == tests will ever be True. There is no need t

[issue27566] Freeze: winmakemakefile.py: clean: Linux instead of Windows command

2016-07-18 Thread David D
New submission from David D: The command for the clean target in the Windows makefile is the same as the one in the Linux one: using `rm -f`. Should be changed to `del /f` or `erase /f`. -- components: Demos and Tools, Windows messages: 270787 nosy: David D, paul.moore, steve.dower

[issue27575] dict viewkeys intersection slow for large dicts

2016-07-19 Thread David Su
New submission from David Su: In dictobject.c, the function dictviews_and performs a very expensive set creation operation on the keys of the self dict object: >From Python 2.7: ... static PyObject* dictviews_and(PyObject* self, PyObject *other) { PyObject *result = PySet_New(s

[issue27575] dict viewkeys intersection slow for large dicts

2016-07-20 Thread David Su
Changes by David Su : -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue27575> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27575] dict viewkeys intersection slow for large dicts

2016-07-20 Thread David Su
David Su added the comment: Here are some tests that I ran: Using current naive viewkeys intersection: $ python -m timeit -n 100 -s "d = dict.fromkeys(xrange(1000), 0)" "d.viewkeys() & {0}" 100 loops, best of 3: 447 msec per loop Nearly half a second per iterat

[issue27575] dict viewkeys intersection slow for large dicts

2016-07-23 Thread David Su
David Su added the comment: I am trying to implement the following algorithm: http://blog.faroo.com/2012/06/07/improved-edit-distance-based-spelling-correction/ This algorithm is used for fast nearest neighbor queries for spell correction. Given a corpus of strings, for each string s, I

[issue27575] dict viewkeys intersection slow for large dicts

2016-07-31 Thread David Su
David Su added the comment: Attached is a patch that I had been working on. Could you please review and provide me with some feedback? Thanks! -- keywords: +patch Added file: http://bugs.python.org/file43959/dict_view_intersection.patch ___ Python

[issue27575] dict viewkeys intersection slow for large dicts

2016-07-31 Thread David Su
Changes by David Su : Added file: http://bugs.python.org/file43960/dictview_intersection_test.py ___ Python tracker <http://bugs.python.org/issue27575> ___ ___ Python-bug

[issue27575] dict viewkeys intersection slow for large dicts

2016-07-31 Thread David Su
Changes by David Su : Added file: http://bugs.python.org/file43961/performance_test.sh ___ Python tracker <http://bugs.python.org/issue27575> ___ ___ Python-bugs-list m

[issue25825] AIX shared library extension modules installation broken

2016-08-10 Thread David Edelsohn
David Edelsohn added the comment: Let's start with this patch to revert the change mentioned in msg256136 to look for python.exp in Modules -- the test, the source for the file, and the location to delete the file. A follow-up patch will fix the data in _sysconfigdata.py. --

[issue25825] AIX shared library extension modules installation broken

2016-08-12 Thread David Edelsohn
David Edelsohn added the comment: Yes, please apply Patch 1 that reverts the mistaken change of revision 88a532a31eb3 . I want to work through this incrementally so that it's clear to reviewers. -- ___ Python tracker <http://bugs.py

[issue25825] AIX shared library extension modules installation broken

2016-08-13 Thread David Edelsohn
David Edelsohn added the comment: The second of two patches. This patch changes the definition of LDSHARED for AIX in configure to reference the matching installed location as defined in Makefile.pre.in by Patch1. The definition from configure propagates into _sysconfigdata.py. This change

[issue26988] Add AutoNumberedEnum to stdlib

2016-08-17 Thread David Hagen
David Hagen added the comment: > Secondarily, the doesn't seem to be any use case that can't be readily > covered by the existing classes. The use case that doesn't have a clean interface in 3.5 at the moment is the most common use case of enums: just a collection of n

[issue26988] Add AutoNumberedEnum to stdlib

2016-08-19 Thread David Hagen
David Hagen added the comment: One solution similar to one proposed by Vedran works with the current Enum: class Color(Enum): red = object() green = object() blue= object() I tested this in PyCharm and it is perfectly happy with the autocomplete and everything. The

[issue25825] AIX shared library extension modules installation broken

2016-08-22 Thread David Edelsohn
David Edelsohn added the comment: > This bug was marked for 2.7 as well. Is there anything that needs to be done > for 2.7? It would be great if both patches were applied to 2.7 also. > How does patch 2 make the test_distutils situation worse? Is there anything > that shoul

[issue25825] AIX shared library extension modules installation broken

2016-08-23 Thread David Edelsohn
David Edelsohn added the comment: $(BINLIBDEST)/config is equivalent to $(LIBPL) in Python 2.7, so Python 2.7 should be okay. Patch2 will not make test_distutils results worse, but the test results may not represent the true status of distutils on AIX if the matching Python version is not

[issue27849] that is so great!

2016-08-24 Thread David Kirkby
New submission from David Kirkby: Hey, Look what I've just found on the web! It's so amazing, check it out <http://guxustatri.scalrentals.com/aednig> Yours, david.kirkby -- messages: 273550 nosy: drkirkby priority: normal severity: normal status: open title:

[issue2445] Use The CygwinCCompiler Under Cygwin

2016-08-30 Thread David Stanek
Changes by David Stanek : -- nosy: -dstanek ___ Python tracker <http://bugs.python.org/issue2445> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16954] Add docstrings for ElementTree module

2013-02-16 Thread David Lam
David Lam added the comment: Here's a patch which converts all the Doxygen comments in ElementTree.py to docstrings! Something I noticed was that the from _elementtree import * ...at the bottom of ElementTree.py sort of overwrites the docstrings of the Python module. So if yo

[issue8489] Support UTF8SMTP as part of RFC 5336 in smptlib

2013-02-23 Thread David Lam
David Lam added the comment: looks like RFC 6531 obsoletes 5336 --> http://datatracker.ietf.org/doc/rfc6531/ (6531 says its the "Proposed Standard", whereas 5336 says its "Experimental" etc etc) -- ___ Python tracker

[issue16954] Add docstrings for ElementTree module

2013-02-28 Thread David Lam
David Lam added the comment: here's an updated patch incorporating the feedback from Ezio and Eric: - moved docstrings put in some __special__ method names - made the description of 'tag' consistent: 'tag' means the elements name (as opposed to 'tag

[issue17514] Add the license to argparse.py

2013-03-21 Thread David James
New submission from David James: Lib/argparse.py [1] doesn't mention a license in it. Could you please add a license to it? According to the argparse project [2], argparse is licensed under the Python license. Chromium OS uses argparse. If you would add information about the licen

[issue17525] os.getcwd() fails on cifs share

2013-03-22 Thread David Cuddihy
New submission from David Cuddihy: Calls to os.getcwd() can fail if issued from a cifs-mounted directory once any of the files or subdirectories have been changed remotely. To recreate this: on Linux, mount a windows share using the mount.cifs command. cd to the share and run python

[issue17580] ctypes: ARM hardfloat argument corruption calling functions with many float arguments

2013-03-30 Thread David Schneider
New submission from David Schneider: This issue affects C functions with many float/double arguments called through ctypes on ARM using the hardfloat ABI (i.e. the standard distribution for the raspberry pi uses hard-float). Calling a C function using ctypes on ARM hard-float that takes a

[issue17701] Improving strftime documentation

2013-04-11 Thread David Wolever
New submission from David Wolever: The current strftime documentation isn't very helpful. It doesn't have examples, and the ordering is unhelpful. I've also moved some format-specific notes into the notes below the format-string-table, because the format string table is what

[issue17701] Improving strftime documentation

2013-04-11 Thread David Wolever
Changes by David Wolever : Added file: http://bugs.python.org/file29785/strftime-docs.diff ___ Python tracker <http://bugs.python.org/issue17701> ___ ___ Python-bug

[issue17701] Improving strftime documentation

2013-04-11 Thread David Wolever
David Wolever added the comment: Ah, yes — thanks Éric. I've fiddled with the wording on the %f note a bit so it makes more sense along with the versionadded, and removed the versionadded text, which is basically identical to the note and descri

[issue17701] Improving strftime documentation

2013-04-13 Thread David Wolever
Changes by David Wolever : -- hgrepos: +182 ___ Python tracker <http://bugs.python.org/issue17701> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17701] Improving strftime documentation

2013-04-13 Thread David Wolever
Changes by David Wolever : Added file: http://bugs.python.org/file29836/b3b1dcdc8cee.diff ___ Python tracker <http://bugs.python.org/issue17701> ___ ___ Python-bugs-list m

[issue17701] Improving strftime documentation

2013-04-13 Thread David Wolever
Changes by David Wolever : Removed file: http://bugs.python.org/file29836/b3b1dcdc8cee.diff ___ Python tracker <http://bugs.python.org/issue17701> ___ ___ Python-bug

[issue17701] Improving strftime documentation

2013-04-13 Thread David Wolever
Changes by David Wolever : Added file: http://bugs.python.org/file29839/ae18c5ae2c4d.diff ___ Python tracker <http://bugs.python.org/issue17701> ___ ___ Python-bugs-list m

[issue17701] Improving strftime documentation

2013-04-13 Thread David Wolever
David Wolever added the comment: Ok, I've added some locale examples and fixed up the note numbering. See diff in file29839, and there is a live version to preview here: http://hul.wolever.net/python-doc/library/datetime.html#strftime-and-strptime-behavior If I can get a +1 on this, I&#x

[issue17701] Improving strftime documentation

2013-04-13 Thread David Wolever
Changes by David Wolever : Added file: http://bugs.python.org/file29841/53a0e908f787.diff ___ Python tracker <http://bugs.python.org/issue17701> ___ ___ Python-bugs-list m

[issue17701] Improving strftime documentation

2013-04-13 Thread David Wolever
David Wolever added the comment: Fixed a misleading note about Unicode in localized formatters in file29841. -- ___ Python tracker <http://bugs.python.org/issue17

[issue16954] Add docstrings for ElementTree module

2013-04-14 Thread David Lam
David Lam added the comment: Hi Eli, I sure would! (Though, if anyone finds this issue and can figure out a solution, I'd encourage them to post it!) -- ___ Python tracker <http://bugs.python.org/is

[issue17775] Error with Hello, World in 3.3.1

2013-04-17 Thread David Walker
New submission from David Walker: I'm brand new to Python (and programming in general) and I'm reading "Python for Dummies" while trying to learn this. I downloaded 3.3.1 and when I entered the command >>> print "Hello, World!" it would give the follow

[issue17775] Error with Hello, World in 3.3.1

2013-04-17 Thread David Walker
Changes by David Walker : -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/issue17775> ___ ___ Python-bugs-list

[issue17832] pythonrun.c:_print_total_refs missing prototype

2013-04-24 Thread David Edelsohn
Changes by David Edelsohn : -- components: Interpreter Core nosy: David.Edelsohn priority: normal severity: normal status: open title: pythonrun.c:_print_total_refs missing prototype type: compile error versions: Python 3.4 ___ Python tracker <h

[issue17832] pythonrun.c:_print_total_refs missing prototype

2013-04-24 Thread David Edelsohn
David Edelsohn added the comment: A build warning from the PowerLinux buildbot http://buildbot.python.org/all/builders/PPC64%20PowerLinux%203.x/builds/3/steps/compile/logs/stdio gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -m64 -m64 -I. -IInclude -I./Include

[issue17832] pythonrun.c:_print_total_refs missing prototype

2013-04-24 Thread David Edelsohn
David Edelsohn added the comment: CPython configured with --with-pydebug -- ___ Python tracker <http://bugs.python.org/issue17832> ___ ___ Python-bugs-list mailin

[issue17833] test_gdb broken PPC64 Linux

2013-04-24 Thread David Edelsohn
New submission from David Edelsohn: Verify that "py-bt" indicates threads that are waiting for the GIL ... FAIL FAIL: test_threads (test.test_gdb.PyBtTests) Verify that "py-bt" indicates threads that are

[issue17833] test_gdb broken PPC64 Linux

2013-04-24 Thread David Edelsohn
David Edelsohn added the comment: Unoptimized debug build (configured using --with-pydebug). Buildbot test failure running on gcc110 in GCC Compile Farm (running Fedora). gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -m64

[issue17835] test_io broken on PPC64 Linux

2013-04-24 Thread David Edelsohn
New submission from David Edelsohn: Unoptimized debug build (configured using --with-pydebug). gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -m64 test_interrupted_write_retry_buffered (test.test_io.CSignalsTest) ... ERROR test_interrupted_write_retry_text

[issue17835] test_io broken on PPC64 Linux

2013-04-24 Thread David Edelsohn
David Edelsohn added the comment: >>> import fcntl, os >>> r, w = os.pipe() >>> fcntl.fcntl(w, 1032) 1048576 -- ___ Python tracker <htt

[issue17835] test_io broken on PPC64 Linux

2013-04-24 Thread David Edelsohn
David Edelsohn added the comment: >>> r, w = os.pipe() >>> fcntl.fcntl(r, 1031, 1000) 65536 -- ___ Python tracker <http://bugs.python.org/issue17835> ___ ___

[issue17833] test_gdb broken PPC64 Linux

2013-04-24 Thread David Edelsohn
Changes by David Edelsohn : Added file: http://bugs.python.org/file30006/test_gdb.out ___ Python tracker <http://bugs.python.org/issue17833> ___ ___ Python-bugs-list m

[issue17833] test_gdb broken PPC64 Linux

2013-04-24 Thread David Edelsohn
David Edelsohn added the comment: __pthread_cond_timedwait with underscore may be a general GLibc change. The patch fixes the failure. -- ___ Python tracker <http://bugs.python.org/issue17

[issue17835] test_io broken on PPC64 Linux

2013-04-24 Thread David Edelsohn
David Edelsohn added the comment: The patch limiting the pipe size resolves the test_io failure. Either of the approaches should work. -- ___ Python tracker <http://bugs.python.org/issue17

[issue17835] test_io broken on PPC64 Linux

2013-04-24 Thread David Edelsohn
David Edelsohn added the comment: The PIPE_MAX_SIZE patch also fixes the failure. -- ___ Python tracker <http://bugs.python.org/issue17835> ___ ___ Python-bug

[issue17833] test_gdb broken PPC64 Linux

2013-04-25 Thread David Edelsohn
David Edelsohn added the comment: Thanks for explaining the issue with GLibc symbols. The Python test definitely should not fail if debugging symbols are installed. The "dot" symbols should no longer occur with modern PowerLinux installations. They were a carry-over from the

[issue17837] Support for building on ppc64p7

2013-04-25 Thread David Edelsohn
David Edelsohn added the comment: A POWER7 optimized build is fine, but how does recognizing an additional name help? I assume this is just a first step before generating different compiler options based on the name. -- ___ Python tracker <h

[issue17837] Support for building on ppc64p7

2013-04-25 Thread David Edelsohn
David Edelsohn added the comment: If I understand correctly, config.sub is imported from upstream FSF project. I do not know how much CPython diverges from the upstream file and merges in local changes. I'm still a little confused about what this patch accomplishes. One can configure

[issue17837] Support for building on ppc64p7

2013-04-26 Thread David Edelsohn
David Edelsohn added the comment: If you look at the top of config.sub it says: # Please send patches with a ChangeLog entry to config-patc...@gnu.org. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD I

[issue17837] Support for building on ppc64p7

2013-04-26 Thread David Edelsohn
David Edelsohn added the comment: I meant I don't see the equivalent of your patch in the upstream repository, so no one from the Fedora community appears to have contributed something equivalent yet. -- ___ Python tracker <http://bugs.py

[issue17919] AIX POLLNVAL definition causes problems

2013-05-06 Thread David Edelsohn
David Edelsohn added the comment: That's the way AIX allocated the bits. It's nice to check for overflow, but I think the test is imposing more semantics on the mask bits than POSIX requires. It just happens that the GLibc allocation of bits work

[issue17926] PowerLinux dbm failure in 2.7

2013-05-07 Thread David Edelsohn
Changes by David Edelsohn : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue17926> ___ ___ Python-bugs-list mailing list Unsubscri

[issue17926] PowerLinux dbm failure in 2.7

2013-05-07 Thread David Edelsohn
New submission from David Edelsohn: The PowerLinux buildslave fails in test_dbm:test_keys() because of a problem with the "in" operator. >>> import dbm >>> d = dbm.open('t','c') >>> a = [('a', 'b'), (

[issue17926] PowerLinux dbm failure in 2.7

2013-05-07 Thread David Edelsohn
Changes by David Edelsohn : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue17926> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17926] PowerLinux dbm failure in 2.7

2013-05-07 Thread David Edelsohn
David Edelsohn added the comment: My example and test_dbm succeeds on Python2.7 with your patch applied. Thanks! -- ___ Python tracker <http://bugs.python.org/issue17

<    13   14   15   16   17   18   19   20   21   22   >