[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2017-05-17 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
nosy: +jcea

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2017-03-31 Thread Donald Stufft

Changes by Donald Stufft :


--
pull_requests: +868

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-22 Thread STINNER Victor

STINNER Victor added the comment:

Thanks Naoki for the fix ;-) gdb scripts are a little bit weird sometimes, and 
the API has subtle changes in each minor GDB release :-/

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-22 Thread STINNER Victor

Changes by STINNER Victor :


--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-22 Thread STINNER Victor

STINNER Victor added the comment:

Ah nice, it seems like test_gdb pass again.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-22 Thread INADA Naoki

INADA Naoki added the comment:

Thanks a lot!

I hope I can run test on multiple environment before merge,
after we move to Github.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-22 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9b974f988c95 by Victor Stinner in branch '3.6':
Issue #28023: Fix python-gdb.py on old GDB versions
https://hg.python.org/cpython/rev/9b974f988c95

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-22 Thread STINNER Victor

STINNER Victor added the comment:

test_gdb failed on a lot of buildbots. Examples:

* http://buildbot.python.org/all/builders/PPC64%20Fedora%203.x/builds/2089
* http://buildbot.python.org/all/builders/AMD64%20Debian%20PGO%203.6/builds/330
* 
http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%20with%20X%203.6/builds/287

Extract of the Gentoo non-debug:

(...)
GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1
(...)
==
FAIL: test_NULL_ob_type (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with NULL ob_type is handled gracefully
--
Traceback (most recent call last):
  File 
"/buildbot/buildarea/3.6.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", 
line 490, in test_NULL_ob_type
'set v->ob_type=0')
  File 
"/buildbot/buildarea/3.6.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", 
line 461, in assertSane
cmds_after_breakpoint=cmds_after_breakpoint)
  File 
"/buildbot/buildarea/3.6.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", 
line 240, in get_gdb_repr
import_site=import_site)
  File 
"/buildbot/buildarea/3.6.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", 
line 218, in get_stack_trace
self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception  Can[663 
chars].: "] != []

First list contains 10 additional elements.
First extra element 0:
"Python Exception  Cannot convert value to int.: "

Diff is 745 characters long. Set self.maxDiff to None to see it.

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-22 Thread INADA Naoki

Changes by INADA Naoki :


--
resolution:  -> fixed
stage: commit review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-22 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 4f6fb9e47f6b by INADA Naoki in branch '3.6':
Issue #28023: Fix python-gdb.py didn't support new dict implementation
https://hg.python.org/cpython/rev/4f6fb9e47f6b

New changeset c51045920410 by INADA Naoki in branch 'default':
Issue #28023: Fix python-gdb.py didn't support new dict implementation
https://hg.python.org/cpython/rev/c51045920410

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-22 Thread INADA Naoki

INADA Naoki added the comment:

https://mail.python.org/pipermail/python-committers/2016-November/004065.html
> The 3.6 branch in the cpython repo is now available again but, as noted, 
> *only* for reviewed release critical fixes appropriate for the 3.6.0 final 
> and for final 3.6.0 doc updates!

So now I think I can commit this for now.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-22 Thread STINNER Victor

STINNER Victor added the comment:

dict_gdb2.patch LGTM. Can you please follow Ned's instructions to get this 
change merged into 3.6 final? python-gdb.py is an important tool and it's 
completly broken. The patch cannot make python-gdb.py worse :-D (More 
seriously, it fixes python-gdb.py.)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-21 Thread INADA Naoki

Changes by INADA Naoki :


Added file: http://bugs.python.org/file45589/dict_gdb2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-21 Thread STINNER Victor

STINNER Victor added the comment:

I reviewed dict_gdb.patch.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-21 Thread INADA Naoki

INADA Naoki added the comment:

ping

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-14 Thread INADA Naoki

INADA Naoki added the comment:

@haypo, would you review this patch?

--
versions: +Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-11-07 Thread INADA Naoki

Changes by INADA Naoki :


--
nosy: +ned.deily
priority: high -> release blocker
stage: patch review -> commit review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-10-08 Thread INADA Naoki

INADA Naoki added the comment:

Could someone review this before 3.6b2?
Without this patch, python-gdb.py causes many RuntimeError.

--
keywords: +needs review
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-10-04 Thread INADA Naoki

INADA Naoki added the comment:

I've fixed dict support of python-gdb.py.

But I found py-bt and py-bt-full are broken.  They doesn't show builtin method.
I think it's because FASTCALL.  But I'm not sure.
I just skip the test for py-bt in attached patch.

--
assignee:  -> inada.naoki
components: +Demos and Tools
keywords: +patch
priority: normal -> high
Added file: http://bugs.python.org/file44959/dict_gdb.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0bd618fe0639 by Victor Stinner in branch 'default':
Implement compact dict
https://hg.python.org/cpython/rev/0bd618fe0639

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-09-08 Thread STINNER Victor

New submission from STINNER Victor:

The issue #27350 changed the design of Python dictionaries to make them 
compact. python-gdb.py must be updated for the new structure of Python dict.

--
messages: 275058
nosy: haypo, methane
priority: normal
severity: normal
status: open
title: python-gdb.py must be updated for the new Python 3.6 compact dict
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com