[issue20165] unittest TestResult wasSuccessful returns True when there are unexpected successes

2014-01-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: I'm not comfortable changing this for 2.7 or 3.3 in case some code is unfortunately is depending on this behavior. But as it is it does seem like the kind of thing that can hide problems (tests that are passing that are not expected to). Here's a patch

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2014-01-08 Thread Bohuslav Slavek Kabrda
Bohuslav Slavek Kabrda added the comment: When building for Fedora, we usually use minimal buildroot, that doesn't have net-tools (e.g. ifconfig and others) installed, so this test fails for us. It'd probably be best to skip this based on whether ifconfig binary can be found or not.

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2014-01-08 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- resolution: fixed - stage: committed/rejected - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19804

[issue20188] ALPN support for TLS

2014-01-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +christian.heimes, giampaolo.rodola, janssen, pitrou versions: -Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20188

[issue20173] Derby #4: Convert 53 sites to Argument Clinic across 5 files

2014-01-08 Thread Vajrasky Kok
Vajrasky Kok added the comment: Okay, here is my first attempt. I only worked on one file (Modules/sha1module.c). I need to see whether I hit the mark or not. If yes, I can do the other files as well. Anyway, handling the keyword argument was kinda tough. There was no example so I had to

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2014-01-08 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20182 ___ ___

[issue20184] Derby #16: Convert 50 sites to Argument Clinic across 9 files

2014-01-08 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20184 ___ ___

[issue20185] Derby #17: Convert 50 sites to Argument Clinic across 14 files

2014-01-08 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20185 ___ ___

[issue20173] Derby #4: Convert 53 sites to Argument Clinic across 5 files

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: Just one comment on your patch. The documentation already tells you how to handle keyword arguments (section 8 tells you how to handle default values, section 9 tells you how to handle | in the format string). If you have any suggestions on how I could

[issue20189] inspect.Signature doesn't recognize all builtin types

2014-01-08 Thread Larry Hastings
New submission from Larry Hastings: Stefan added some docstring text signatures by hand, only to discover that inspect.Signature still didn't recognize them. Specifically, decimal.Decimal.compare was unrecognized. This is a method_descriptor object, which is a type that isn't even exposed

[issue20189] inspect.Signature doesn't recognize all builtin types

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: Okay, learned some things. 1) inspect already has an ismethoddescriptor(). So I'll try to do this properly by 2) The real problem is that method_descriptor doesn't have __text_signature__. I only added that to PyCFunctionObject. I'll make the code

[issue20190] dict() in dict(foo='bar') raises

2014-01-08 Thread Martin Häcker
New submission from Martin Häcker: I was quite surprised by this behavior: dict() in [dict()] True dict() in [] False dict() in dict(foo='bar').keys() Traceback (most recent call last): File stdin, line 1, in module TypeError: unhashable type: 'dict' dict() in list(dict(foo='bar').keys())

[issue20190] dict() in dict(foo='bar').keys() raises

2014-01-08 Thread Martin Häcker
Changes by Martin Häcker spamfaen...@gmx.de: -- title: dict() in dict(foo='bar') raises - dict() in dict(foo='bar').keys() raises ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20190 ___

[issue20190] dict() in dict(foo='bar').keys() raises

2014-01-08 Thread STINNER Victor
STINNER Victor added the comment: key in dict checks if dict has the specified key. Dictionary keys must be hashable. Dictionaries are not hashable. If it helps, this is also a regression from python 2.6/7 where this works as expected. dict.keys() return a list in Python 2, whereas it

[issue20130] asyncio: implement a synchronous executor if concurrent.futures is missing

2014-01-08 Thread STINNER Victor
STINNER Victor added the comment: The synchronous executor has been implemented in Trollius 0.1.1. I now agree with Antoine Pitrou that it's overkill to implement in CPython since only one old platform don't support concurrent.futures. On FreeBSD 6: increase the limit of POSIX semaphore, or

[issue20113] os.readv() and os.writev() don't raise an OSError on readv()/writev() failure

2014-01-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1437f499024d by Victor Stinner in branch '3.3': Issue #20113: os.readv() and os.writev() now raise an OSError exception on http://hg.python.org/cpython/rev/1437f499024d New changeset cd50efdce294 by Victor Stinner in branch 'default': (Merge 3.3)

[issue20191] resource.prlimit(int, int, str) crashs

2014-01-08 Thread STINNER Victor
New submission from STINNER Victor: $ ./python -c 'import resource; resource.prlimit(-3, 11, \udbff\udfff)' Erreur de segmentation (core dumped) The problem is a generic problem with PyArg_Parse functions and (O) format. With this format, the caller does not hold a reference to the object nor

[issue20113] os.readv() and os.writev() don't raise an OSError on readv()/writev() failure

2014-01-08 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20113 ___

[issue20113] os.readv() and os.writev() don't raise an OSError on readv()/writev() failure

2014-01-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1993a8ec3f19 by Victor Stinner in branch '3.3': Issue #20113: Fix test_posix on OpenIndiana http://hg.python.org/cpython/rev/1993a8ec3f19 New changeset f1f707dd7cae by Victor Stinner in branch 'default': (Merge 3.3) Issue #20113: Fix test_posix on

[issue19081] zipimport behaves badly when the zip file changes while the process is running

2014-01-08 Thread Brett Cannon
Brett Cannon added the comment: While replacing zipimport with a pure Python version using importlib would be a great feather to have in importlib's cap, the dependencies in zipfile would make that somewhat difficult: http://hg.python.org/cpython/file/f1f707dd7cae/Lib/zipfile.py --

[issue20189] inspect.Signature doesn't recognize all builtin types

2014-01-08 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20189 ___ ___ Python-bugs-list

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2014-01-08 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20160 ___ ___ Python-bugs-list

[issue20173] Derby #4: Convert 53 sites to Argument Clinic across 5 files

2014-01-08 Thread Vajrasky Kok
Vajrasky Kok added the comment: An example how to convert keyword argument would be very helpful. I searched the example from existing code but nothing shows up. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20173

[issue20173] Derby #4: Convert 53 sites to Argument Clinic across 5 files

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: To be precise: a keyword argument is something that happens on the caller side. What you're talking about is a positional-or-keyword parameter. And parameters are positional-or-keyword by default. -- ___ Python

[issue20191] resource.prlimit(int, int, str) crashs

2014-01-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for good example, Victor. See issue6083 for early discussion. As for options: - I afraid we can't raise an error if the second parameter is not a tuple right now. Rather we should first emit deprecation warning, and raise an error only several

[issue20192] pprint chokes on set containing frozenset

2014-01-08 Thread Joseph Bylund
New submission from Joseph Bylund: Expected: pprint the object Observed: crash with: set([Traceback (most recent call last): File ./test.py, line 7, in module pp.pprint(myset) File /usr/lib/python2.7/pprint.py, line 117, in pprint self._format(object, self._stream, 0, 0, {}, 0)

[issue20189] inspect.Signature doesn't recognize all builtin types

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: Here's a patch that adds __text_signature__ support for three more builtin types: method_descriptor classmethod_descriptor wrapper_descriptor method-wrapper The patch also modifies inspect.Signature so it recognizes these types. -- Added file:

[issue20192] pprint chokes on set containing frozenset

2014-01-08 Thread R. David Murray
R. David Murray added the comment: FYI, 'crash' is for when the CPython interpreter segfaults, not when python produces a traceback. Sets and frozensets are not comparable to anything except themselves, unlike most other Python2 datatypes. In Python3, most disparate types are not

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In progress. These modules have similar interfaces and common maintainer. -- assignee: serhiy.storchaka components: Extension Modules messages: 207696 nosy: nadeem.vawda, serhiy.storchaka priority: normal severity: normal status: open title: Derby:

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +larry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20193 ___ ___ Python-bugs-list

[issue20194] Add :deprecated: marker to formatter docs

2014-01-08 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: brett.cannon components: Documentation nosy: brett.cannon priority: normal severity: normal status: open title: Add :deprecated: marker to formatter docs versions: Python 3.4 ___ Python tracker

[issue20195] Add :deprecated: marker to imp docs

2014-01-08 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: brett.cannon components: Documentation nosy: brett.cannon priority: normal severity: normal status: open title: Add :deprecated: marker to imp docs versions: Python 3.4 ___ Python tracker

[issue20194] Add :deprecated: marker to formatter module docs

2014-01-08 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- title: Add :deprecated: marker to formatter docs - Add :deprecated: marker to formatter module docs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20194

[issue20188] ALPN support for TLS

2014-01-08 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20188 ___ ___ Python-bugs-list mailing list

[issue20187] The Great Argument Clinic Conversion Derby Meta-Issue

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: Here's how the files were parceled out into the various bundles: #20170 Derby #1: Convert 137 sites to Argument Clinic in Modules/posixmodule.c Modules/posixmodule.c: 137 sites #20171 Derby #2: Convert 115 sites to Argument Clinic in

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: I'd prefer it if you use the existing Derby issues. It's hard enough for me to keep track of what's going on as it is, and it's unhelpful of you to create a redundant issue. If you'd like some help figuring out how to work with the existing issues please

[issue20168] Derby: Convert the _tkinter module to use Argument Clinic

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: So do you think there are any entry points worth converting in _tkinter, or should we close this issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20168

[issue20196] Argument Clinic generates invalid code for optional parameter

2014-01-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Argument Clinic generates invalid code for optional parameter if there are no mandatory parameters except self. Example: /*[clinic input] zlib.Decompress.flush self: self(type=compobject *) [ length: uint the initial size of the output

[issue20196] Argument Clinic generates invalid code for optional parameter

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: Good catch! It should be an easy fix, but I won't be able to get to it until tomorrow. -- assignee: - larry stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org

[issue20166] window x64 c-extensions not works on python3.4.0b2

2014-01-08 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20166 ___ ___

[issue20197] Support WebP image format detection in imghdr module

2014-01-08 Thread Fabrice Aneche
New submission from Fabrice Aneche: Detect the webp file format (RIFF container + WEBP), return webp as format detected. -- components: Library (Lib) files: imghdr_webp.patch keywords: patch messages: 207702 nosy: akhenakh, gregory.p.smith priority: normal severity: normal status: open

[issue20172] Derby #3: Convert 67 sites to Argument Clinic across 4 files (Windows)

2014-01-08 Thread Zachary Ware
Zachary Ware added the comment: I'll take a stab at this one, but I may make you rue the day you said you'd review until your eyes bleed ;) Here's a partial patch to PC/winreg.c, converting only the CloseKey function just to make sure I have some basic idea of what I'm doing. (Also, if

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here are completed patches for the _bz2 and _lzma modules (only constructors are not converted) and preliminary patch for the zlib module. There are issues in the zlib module: * Argument Clinic generates invalid code for zlib_Decompress_flush (issue20196).

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file33369/lzma_clinic.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20193 ___

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file33368/bz2_clinic.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20193 ___

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file33370/zlib_clinic.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20193 ___

[issue20172] Derby #3: Convert 67 sites to Argument Clinic across 4 files (Windows)

2014-01-08 Thread Zachary Ware
Zachary Ware added the comment: To possibly ease review (and for keeping track of what I'm doing), I'm linking hg.python.org/sandbox/zware#issue20172 where I'll try to do a commit per converted function. -- hgrepos: +216 ___ Python tracker

[issue20168] Derby: Convert the _tkinter module to use Argument Clinic

2014-01-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You misunderstood me. I already have 1018-lines patch which converts about 24 functions and methods to Argument Clinic church. And I'm working on left functions. Do you want to get unfinished patch? -- ___ Python

[issue20197] Support WebP image format detection in imghdr module

2014-01-08 Thread Claudiu.Popa
Changes by Claudiu.Popa pcmantic...@gmail.com: -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20197 ___ ___ Python-bugs-list

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Meador Inge
Meador Inge added the comment: Larry, I don't want to scatter patches for these related modules and merge them with patches for totally unrelated modules. And I think it would be cumbersome to Nadeem Vawda to make reviews in such circumstances. Maybe so, but it will more productive if we

[issue18011] Inconsistency between b32decode() documentation, docstring and code

2014-01-08 Thread R. David Murray
R. David Murray added the comment: For future reference, because this patch changed the type of an error, it should not have been applied to a maintenance release (3.3). Since the change has already been released in 3.3.3, it is now better not to revert it. -- nosy: +r.david.murray

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I didn't even know for which of the dozens of random issues Larry randomly assigned these modules. And this organization does not look productive. -- ___ Python tracker rep...@bugs.python.org

[issue18011] Inconsistency between b32decode() documentation, docstring and code

2014-01-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is not incompatible change because b32decode() already raised this type of an error. Third-party code which use b32decode() was either incorrect (if it catches only TypeError or binascii.Error when any of them could raised) or is not broken by this

[issue18011] Inconsistency between b32decode() documentation, docstring and code

2014-01-08 Thread R. David Murray
R. David Murray added the comment: But code could be catching TypeError specifically looking for the alphabet error, since that is how it was documented. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18011

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: I did correct that where is file X problem; issue #20187 is a meta-issue for the whole Derby, and it has a list of all the issues and what files they map to. I'm sorry that this is not an optimal solution for organization, but it should be workable, and it

[issue20168] Derby: Convert the _tkinter module to use Argument Clinic

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: Oh, okay. That sounds fine, and I'm not in a hurry. Please post the patch whenever you're ready, thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20168

[issue20153] New-in-3.4 weakref finalizer doc section is already out of date.

2014-01-08 Thread Richard Oudkerk
Richard Oudkerk added the comment: The following from the docs is wrong: ... module globals are no longer forced to None during interpreter shutdown. Actually, in 3.4 module globals *sometimes* get forced to None during interpreter shutdown, so the version the __del__ method can still

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: * I have experimented in zlib_decompressobj, and I got good compact code, but wrong docstring (decompressobj(wbits=None, zdict=None)). Needed a way to specify optional parameters without default Python values. Correct signature should be something like

[issue20172] Derby #3: Convert 67 sites to Argument Clinic across 4 files (Windows)

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: The piecemeal approach sounds fine, but I'm only going to review patches once you post them here. (I'm not sure I can get to reviewing your patch today, but definitely tomorrow.) -- ___ Python tracker

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: Previous approach is not applicable to compressobj because Py_buffer can't have default value. Seems as compressobj is not compatible with Argument Clinic. Then perhaps we can fix Argument Clinic to be compatible. Py_buffer doesn't like default values

[issue20172] Derby #3: Convert 67 sites to Argument Clinic across 4 files (Windows)

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: I lied, I just looked at it. You said it was only one function, so it went quickly. It looks totally fine. In fact, Argument Clinic is generating better code than the original! -- ___ Python tracker

[issue20172] Derby #3: Convert 67 sites to Argument Clinic across 4 files (Windows)

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: Oh, and, p.s. I was a Win32 developer for about fifteen years. I don't touch it anymore, but I consider myself still competent to read patches for simple stuff like the registry library. -- ___ Python tracker

[issue20189] inspect.Signature doesn't recognize all builtin types

2014-01-08 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- nosy: +tim.peters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20189 ___ ___ Python-bugs-list

[issue20193] Derby: Convert the zlib, _bz2 and _lzma modules to use Argument Clinic

2014-01-08 Thread Larry Hastings
Larry Hastings added the comment: I just realized, you're misunderstanding what the first line of the docstring is. When you run help(function_written_in_Python), the first line of the help is the function's signature rendered in text. That's generated by pydoc, which gets signature

[issue20198] xml.etree.ElementTree.ElementTree.write attribute sorting

2014-01-08 Thread bagrat lazaryan
New submission from bagrat lazaryan: xml.etree.ElementTree.ElementTree.write method (and, as a derivative, xml.etree.ElementTree.tostring function) sorts attributes in lexical order. while an admissible behavior instead of the randomness inherited from ordinary dict, this prevents a picky

[issue17390] display python version on idle title bar

2014-01-08 Thread bagrat lazaryan
Changes by bagrat lazaryan bagra...@live.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17390 ___

[issue20174] Derby #5: Convert 50 sites to Argument Clinic across 3 files

2014-01-08 Thread Ryan Smith-Roberts
Ryan Smith-Roberts added the comment: Taking a crack at this. socketmodule.h: just a comment, skipping. _functools.c: kind-of skipping, because the relevant functions are not normally directly called (pickle protocol __reduce__ and __setstate__ on partial, __call__ on cmp wrapper). Will add

[issue20199] status of module_for_loader and utils._module_to_load

2014-01-08 Thread R. David Murray
New submission from R. David Murray: The whatsnew currently says that module_for_loader is pending deprecation in favor of utils.module_to_load, but there is no such function. Instead there is a private function utils._module_to_load...even though there is a news entry that claimed that the

[issue20200] Argument Clinic howto: custom self_converter example broken

2014-01-08 Thread Ryan Smith-Roberts
New submission from Ryan Smith-Roberts: The custom converter declaration is wrapped with [clinic input] when it should be [python input]. Patch attached. -- files: argument_clinic_docfix.patch keywords: patch messages: 207724 nosy: rmsr priority: normal severity: normal status: open

[issue20200] Argument Clinic howto: custom self_converter example broken

2014-01-08 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- assignee: - docs@python components: +Documentation nosy: +docs@python, larry stage: - patch review versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20200

[issue20199] status of module_for_loader and utils._module_to_load

2014-01-08 Thread Eric Snow
Eric Snow added the comment: utils.module_to_load() has been removed (it was introduced in 3.4) and module_for_loader() remains deprecated. The import machinery now does the work that both functions did, rendering them unnecessary. I guess I failed to take a look at whatsnew relative all

[issue20174] Derby #5: Convert 50 sites to Argument Clinic across 3 files

2014-01-08 Thread Ryan Smith-Roberts
Changes by Ryan Smith-Roberts r...@lab.net: -- keywords: +patch Added file: http://bugs.python.org/file33372/argument_clinic_functools.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20174

[issue20201] Argument Clinic: rwbuffer support broken

2014-01-08 Thread Ryan Smith-Roberts
Ryan Smith-Roberts added the comment: I'm such a goofball, how about some bug metadata -- components: +Build type: - compile error versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20201

[issue20201] Argument Clinic: rwbuffer support broken

2014-01-08 Thread Ryan Smith-Roberts
New submission from Ryan Smith-Roberts: Following the howto's instructions on the new syntax for the 'w*' argument, one gets an exception: ... File Tools/clinic/clinic.py, line 1780, in converter_init elif types == (bytearray_type | rwuffer_type): NameError: global name 'rwuffer_type' is

[issue20201] Argument Clinic: rwbuffer support broken

2014-01-08 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +larry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20201 ___ ___ Python-bugs-list

[issue20202] ArgumentClinic howto: document change in Py_buffer lifecycle management

2014-01-08 Thread Ryan Smith-Roberts
New submission from Ryan Smith-Roberts: Almost didn't catch that PyBuffer_Release isn't needed. Also we need a verb/adjective for applying AC. Cure? zlibmodule has already been cured. -- assignee: docs@python components: Documentation messages: 207728 nosy: docs@python, larry, rmsr

[issue20168] Derby: Convert the _tkinter module to use Argument Clinic

2014-01-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- dependencies: +Argument Clinic generates invalid code for optional parameter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20168 ___

[issue20198] xml.etree.ElementTree.ElementTree.write attribute sorting

2014-01-08 Thread Stefan Behnel
Stefan Behnel added the comment: IMHO, it makes sense to support this. My intuition tells me that lxml also handles this as expected, by accident through iteration. Not sure how to do this correctly in ET, though. Special case dict? Or special case OrderedDict? Both would leave some

[issue20198] xml.etree.ElementTree.ElementTree.write attribute sorting

2014-01-08 Thread Stefan Behnel
Stefan Behnel added the comment: My intuition tells me that lxml also handles this as expected, by accident through iteration. And, obviously, it doesn't. It sorts, too. :) I'm ok with switching for both libraries. -- ___ Python tracker