[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +fche, scox ___ Python tracker <http://bugs.python.org/issue14776> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8330] Failures seen in test_gdb on buildbots

2012-05-16 Thread Dave Malcolm
Dave Malcolm added the comment: Oops; closing. Thanks. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Dave Malcolm added the comment: > I tried the patch under Mageia 1 and got the following failure: Thanks. I'm attaching an updated patch which reworks test_systemtap so that (a) it turns up the verbosity of stap invocations from "-v" to "-vv" (b) it tests the &q

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Dave Malcolm added the comment: On Wed, 2012-05-16 at 16:41 +, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > I tried the patch under Mageia 1 and got the following failure: > > test_systemtap skipped -- Test systemtap script did not run; stderr was: >

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Dave Malcolm added the comment: (Sorry about msg160913; looks like my initial email response took about an hour to get through, and I'd subsequently commented using the webui form) -- ___ Python tracker <http://bugs.python.org/is

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Changes by Dave Malcolm : -- Removed message: http://bugs.python.org/msg160913 ___ Python tracker <http://bugs.python.org/issue14776> ___ ___ Python-bugs-list m

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Changes by Dave Malcolm : -- Removed message: http://bugs.python.org/msg160914 ___ Python tracker <http://bugs.python.org/issue14776> ___ ___ Python-bugs-list m

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Changes by Dave Malcolm : Removed file: http://bugs.python.org/file25615/cpython-systemtap-2012-05-16-001.patch ___ Python tracker <http://bugs.python.org/issue14

[issue14776] Add SystemTap static markers

2012-05-17 Thread Dave Malcolm
Dave Malcolm added the comment: Thanks. I too am wondering where the documentation should go. We currently have several locations for documentation: (1) the man page (2) the "Doc" subdirectory aka docs.python.org (3) various text files in the source tree, su

[issue14443] Distutils test_bdist_rpm failure

2012-05-29 Thread Dave Malcolm
Dave Malcolm added the comment: I'm able to reproduce this on a RHEL 6 box, and I did some investigating. The stray .pyc files are indeed reported by "file" as "python 2.6 byte-compiled" so yes, it's using /usr/bin/python to byte-compile them On RHEL 6, with

[issue14776] Add SystemTap static markers

2012-06-21 Thread Dave Malcolm
Dave Malcolm added the comment: I'm attaching an updated version of the patch; I hope there's still time before Saturday to get it into 3.3 I found a bug in the configure script in the old patch: /usr/bin/dtrace was required, even without requesting systemtap. I've fixed it

[issue14785] Add sys._debugmallocstats()

2012-06-22 Thread Dave Malcolm
Changes by Dave Malcolm : -- keywords: -needs review resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue14443] Distutils test_bdist_rpm failure

2012-06-25 Thread Dave Malcolm
Dave Malcolm added the comment: The approach Nick suggests seems reasonable, but rpm.expandMacro isn't usable: there's no guarantee that the machine has Python bindings for rpm installed (especially not for the version of Python that we've just built). However, we can get

[issue14443] Distutils test_bdist_rpm failure

2012-06-25 Thread Dave Malcolm
Dave Malcolm added the comment: (with the patch, it also continues to work on a test Fedora 15 box) -- ___ Python tracker <http://bugs.python.org/issue14

[issue15110] strange Tracebacks with importlib

2012-06-25 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue15110> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14443] Distutils test_bdist_rpm failure

2012-06-26 Thread Dave Malcolm
Dave Malcolm added the comment: Fixes committed to 3.2 and default: RHEL 6.3 is now green for both branches. Closing this bug out. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python track

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-06-27 Thread Dave Chambers
New submission from Dave Chambers : The current mimetypes.read_windows_registry() enums the values under HKCR\MIME\Database\Content Type However, this is the key for mimetype to extension lookups, NOT for extension to mimetype lookups. As a result, when >1 MIME types are mapped to a particu

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-06-27 Thread Dave Chambers
Dave Chambers added the comment: My first diff file... I hope I did it right :) -- keywords: +patch Added file: http://bugs.python.org/file26181/mimetypes.py.diff ___ Python tracker <http://bugs.python.org/issue15

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-06-27 Thread Dave Chambers
Dave Chambers added the comment: I added a diff file to the bug. Dunno if that's the same as a patch file, or how to create a patchfile if it's not. >Do you know if image/x-png and image/png are included in the registry on all > windows versions? I think your question is

[issue12605] Enhancements to gdb 7 debugging hooks

2012-06-27 Thread Dave Malcolm
Dave Malcolm added the comment: I believe this was due to this line: return self._gdbframe.name().startswith('pthread_cond_timedwait') within is_waiting_for_gil(), and your gdb returned None for self._gdbframe.name() for your build. I've changed it to: name = self._gdbfra

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-06-27 Thread Dave Chambers
Changes by Dave Chambers : Added file: http://bugs.python.org/file26185/mimetypes.py.diff.u ___ Python tracker <http://bugs.python.org/issue15207> ___ ___ Python-bug

[issue15247] io.open() is inconsistent re os.open()

2012-07-06 Thread Dave King
Changes by Dave King : -- nosy: +davbo ___ Python tracker <http://bugs.python.org/issue15247> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9458] xml.etree.ElementTree.ElementTree.write(): encoding handling problems

2012-07-06 Thread Dave Abrahams
Dave Abrahams added the comment: I won't get to this, FYI. -- ___ Python tracker <http://bugs.python.org/issue9458> ___ ___ Python-bugs-list mailing list

[issue15516] exception-handling bug in PyString_Format

2012-07-31 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue15516> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15531] os.path symlink docs missing

2012-08-01 Thread Dave Abrahams
New submission from Dave Abrahams: the docs for os.path don't mention the following facts which I think are important (in fact I assumed the facts would be the reverse): os.path.realpath(l) works when l is a broken symbolic link, returning the path to the (missing) target os.path.readl

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2012-08-01 Thread Dave Malcolm
Dave Malcolm added the comment: Note to self: a messy way of forcing gdb to do the equivalent of a breakpoint directly from Python is: os.kill(os.getpid(), signal.SIGTRAP) -- ___ Python tracker <http://bugs.python.org/issue9

[issue15536] re.split doesn't respect MULTILINE

2012-08-02 Thread Dave Abrahams
New submission from Dave Abrahams: This session demonstrates. See especially the very last expression evaluated >>> s='''this is the end s='''this is the end ... your only friend your only friend ... the end''' the end''' >

[issue15537] MULTILINE confuses re.split

2012-08-02 Thread Dave Abrahams
New submission from Dave Abrahams: compare the output of $ python -c "open('/tmp/tst','w').write(100*'x\n');import re;print len(re.split('\n(?=x)', open('/tmp/tst').read()))" 100 with $ python -c "open('/tmp/tst',&#

[issue15540] Python 3.3 and numpy

2012-08-02 Thread Dave Malcolm
New submission from Dave Malcolm: I've been trying to get numpy working with Python 3.3, and to so I had to make some changes to CPython - hence I'm posting this to the Python bug tracker. numpy pokes at the insides of PyUnicodeObject in a few places and is thus affected by t

[issue15540] Python 3.3 and numpy

2012-08-02 Thread Dave Malcolm
Changes by Dave Malcolm : Added file: http://bugs.python.org/file26669/hack-out-test-against-MAX_UNICODE-from-cpython-3.3.patch ___ Python tracker <http://bugs.python.org/issue15

[issue15540] Python 3.3 and numpy

2012-08-02 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +haypo, loewis ___ Python tracker <http://bugs.python.org/issue15540> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15540] Python 3.3 and numpy

2012-08-02 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +ncoghlan ___ Python tracker <http://bugs.python.org/issue15540> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15540] Python 3.3 and numpy

2012-08-02 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +teoliphant ___ Python tracker <http://bugs.python.org/issue15540> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15537] MULTILINE confuses re.split

2012-08-02 Thread Dave Abrahams
Dave Abrahams added the comment: Dang! Thanks, and sorry for wasting everyone's time on this. -- ___ Python tracker <http://bugs.python.org/issue15537> ___ ___

[issue15531] os.path symlink docs missing

2012-08-04 Thread Dave Abrahams
Dave Abrahams added the comment: MacOS 10.7 -- ___ Python tracker <http://bugs.python.org/issue15531> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15531] os.path symlink docs missing

2012-08-05 Thread Dave Abrahams
Dave Abrahams added the comment: on Sat Aug 04 2012, Larry Hastings wrote: > Larry Hastings added the comment: > > What does the following script print out? > > import os > > os.chdir('/tmp') > os.symlink('--success--', 'foo') > print(&q

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2012-08-07 Thread Dave Malcolm
Dave Malcolm added the comment: On Tue, 2010-11-02 at 17:25 +, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > I would rename Py_BREAKPOINT to _Py_BREAKPOINT since we don't really want to > support this. Also, why do you allow any arguments to sys._breakpoin

[issue15610] PyImport_ImportModuleEx always fails in 3.3 with "ValueError: level must be >= 0"

2012-08-09 Thread Dave Malcolm
New submission from Dave Malcolm: I've been testing various 3rd-party python code against 3.3b1, and see ValueError: level must be >= 0 exceptions where C code is using PyImport_ImportModuleEx. PyImport_ImportModuleEx reads as 63 #define PyImport_ImportModuleEx(n, g, l, f)

[issue15610] PyImport_ImportModuleEx always fails in 3.3 with "ValueError: level must be >= 0"

2012-08-09 Thread Dave Malcolm
Dave Malcolm added the comment: (FWIW, this was observed when compiling pygobject-3.3.4 against Python-3.3.0b1) -- ___ Python tracker <http://bugs.python.org/issue15

[issue15610] PyImport_ImportModuleEx always fails in 3.3 with "ValueError: level must be >= 0"

2012-08-09 Thread Dave Malcolm
Dave Malcolm added the comment: On Thu, 2012-08-09 at 21:04 +, STINNER Victor wrote: > STINNER Victor added the comment: > > Oh, I didn't realize that the documentation says that the default value is -1. > http://docs.python.org/library/functions.html#__import__ >

[issue15778] str(ImportError(b'foo')) fails

2012-08-24 Thread Dave Malcolm
New submission from Dave Malcolm: In Python 3.2 and earlier: >>> str(ImportError(b'foo')) "b'foo'" In Python 3.3: >>> str(ImportError(b'foo')) Traceback (most recent call last): File "", line 1, in TypeError: __str__ retu

[issue15778] str(ImportError(b'foo')) fails

2012-08-24 Thread Dave Malcolm
Dave Malcolm added the comment: Sorry, it's 6825fd9b00ed -- ___ Python tracker <http://bugs.python.org/issue15778> ___ ___ Python-bugs-list mailing list

[issue15778] str(ImportError(b'foo')) fails

2012-08-24 Thread Dave Malcolm
Changes by Dave Malcolm : -- keywords: +patch Added file: http://bugs.python.org/file26988/fix-str-of-bogus-ImportError.patch ___ Python tracker <http://bugs.python.org/issue15

[issue15778] str(ImportError(b'foo')) fails

2012-08-24 Thread Dave Malcolm
Dave Malcolm added the comment: (patch added) -- stage: -> patch review ___ Python tracker <http://bugs.python.org/issue15778> ___ ___ Python-bugs-list mai

[issue16191] ceval cleanup

2012-10-12 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue16191> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21151] winreg.SetValueEx causes crash if value = None

2014-04-03 Thread Dave Odell
New submission from Dave Odell: Here's a small program that crashes Python 3. import winreg winreg.SetValueEx(winreg.HKEY_CURRENT_USER, 'Value', 0, 3, None) I get a 0xC374 exception (STATUS_HEAP_CORRUPTION) when trying to run this. Here's a stack dump: (snip) ntdll.dl

[issue21151] winreg.SetValueEx causes crash if value = None

2014-04-16 Thread Dave Odell
Dave Odell added the comment: Patch works on my end. -- ___ Python tracker <http://bugs.python.org/issue21151> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21289] make.bat not building documentation

2014-04-17 Thread Dave Sawyer
New submission from Dave Sawyer: With Python 3.5, some refactoring of the documentation structure has been done. Building the documentation targets directly works, but using the supplied make.bat fails, not finding the sphinx python file. -- assignee: docs@python components

[issue21289] make.bat not building documentation

2014-04-17 Thread Dave Sawyer
Changes by Dave Sawyer : -- type: compile error -> behavior ___ Python tracker <http://bugs.python.org/issue21289> ___ ___ Python-bugs-list mailing list Un

[issue21289] make.bat not building documentation

2014-04-17 Thread Dave Sawyer
Changes by Dave Sawyer : -- keywords: +patch Added file: http://bugs.python.org/file34954/mywork.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21289] make.bat not building documentation

2014-04-17 Thread Dave Sawyer
Dave Sawyer added the comment: Removed the use of python in the make, calling the sphinx-build executable. Also the Doc directory was called "Docs" in the readme.txt -- ___ Python tracker <http://bugs.python.o

[issue15414] os.path.join behavior on Windows (ntpath.join) is unexpected and not well documented

2014-04-17 Thread Dave Sawyer
Dave Sawyer added the comment: http://bugs.python.org/issue1669539 has been partially fixed. On Windows os.path.join('foo', 'a:bar') gives 'a:bar' not 'foo\\a:bar'. However os.path.isabs('a:bar') returns False yet it causes a reset in the joi

[issue15414] os.path.join behavior on Windows (ntpath.join) is unexpected and not well documented

2014-04-17 Thread Dave Sawyer
Changes by Dave Sawyer : -- keywords: +patch Added file: http://bugs.python.org/file34956/joindoc.patch ___ Python tracker <http://bugs.python.org/issue15

[issue15414] os.path.join behavior on Windows (ntpath.join) is unexpected and not well documented

2014-04-17 Thread Dave Sawyer
Changes by Dave Sawyer : -- versions: +Python 3.4, Python 3.5 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue15414> ___ ___

[issue21289] make.bat not building documentation

2014-04-17 Thread Dave Sawyer
Changes by Dave Sawyer : Added file: http://bugs.python.org/file34957/mywork.patch ___ Python tracker <http://bugs.python.org/issue21289> ___ ___ Python-bugs-list mailin

[issue21289] make.bat not building documentation

2014-04-17 Thread Dave Sawyer
Dave Sawyer added the comment: Thanks Zach! The bug tracker was nice enough to prompt me to go look in my email for the agreement too. -- ___ Python tracker <http://bugs.python.org/issue21

[issue21289] make.bat not building documentation

2014-04-18 Thread Dave Sawyer
Dave Sawyer added the comment: Thanks Zach, I'm used to Git and this was my first foray with Hg and trying to rebase (I knew I shoulda branched before starting on another patch). BTW, the devs at PyCon Montreal said "Zach's a good guy. One of maybe 4 Window

[issue14776] Add SystemTap static markers

2014-05-19 Thread Dave Malcolm
Dave Malcolm added the comment: On Mon, 2014-05-19 at 11:10 +, Bohuslav "Slavek" Kabrda wrote: > Bohuslav "Slavek" Kabrda added the comment: > > Hi, > I'd like to take this over after Dave Malcolm. I don't see any issues that > haven't be

[issue14776] Add SystemTap static markers

2014-05-19 Thread Dave Malcolm
Dave Malcolm added the comment: On Mon, 2014-05-19 at 14:15 +, Dave Malcolm wrote: > Dave Malcolm added the comment: > > On Mon, 2014-05-19 at 11:10 +, Bohuslav "Slavek" Kabrda wrote: > > Bohuslav "Slavek" Kabrda added the comment: > > > >

[issue21590] Systemtap and DTrace support

2014-05-27 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue21590> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-11-29 Thread Dave Malcolm
Dave Malcolm added the comment: In my Fedora Python packages I've been applying this patch: http://pkgs.fedoraproject.org/cgit/python.git/plain/00156-gdb-autoload-safepath.patch which uses this code fragment to detect if gdb has the autoload safe path code, rather than trying to guess it

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2012-12-04 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue16612> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15516] exception-handling bug in PyString_Format

2012-12-05 Thread Dave Malcolm
Changes by Dave Malcolm : -- stage: -> patch review ___ Python tracker <http://bugs.python.org/issue15516> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13390] Hunt memory allocations in addition to reference leaks

2012-12-06 Thread Dave Malcolm
Dave Malcolm added the comment: Minor bikeshedding/spelling nit: should "_Py_AllocedBlocks" be changed to "_Py_AllocatedBlocks" (and s/_Py_GetAllocedBlocks/_Py_GetAllocatedBlocks/)? -- ___ Python tracker <http://bug

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-07 Thread Dave Chambers
Dave Chambers added the comment: Disappointing that "faster but broken" is preferable to "slower but fixed" -- ___ Python tracker <http://bug

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-07 Thread Dave Chambers
Dave Chambers added the comment: Seems to me that some hybrid would be a good solution: Hardcode the known types (which solves the "windows is just wrong" case) then as a default look in the registry for those that aren't hardcoded. Therefore the hit of additional time would onl

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-09 Thread Dave Chambers
Dave Chambers added the comment: > removing read_windows_registry() If you're suggesting hardcoding *ALL* the mimetypes for *ALL* OSes, I think that's probably the best overall solution. No variability, as fast as can be. The downside is that there would occasionally be an unre

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-10 Thread Dave Chambers
Dave Chambers added the comment: (I'm a windows dev type) I would say that there are 2 issues with relying on the registry: 1) Default values (ie. set by Windows upon OS install) are broken and MS never fixes them. 2) The values can be changed at any time, by any app. Thus the value

[issue17124] import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, & 2.6.6

2013-02-04 Thread Dave Jones
New submission from Dave Jones: import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, & 2.6.6 I'm running this test from a LiveCD to make sure the environment is relatively clean. -- localhost Desktop # python --version Pyt

[issue17124] import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, & 2.6.6

2013-02-04 Thread Dave Jones
Dave Jones added the comment: That line (1) seems to pop up every time the subprocess call "hangs" -- ___ Python tracker <http://bugs.python.o

[issue17124] import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, & 2.6.6

2013-02-04 Thread Dave Jones
Dave Jones added the comment: Distros tested with include Funduntu 2012-4, Fuduntu 2013-1, Fedora 17, Scientific Linux 6.3 & OpenSUSE 12.2 (all 32-bit) on the same hardware. -- ___ Python tracker <http://bugs.python.org/iss

[issue17124] import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, & 2.6.6

2013-02-04 Thread Dave Jones
Dave Jones added the comment: I think I found something but I do not know what it means. Everytime the import hangs, it seems to leave behind a "time.pyc" There are only 29 files in this directory. [jonesda0@linux-2py2 pycode]$ ls -1tr py5.py* py4.py* py3.py* py2.py* py1.py* pri

[issue17124] import subprocess hangs for ~25 seconds, time.py file in dir - py 2.7.3, & 2.6.6

2013-02-04 Thread Dave Jones
Dave Jones added the comment: Tried to edit subject to make it easier to search -- title: import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, & 2.6.6 -> import subprocess hangs for ~25 seconds, time.py file in dir - py 2.7.3,

[issue17124] import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, & 2.6.6

2013-02-04 Thread Dave Jones
Dave Jones added the comment: Hello Ian. Thank you for the reply. As I imagine you understand, I delete the "time.pyc" file every time it comes back. That being said, there *is* a "time.py" script in there from some testing I was doing: [jonesda0@toshiba pycode]$ ls -1

[issue19743] test_gdb failures

2013-11-25 Thread Dave Malcolm
Dave Malcolm added the comment: FWIW, I feel that it's worth just expecting failures with an *optimized* build: with an optimizing compiler, there's likely to always be some program counter location where the debugger is going to get confused for some variables. Given umpteen

[issue19901] tests fail due to unsupported SO_REUSEPORT when building Python 3.3.2-r2

2013-12-05 Thread Dave Malcolm
Dave Malcolm added the comment: [FWIW, this looks similar to an issue I ran into on Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=913732 which was due to a mismatch between the kernel headers on the system vs the actually running kernel. I patched around it there with a downstream-only

[issue20162] Test test_hash_distribution fails on RHEL 6.5 / ppc64

2014-01-07 Thread Dave Malcolm
Dave Malcolm added the comment: On Tue, 2014-01-07 at 16:30 +, Yury V. Zaytsev wrote: > Yury V. Zaytsev added the comment: > > After lots of fiddling, I can tell you what's wrong with the macro: > apparently it's a compiler bug, visible at -O2 and disappearing at -O1

[issue6662] HTMLParser.HTMLParser doesn't handle malformed charrefs

2009-08-06 Thread Dave Day
New submission from Dave Day : When HTMLParser.HTMLParser encounters a malformed charref (for example &#bad;) it no longer parsers the following HTML correctly. For example: &#bad; Recognises the starttag "p" but considers the rest to be data. To reprodu

[issue6508] expose setresuid

2009-09-16 Thread Dave Malcolm
Dave Malcolm added the comment: > I cannot test this in my current environment because I'm stuck with Red > Hat and it does not have a recent enough automake to re-create configure > from configure.in. FWIW, it may be an _autoconf_ version issue; I'm able to recreate

[issue4111] Add DTrace probes

2009-09-18 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue4111> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5753] CVE-2008-5983 python: untrusted python modules search path

2009-10-16 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue5753> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1068268] subprocess is not EINTR-safe

2009-10-16 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue1068268> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4216] subprocess.Popen hangs at communicate() when child exits

2009-10-16 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue4216> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7187] importlib/_bootstrap.py write_bytecode fails if it can't open the .pyc file for writing

2009-10-22 Thread Dave Malcolm
New submission from Dave Malcolm : I'm working on an RPM package of Python 3.1.1 for Fedora [1]. Within my RPMs are precompiled .pyc and .pyo files that are not writable by users, and are hardlinked together if they have equal content. For example: $ ls -al /usr/lib/python3.1/tk

[issue7187] importlib/_bootstrap.py write_bytecode raises an IOError if it can't open the .pyc file for writing

2009-10-22 Thread Dave Malcolm
Changes by Dave Malcolm : -- title: importlib/_bootstrap.py write_bytecode fails if it can't open the .pyc file for writing -> importlib/_bootstrap.py write_bytecode raises an IOError if it can't open the .pyc file for writing ___ P

[issue7187] importlib/_bootstrap.py write_bytecode raises an IOError if it can't open the .pyc file for writing

2009-10-23 Thread Dave Malcolm
Dave Malcolm added the comment: Aha! Thanks pitrou, looks like I managed to mess up my packaging (I was wondering why no no-one else had run into this, looks like no-one else made this mistake!). -- ___ Python tracker <http://bugs.python.

[issue4359] at runtime, distutils uses buildtime files

2009-10-30 Thread Dave Malcolm
Dave Malcolm added the comment: For Fedora, I've fixed this (I hope) by special-casing those two files: %{_libdir}/python%{pybasever}/config/Makefile /usr/include/python2.6/pyconfig-{32|64}.h making them part of the core python package. See downstream bug here: https://bugzilla.redha

[issue4359] at runtime, distutils uses buildtime files

2009-10-30 Thread Dave Malcolm
Dave Malcolm added the comment: > For Fedora, I've fixed this (I hope) by special-casing those two files: Sorry; for "fixed", read "addressed"; this covers part 1 of the issue, but not part 2. -- ___ Python trac

[issue2422] Automatically disable pymalloc when running under valgrind

2009-11-10 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue2422> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7353] Why was Include/intobject.h removed in 3.1?

2009-11-18 Thread Dave Malcolm
New submission from Dave Malcolm : I'm attempting to package Python 3 for a Linux distribution, together with a stack of python extension modules; I'm currently using Python-3.1.1. (see https://fedoraproject.org/wiki/Features/Python3F13 ) Many of these extension modules ar

[issue1169193] Handle ungzipped man pages in rpm builds correctly

2009-11-22 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue1169193> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1448060] gettext.py breaks on plural-forms header (PATCH)

2009-12-02 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker <http://bugs.python.org/issue1448060> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7425] [PATCH] Improve the robustness of "pydoc -k" in the face of broken modules

2009-12-02 Thread Dave Malcolm
New submission from Dave Malcolm : I see occasional failures where a broken module prevents "pydoc -k" ("apropos") from working. Examples of failures (from our downstream bug tracker) are: https://bugzilla.redhat.com/show_bug.cgi?id=461419 : "pydoc -k&

[issue7543] RFE: introduce "enum Py_Opcode"

2009-12-18 Thread Dave Malcolm
New submission from Dave Malcolm : Currently, Python's opcodes are defined as preprocessor #defines. This means that they are invisible to the debugger. I'm attaching: (i) a simple script (fixup-opcode-header.py) which converts Include/opcode.h to use an anonymous enum for

[issue7543] RFE: introduce "enum Py_Opcode"

2009-12-18 Thread Dave Malcolm
Changes by Dave Malcolm : Added file: http://bugs.python.org/file15598/fixup-opcode-header.py ___ Python tracker <http://bugs.python.org/issue7543> ___ ___ Python-bug

[issue7543] RFE: introduce "enum Py_Opcode"

2009-12-18 Thread Dave Malcolm
Changes by Dave Malcolm : Added file: http://bugs.python.org/file15599/opcode.h ___ Python tracker <http://bugs.python.org/issue7543> ___ ___ Python-bugs-list mailin

[issue7543] RFE: introduce "enum Py_Opcode"

2009-12-18 Thread Dave Malcolm
Changes by Dave Malcolm : -- keywords: +patch Added file: http://bugs.python.org/file15600/opcode.h.patch ___ Python tracker <http://bugs.python.org/issue7

[issue7543] RFE: introduce "enum Py_Opcode"

2009-12-18 Thread Dave Malcolm
Changes by Dave Malcolm : Added file: http://bugs.python.org/file15601/use-opcode-enum.patch ___ Python tracker <http://bugs.python.org/issue7543> ___ ___ Python-bug

[issue7543] RFE: introduce "enum Py_Opcode"

2009-12-18 Thread Dave Malcolm
Dave Malcolm added the comment: Ooops, sorry; in an earlier version of this work, I was generating an enum of the form: enum { }; i.e. without an identifier (an anonymous enum) which I later changed to: enum Py_Opcode { }; Mea culpa; I forgot to update the text for this bug when I

[issue7543] RFE: introduce "enum Py_Opcode"

2009-12-18 Thread Dave Malcolm
Changes by Dave Malcolm : Added file: http://bugs.python.org/file15602/diff-in-generated-assembler-for-ceval.diff ___ Python tracker <http://bugs.python.org/issue7

<    1   2   3   4   5   6   7   >