[issue24921] Operator precedence table in 5.15 should be highest to lowest precedence

2015-08-24 Thread Joseph Schachner
New submission from Joseph Schachner: We should not make people who need to read Python documentation do an extra transformation in their heads to correctly understand that in section 5.15 higher precedence is at the bottom of the table and lower precedence is at the top. Because the

[issue24907] Module location load order is not respected if pkg_resources is imported and a namespace is declared

2015-08-24 Thread Vadim Kantorov
Vadim Kantorov added the comment: From my (novice) standpoint, it's very weird that importing pkg_resources in a module's __init__.py causes Python to deviate from its core module import rules / sequence. Would you consider reporting this issue to pkg_resources's authors more appropriate?

[issue24922] assertWarnsRegex doesn't allow multiple warning messages

2015-08-24 Thread Cal Leeming
New submission from Cal Leeming: There was a discussion/patch in #9754 [1]. This allows for multiple warning types as a tuple, e.g.; self.assertWarnsRegex((DeprecationWarning, RuntimeWarning), ^E1000:) However, it does not allow testing for multiple warning messages, e.g.; expect =

[issue24907] Module location load order is not respected if pkg_resources is imported and a namespace is declared

2015-08-24 Thread R. David Murray
R. David Murray added the comment: Yes, unless you can identify a python bug yourself. I believe pkg_resources does a bunch of imports when it is imported, so I'm not really surprised that it has an effect on the order in which things are imported. --

[issue24915] Profile Guided Optimization active by-default

2015-08-24 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu alecsandru.patra...@intel.com: Added file: http://bugs.python.org/file40238/python2.7-pgo-v02-mac.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24915 ___

[issue24915] Profile Guided Optimization active by-default

2015-08-24 Thread Alecsandru Patrascu
Alecsandru Patrascu added the comment: I modified the patches after the review made by Brett (python2.7-pgo-v02.patch and python3.6-pgo-v02.patch): - removed the call to pybench - left the PGO steps as optional. To use it we run make profile-opt - in the initial patches, I left out test_hashlib

[issue24915] Profile Guided Optimization active by-default

2015-08-24 Thread Stefan Krah
Stefan Krah added the comment: My initial reaction is that the default should be optimized for short build times. I would not want to type disable-profile-opt every time I'm running the tests. -- nosy: +skrah ___ Python tracker rep...@bugs.python.org

[issue24907] Module location load order is not respected if pkg_resources is imported and a namespace is declared

2015-08-24 Thread R. David Murray
R. David Murray added the comment: To be clear: I believe it imports things that are not in the standard library, based on scanning sys.path. But I haven't studied the code in depth, so I could be wrong. -- ___ Python tracker

[issue24915] Profile Guided Optimization active by-default

2015-08-24 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu alecsandru.patra...@intel.com: Added file: http://bugs.python.org/file40237/python3.6-pgo-v02.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24915 ___

[issue24921] Operator precedence table in 5.15 should be highest to lowest precedence

2015-08-24 Thread Stefan Krah
Stefan Krah added the comment: Yacc uses low to high. -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24921 ___ ___ Python-bugs-list

[issue24915] Profile Guided Optimization active by-default

2015-08-24 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu alecsandru.patra...@intel.com: Added file: http://bugs.python.org/file40236/python2.7-pgo-v02.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24915 ___

[issue24915] Profile Guided Optimization active by-default

2015-08-24 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu alecsandru.patra...@intel.com: Added file: http://bugs.python.org/file40239/python3.6-pgo-v02-mac.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24915 ___

[issue24923] Append system paths in setup.py instead of prepending

2015-08-24 Thread Chris Hogan
New submission from Chris Hogan: Setup.py evaluates what's given in LDFLAGS and CPPFLAGS and CFLAGS. These variables are the usual mechanism to communicate custom paths/libs/defs to a build process. However, setup.py puts system paths in front of custom paths which makes it impossible to use

[issue24926] Incorrect Example in HTMLParser.handle_comment(data)

2015-08-24 Thread Vineet Kumar Doshi
New submission from Vineet Kumar Doshi: Hi, link : https://docs.python.org/2/library/htmlparser.html#HTMLParser.HTMLParser.handle_comment Incorrect Line : The content of Internet Explorer conditional comments (condcoms) will also be sent to this method, so, for !--[if IE 9]IE9-specific

[issue24924] _posixsubprocess.c: sysconf() might not be async-signal-safe

2015-08-24 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24924 ___ ___

[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2015-08-24 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Removed file: http://bugs.python.org/file40241/doctest_find__test__.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24925 ___

[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2015-08-24 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Added file: http://bugs.python.org/file40242/doctest_find__test__.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24925 ___

[issue24915] Profile Guided Optimization active by-default

2015-08-24 Thread Brett Cannon
Brett Cannon added the comment: the v02 patches LGTM. I'm fine with seeing those committed as-is knowing Alecsandru is actively working towards Clang support. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org

[issue19469] Duplicate namespace package portions (but not on Windows)

2015-08-24 Thread Brett Cannon
Brett Cannon added the comment: OK, if someone finds a way to reproduce the bug in the next week then we will keep this open as active, else I'm closing it as out-of-date. -- status: open - pending ___ Python tracker rep...@bugs.python.org

[issue24926] Incorrect Example in HTMLParser.handle_comment(data)

2015-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6eb5e59886e1 by R David Murray in branch '3.4': #24926: Fix typo in example. https://hg.python.org/cpython/rev/6eb5e59886e1 New changeset ae9a9f201870 by R David Murray in branch '3.5': Merge: #24926: Fix typo in example.

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Changes by Jonas Obrist ojiido...@gmail.com: Added file: http://bugs.python.org/file40248/process_segfault.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24927 ___

[issue24926] Incorrect Example in HTMLParser.handle_comment(data)

2015-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ff53dbcdc85f by R David Murray in branch '2.7': #24926: Fix typo in example. https://hg.python.org/cpython/rev/ff53dbcdc85f -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
New submission from Jonas Obrist: When using multiprocessing.Pool, if the function run in the pool segfaults, the program will simply hang forever. However when using multiprocessing.Process directly, it runs fine, setting the exitcode to -11 as expected. I would expect the Pool to behave

[issue24926] Incorrect Example in HTMLParser.handle_comment(data)

2015-08-24 Thread R. David Murray
R. David Murray added the comment: Thanks for the report. -- nosy: +r.david.murray resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24926

[issue16123] IDLE - deprecate running without a subprocess

2015-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Torgil, thank you for the interesting feedback. I will respond to your four paragraphs slightly out of order. 1. Starting Idle with '-n', I verified that running 'print(a)' from the editor works after entering 'a=1' in the shell. The intended purpose of the

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2015-08-24 Thread Alexander Oblovatniy
New submission from Alexander Oblovatniy: Hi! Current implementation of `patch.dict` spoils order of items in `collections.OrderedDict`, because it explicitly converts passed `values` to `dict`

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2015-08-24 Thread Alexander Oblovatniy
Alexander Oblovatniy added the comment: Hi! Current implementation of `patch.dict` spoils order of items in `collections.OrderedDict`, because it explicitly converts passed `values` to `dict`

[issue24872] Add /NODEFAULTLIB:MSVCRT to _msvccompiler

2015-08-24 Thread Christoph Gohlke
Christoph Gohlke added the comment: Two findings regarding the new semi-static linking options: Distutils now creates libraries (.lib) that may not be readable by subsequent versions of Visual C++ https://msdn.microsoft.com/en-us/library/0zza0de8.aspx. Build times and static library sizes

[issue16379] SQLite error code not exposed to python

2015-08-24 Thread Daniel Shahaf
Daniel Shahaf added the comment: What's the reasoning behind offering a error code to name mapping? Allowing code that runs into an error to print the error name rather than its numeric value. This saves whoever reads the error message having to look it up himself. his seem problematic to

[issue24193] Make LOGGING_FORMAT of assertLogs configurable

2015-08-24 Thread Robert Collins
Robert Collins added the comment: I don't know if or when it was moved, but right now: ./python -m pydoc unittest.case.TestCase.assertLogs ... the docs for it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24193

[issue24193] Make LOGGING_FORMAT of assertLogs configurable

2015-08-24 Thread Michael Foord
Michael Foord added the comment: assertLogs is on a Python test suite helper, not TestCase itself. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24193 ___

[issue16123] IDLE - deprecate running without a subprocess

2015-08-24 Thread Torgil Svensson
Torgil Svensson added the comment: I frequently use IDLE as an interactive shell to Python with the Editor attached. It's very nice for this purpose as it's lightweight and embedded in Python delivery. This is only possible with -n flag as without it each press on F5 will restart the

[issue24492] using custom objects as modules: AttributeErrors new in 3.5

2015-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a9ac801f9b4 by larry in branch '3.5': Merged in brettcannon/cpython350/3.5 (pull request #2) https://hg.python.org/cpython/rev/5a9ac801f9b4 -- ___ Python tracker rep...@bugs.python.org

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2015-08-24 Thread R. David Murray
R. David Murray added the comment: Based on reading the patch.dict doct, I'm guessing that that dict call is making a copy in order to do a restore later. Perhaps replacing the dict call with a copy call would be sufficient? (I haven't looked at the dict.patch code). -- nosy:

[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2015-08-24 Thread Robert Collins
Robert Collins added the comment: Hi, just to say - I'm happy to help steer this through. I think its an important ecosystem fixup. -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24294

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Jonas Obrist added the comment: So the reason this is happening is very simple: When using Pool.apply, the task (function) is sent to the task queue, which is consumed by the worker. At this point the task is in progress. However, the worker dies without being able to finish the task or in

[issue24915] Profile Guided Optimization improvements (better training, llvm support, etc)

2015-08-24 Thread Gregory P. Smith
Gregory P. Smith added the comment: i'm updating the title to be more accurate. turning it on by default is likely not desirable as the makefile is primarily used by developers who are iterating on changes. but having it use a good workload (regrtest) and work with llvm and os x are good. :)

[issue24929] _strptime.TimeRE should not enforce range in regex

2015-08-24 Thread Steve Yeung
New submission from Steve Yeung: Currently, the regex in TimeRE enforces the numeric ranges. For example: 'm': r(?Pm1[0-2]|0[1-9]|[1-9]), As a result, an invalid month will cause an generic regex error: ValueError: time data '2015/16/5' does not match format '%Y/%m/%d' However, if we

[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2015-08-24 Thread Robert Collins
Robert Collins added the comment: On testing this - I don't think subprocess tests are necessarily needed. The scenarios are these (from Nick's comment): Test frameworks. - there are two in the standard library. unittest and doctest. - unittest's code paths end up going through 'TestProgram'.

[issue24305] The new import system makes it impossible to correctly issue a deprecation warning for a module

2015-08-24 Thread Larry Hastings
Larry Hastings added the comment: If this has been broken since 3.3, I don't think it's a release blocker for 3.5. I'm willing to consider it a bug and accept a fix, but I'd prefer it to be as low-risk as possible (aka the Python version). Can someone fix the regressions? And, if the C fix

[issue24930] test_ssl broker was fixed

2015-08-24 Thread R. David Murray
R. David Murray added the comment: Most likely you ran the test using a different version of python from the one the test is from. All the tests in that file pass on our buildbots when run by the python version they are for. -- nosy: +r.david.murray

[issue24844] Python 3.5rc1 compilation error with Apple clang 4.2 included with Xcode 4

2015-08-24 Thread Larry Hastings
Larry Hastings added the comment: Please either mark as wontfix or send me a pull request. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24844 ___

[issue24305] The new import system makes it impossible to correctly issue a deprecation warning for a module

2015-08-24 Thread Larry Hastings
Larry Hastings added the comment: The C implementation is making me nervous. My gut feeling is the Python implementation would be easier to get right. I still don't quite understand: what is the user-perceived result of this change? Module authors issuing a DeprecationWarning can now use

[issue24305] The new import system makes it inconvenient to correctly issue a deprecation warning for a module

2015-08-24 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- title: The new import system makes it impossible to correctly issue a deprecation warning for a module - The new import system makes it inconvenient to correctly issue a deprecation warning for a module

[issue24931] _asdict breaks when inheriting from a namedtuple

2015-08-24 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24931 ___ ___

[issue24911] Context manager of socket.socket is not documented

2015-08-24 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- keywords: +easy stage: - needs patch type: - enhancement versions: +Python 3.5, Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24911

[issue24931] _asdict breaks when inheriting from a namedtuple

2015-08-24 Thread Yury Selivanov
Changes by Yury Selivanov yseliva...@gmail.com: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24931 ___ ___ Python-bugs-list

[issue2786] Names in traceback should have class names, if they're methods

2015-08-24 Thread Robert Collins
Robert Collins added the comment: Forgot docs - I'll do before committing, but not worried about review of them so much. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2786 ___

[issue24305] The new import system makes it impossible to correctly issue a deprecation warning for a module

2015-08-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: I still don't quite understand: what is the user-perceived result of this change? Module authors issuing a DeprecationWarning can now use stacklevel=2 instead of stacklevel=10? Exactly. There are a lot of deprecated modules in the wild, and the correct

[issue21167] float('nan') returns 0.0 on Python compiled with icc

2015-08-24 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21167 ___ ___

[issue24930] test_ssl broker was fixed

2015-08-24 Thread marcos paulo
Changes by marcos paulo marcos...@yahoo.com.br: -- title: fix - test_ssl broker was fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24930 ___

[issue24931] _asdict breaks when inheriting from a namedtuple

2015-08-24 Thread Samuel Isaacson
New submission from Samuel Isaacson: When inheriting from namedtuples, _asdict and __dict__ return empty dictionaries: from collections import namedtuple class Point(namedtuple('_Point', ['x', 'y'])): pass a = Point(3, 4) print(a._asdict() == {}) gives False; it is

[issue24931] _asdict breaks when inheriting from a namedtuple

2015-08-24 Thread Samuel Isaacson
Samuel Isaacson added the comment: Sorry; it returns True on Python 3.4, False on Python 2.7.6. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24931 ___

[issue24844] Python 3.5rc1 compilation error with Apple clang 4.2 included with Xcode 4

2015-08-24 Thread Ned Deily
Ned Deily added the comment: I don't think we should hold 3.5.0 for a patch for this. I recommend lowering the priority and targeting a patch for 3.5.1. -- priority: release blocker - normal ___ Python tracker rep...@bugs.python.org

[issue24930] test_ssl broker was fixed

2015-08-24 Thread marcos paulo
marcos paulo added the comment: the version that i ran the test, is python 2.7.10 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24930 ___ ___

[issue24930] test_ssl broker was fixed

2015-08-24 Thread marcos paulo
marcos paulo added the comment: anyway, this changes that i did, make this test more resilent! this test now is more complete than before! :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24930

[issue24305] The new import system makes it impossible to correctly issue a deprecation warning for a module

2015-08-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: You're right, impossible is a slight exaggeration :-). As an alternative, every package could indeed carry around a table containing the details of importlib's call stack in every version of Python. (I also haven't checked whether it's consistent within a

[issue24930] fix

2015-08-24 Thread marcos paulo
New submission from marcos paulo: Hello to everyone!!! This test https://hg.python.org/cpython/file/2.7/Lib/test/test_ssl.py on method ContextTests.test_options, is broker becouse has a error between lines 717 ~ 719; On 717 line, has a comment about # OP_ALL | OP_NO_SSLv2 is the default

[issue2786] Names in traceback should have class names, if they're methods

2015-08-24 Thread Robert Collins
Robert Collins added the comment: Ok, so this is an API and ABI change. I'm going to do a variant without that downside. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2786 ___

[issue24847] Can't import tkinter in Python 3.5.0rc1

2015-08-24 Thread Larry Hastings
Larry Hastings added the comment: Pull request accepted and merged. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24847 ___ ___

[issue21167] float('nan') returns 0.0 on Python compiled with icc

2015-08-24 Thread Larry Hastings
Larry Hastings added the comment: Pull request accepted and merged. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21167 ___ ___

[issue2786] Names in traceback should have class names, if they're methods

2015-08-24 Thread Robert Collins
Robert Collins added the comment: And herewith. -- Added file: http://bugs.python.org/file40250/issue-2786-1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2786 ___

[issue24867] Asyncio Task.get_stack fails with native coroutines

2015-08-24 Thread Larry Hastings
Larry Hastings added the comment: Pull request accepted and merged. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24867 ___ ___

[issue24769] Interpreter doesn't start when dynamic loading is disabled

2015-08-24 Thread Larry Hastings
Larry Hastings added the comment: Yes, I'll accept this into 3.5.0, please send a pull request. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24769 ___

[issue24305] The new import system makes it impossible to correctly issue a deprecation warning for a module

2015-08-24 Thread Larry Hastings
Larry Hastings added the comment: Is it really *impossible* to correctly issue a deprecation warning for a module, as the title asserts? Or does the new import system simply make it *tiresome*? if sys.version_info.major == 3 and sys.version_info.minor == 4: stacklevel = 8 elif

[issue24847] Can't import tkinter in Python 3.5.0rc1

2015-08-24 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24847 ___

[issue24789] ctypes doc string

2015-08-24 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- keywords: +easy nosy: +berker.peksag stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24789 ___

[issue24829] Use interactive input even if stdout is redirected

2015-08-24 Thread Martin Panter
Martin Panter added the comment: I think Gnu Readline uses standard output for echoing input, prompts, controlling the cursor, etc. You can already see this by redirecting to a separate terminal. In Linux: $ python /dev/pts/2 So I think your assumption is not valid. Perhaps you can redirect

[issue24850] syslog.syslog() does not return error when unable to send the log

2015-08-24 Thread Martin Panter
Martin Panter added the comment: I’ve never used syslog() in Python, but I thought I should point out that the standard Posix API does not do any error reporting either. See http://pubs.opengroup.org/onlinepubs/9699919799/functions/syslog.html: “The . . . functions shall not return a value. /

[issue24931] _asdict breaks when inheriting from a namedtuple

2015-08-24 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file40251/nt_fix1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24931

[issue24932] Migrate _testembed to a C unit testing library

2015-08-24 Thread Nick Coghlan
New submission from Nick Coghlan: Programs/_testembed (invoked by test_capi to test CPython's embedding support) is currently a very simple application with only two different embedding tests: https://hg.python.org/cpython/file/tip/Programs/_testembed.c In light of proposals like PEP 432 to

[issue24808] PyTypeObject fields have incorrectly documented types

2015-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 54a9c649281d by Martin Panter vadmium in branch '3.4': Issue #24808: Update the documentation of some PyTypeObject fields https://hg.python.org/cpython/rev/54a9c649281d New changeset e81d692a00b1 by Martin Panter vadmium in branch '3.5': Issue

[issue17781] optimize compilation options

2015-08-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would like the see LTO enabled. The intermodule calls to code in abstract.c would become less expensive. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17781

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2015-08-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Perhaps replacing the dict call with a copy call would be sufficient? I think that would do it. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24928

[issue24769] Interpreter doesn't start when dynamic loading is disabled

2015-08-24 Thread Larry Hastings
Larry Hastings added the comment: I wanted to get this in to Python 3.5.0rc2, so I checked it in myself. Petr, I gave you credit in the checkin comment and Misc/NEWS. Hope that's okay! -- resolution: - fixed stage: commit review - resolved status: open - closed versions: +Python 3.6

[issue24931] _asdict breaks when inheriting from a namedtuple

2015-08-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: For __dict__, I'm not sure what the right behavior should by for subclasses that don't define __slots__. In Python 3, the __dict__ is returning the dict for the subclass. This might be the correct and most desirable behavior: class

[issue24808] PyTypeObject fields have incorrectly documented types

2015-08-24 Thread Martin Panter
Martin Panter added the comment: Most of this looks good. For the record, tp_flags was changed to unsigned in 3.4 (Issue 16086). The const and Py_ssize_t changes were done before 3.0. The only bits I would hesitate about are adding back the two comments saying “Assigned meaning in release 2”.

[issue10708] Misc/porting should be folded into the development FAQ or the devguide

2015-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5b43ee3df43e by Berker Peksag in branch '3.5': Issue #10708: Add a link to devguide in Misc/Porting. https://hg.python.org/cpython/rev/5b43ee3df43e New changeset 23f4d8bf4f83 by Berker Peksag in branch 'default': Issue #10708: Add a link to