[issue17078] string.Template.safe_substitute hard-wires "braces" as {}

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: Done in 8a98ee6baa1e. Thanks! -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue17078> ___ ___ Python-bug

[issue17078] string.Template.safe_substitute hard-wires "braces" as {}

2014-10-06 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue17078> ___ ___ Python-bugs-list

[issue16155] Some minor doc fixes in Doc/faq

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: Thanks! -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue16155> ___ ___ Python-bugs-list mailing list Unsub

[issue22570] Better stdlib support for Path objects

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: I was about to suggest deriving your own Path class from Path and str, but got a base class layout conflict because Path objects define lots of __slots__ :( -- ___ Python tracker <http://bugs.python.org/issue22

[issue22570] Better stdlib support for Path objects

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: > That would be a rather horrible solution. I know :) -- ___ Python tracker <http://bugs.python.org/issue22570> ___ ___ Python-

[issue10583] Encoding issue with chm help in 2.7.1

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: Agreed, closing. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue10583> ___ __

[issue22462] Modules/pyexpat.c violates PEP 384

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: > I think it is unreasonable to expect authors of 3rd party modules to respect > PEP 384 if the standard library does not. I don't understand why you think that. PEP 384 is intended to provide the means to maintain binary compatibility of extension

[issue22568] Use of "utime" as variable name in Modules/posixmodule.c causes errors

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: Patch LGTM. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue22568> ___ ___ Python-bugs-list mailin

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-11 Thread Georg Brandl
Georg Brandl added the comment: Looking at _csv.c, I see a few functions using PyArg_UnpackTuple. They should be converted too, no? -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue20

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-11 Thread Georg Brandl
Georg Brandl added the comment: Attached part 1 of mathmodule (17 functions). I'm looking forward to a suggestion for handling the rest (see FUNC1/1A/2 macros :) -- keywords: +patch Added file: http://bugs.python.org/file33419/mathmodule_part1.

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-11 Thread Georg Brandl
Georg Brandl added the comment: > Wow. I never knew about PyArg_UnpackTuple. You're right, those > should be converted too. Hooray, more entry points to convert. > I'll write something up for the howto about UnpackTuple. One thing to note is that (at least in math

[issue20158] Argument Clinic: add --clean option

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: Another use case here is if you want to "check" the remaining call sites of (say) PyArg_ParseTuple that aren't generated by clinic. Call it '--remove' if you want, but the functionality should be useful. -

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: OK, here's a patch for _csv. Two problems here: First problem is the __new__ method of the Dialect class: * it has no docstring and no methoddef entry * it is a class method, but the first arg is conventionally called "type" I tried to hack

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: Tried to tackle symtable -- it uses an O& converter. The clinic howto says ``'O&'````object(converter='name_of_c_function')`` but Traceback (most recent call last): File "Tools/clinic/clinic.py", line 2817, in

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: _tracemalloc converted. Its existing docstrings did use the func(arg: argtype) -> rettype convention. Is there a way in clinic to retain that? -- Added file: http://bugs.python.org/file33423/tracemalloc_clinic.pa

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: Here's _iomodule. _io.open has a whopping 100-line docstring, which is ... unfortunate ... to have duplicated in the file :) -- Added file: http://bugs.python.org/file33424/io_clinic.patch ___ Python tracker

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: And _heapq. No problems there, except that it also used "->" return annotations in the docstring. -- Added file: http://bugs.python.org/file33425/heapq_clinic.patch ___ Python tracker <http:/

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: And lsprof. -- Added file: http://bugs.python.org/file33426/lsprof_clinic.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20115] NUL bytes in commented lines

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: I'm in favor of PyPy's behavior: null bytes anywhere in the source, even in comments, usually mean there's something weird or fishy going on with either the editor or (if downloaded/copied) the source of the code. -- nosy

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

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: Here's the signalmodule. -- keywords: +patch nosy: +georg.brandl Added file: http://bugs.python.org/file33427/signal_clinic.patch ___ Python tracker <http://bugs.python.org/is

[issue20225] Argument Clinic: simplify METH_NOARGS generated code

2014-01-12 Thread Georg Brandl
New submission from Georg Brandl: For METH_NOARGS, you can get rid of the separate _impl function. This makes the generated code much smaller. -- messages: 207943 nosy: georg.brandl priority: normal severity: normal status: open title: Argument Clinic: simplify METH_NOARGS generated

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

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: Now without crap. -- Added file: http://bugs.python.org/file33428/signal_clinic.patch ___ Python tracker <http://bugs.python.org/issue20

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

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file33427/signal_clinic.patch ___ Python tracker <http://bugs.python.org/issue20182> ___ ___ Python-bug

[issue20226] Argument Clinic: support for simple expressions?

2014-01-12 Thread Georg Brandl
New submission from Georg Brandl: Take for example select.epoll.__new__(): static PyObject * pyepoll_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { int flags = 0, sizehint = FD_SETSIZE - 1; static char *kwlist[] = {"sizehint", "flags&q

[issue20225] Argument Clinic: simplify METH_NOARGS generated code

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> larry nosy: +larry ___ Python tracker <http://bugs.python.org/issue20225> ___ ___ Python-bugs-list mailing list Un

[issue20226] Argument Clinic: support for simple expressions?

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> larry nosy: +larry ___ Python tracker <http://bugs.python.org/issue20226> ___ ___ Python-bugs-list mailing list Un

[issue20227] Argument Clinic: rename arguments in generated C?

2014-01-12 Thread Georg Brandl
New submission from Georg Brandl: This is a request to be able to name C arguments differently from Python arguments. Two reasons: * like for function renaming, some Python argument names are reserved in C ("default" for example, used in sys.getsizeof()) * sometimes the function u

[issue20227] Argument Clinic: rename arguments in generated C?

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +serhiy.storchaka ___ Python tracker <http://bugs.python.org/issue20227> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20227] Argument Clinic: rename arguments in generated C?

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: OK, I see that AC automatically handles case 1, great! Still you have to decide if you like the code churn caused by case 2. -- ___ Python tracker <http://bugs.python.org/issue20

[issue20227] Argument Clinic: rename arguments in generated C?

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: One more: I can't have an argument called "args". -- ___ Python tracker <http://bugs.python.org/issue20227> ___ ___

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

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: Here's sys. For it to generate the correct code you need to add "args" to c_keywords in clinic.py. -- Added file: http://bugs.python.org/file33429/sys_clinic.patch ___ Python tracker <http

[issue20225] Argument Clinic: simplify METH_NOARGS generated code

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: Sure, I wasn't concerned with compilation, only saving lines of code. But I agree that the buffer way sounds much more promising. Just seemed odd that METH_O was clean and METH_NOARGS less so :) -- ___ Python tr

[issue20226] Argument Clinic: support for simple expressions?

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: Nice, thanks. -- ___ Python tracker <http://bugs.python.org/issue20226> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20227] Argument Clinic: rename arguments in generated C?

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: > There are also several PyArg_ParseTuple-using functions that have the > same kind of name mismatch, but since the names don't really mean > anything on the Python side when they're positional-only, I don't feel > too bad about chan

[issue20234] Argument Clinic: use PyTuple_GET_SIZE?

2014-01-12 Thread Georg Brandl
New submission from Georg Brandl: In the presence of [ ] , clinic generates PyTuple_Size() calls. Since argument tuples always are tuples, you can use the macro form PyTuple_GET_SIZE() to speed it up. -- assignee: larry messages: 208007 nosy: georg.brandl, larry priority: normal

[issue20235] Argument Clinic: recover a bit more gracefully from exceptions

2014-01-12 Thread Georg Brandl
New submission from Georg Brandl: I had specified c_default=-1 (note missing quotes) somewhere, and it raises an exception during the clinic --make run; there was no indication which file/line this was on. Suggested patch attached. -- assignee: larry files

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file33425/heapq_clinic.patch ___ Python tracker <http://bugs.python.org/issue20186> ___ ___ Python-bug

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file33419/mathmodule_part1.patch ___ Python tracker <http://bugs.python.org/issue20186> ___ ___ Python-bug

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file33422/csv_module_clinic.patch ___ Python tracker <http://bugs.python.org/issue20186> ___ ___ Python-bug

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file33423/tracemalloc_clinic.patch ___ Python tracker <http://bugs.python.org/issue20186> ___ ___ Python-bug

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file33424/io_clinic.patch ___ Python tracker <http://bugs.python.org/issue20186> ___ ___ Python-bugs-list m

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file33426/lsprof_clinic.patch ___ Python tracker <http://bugs.python.org/issue20186> ___ ___ Python-bug

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: OK, new patches coming in. -- ___ Python tracker <http://bugs.python.org/issue20186> ___ ___ Python-bugs-list mailing list Unsub

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

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file33429/sys_clinic.patch ___ Python tracker <http://bugs.python.org/issue20182> ___ ___ Python-bugs-list m

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

2014-01-12 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file33428/signal_clinic.patch ___ Python tracker <http://bugs.python.org/issue20182> ___ ___ Python-bug

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

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: New patch. In selectmodule.c I haven't touched devpoll and kqueue, which I can't compile here. _hashopenssl does weird things with macros, I'm waiting with that. -- Added file: http://bugs.python.org/file33441/modules_i

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-01-12 Thread Georg Brandl
Georg Brandl added the comment: Actually I put all I have in one. Rietveld doesn't care. The mathmodule still awaits some kind of solution for the macro atrocities. Objects will be attacked next. -- Added file: http://bugs.python.org/file33442/modules_issue20186.

[issue20255] Doc/about: update a bit

2014-01-14 Thread Georg Brandl
New submission from Georg Brandl: What do you think about this patch? -- assignee: zach.ware components: Documentation files: about.diff keywords: patch messages: 208081 nosy: georg.brandl, zach.ware priority: normal severity: normal status: open title: Doc/about: update a bit Added

[issue20241] Bad reference to RFC in document of ipaddress?

2014-01-14 Thread Georg Brandl
Georg Brandl added the comment: 5735 seems to be correct (see docstring of is_unspecified), although it doesn't talk about "unspecified". -- nosy: +georg.brandl ___ Python tracker <http://bugs.pyt

[issue20258] Python documentation build fails with "markupsafe module cannot be found"

2014-01-14 Thread Georg Brandl
Georg Brandl added the comment: That's unfortunate, thanks for catching that. Of course I had markupsafe installed for my system Python. One more reason to switch to virtualenv at some point. I think we can go back to the old Jinja version -- there haven't been bugs to my kno

[issue20255] Doc/about: update a bit

2014-01-14 Thread Georg Brandl
Georg Brandl added the comment: Both your and Berker's (on rietveld) comments sound good. -- ___ Python tracker <http://bugs.python.org/issue20255> ___ ___

[issue20255] Doc/about: update a bit

2014-01-14 Thread Georg Brandl
Georg Brandl added the comment: Very nice. Go ahead and commit your version! -- ___ Python tracker <http://bugs.python.org/issue20255> ___ ___ Python-bugs-list m

[issue20268] Argument Clinic: support cloning existing functions

2014-01-14 Thread Georg Brandl
Georg Brandl added the comment: Functionality looks good. Implementation I can't say. -- ___ Python tracker <http://bugs.python.org/issue20268> ___ ___ Pytho

[issue20268] Argument Clinic: support cloning existing functions

2014-01-14 Thread Georg Brandl
Georg Brandl added the comment: Sure! -- ___ Python tracker <http://bugs.python.org/issue20268> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20262] Convert some debugging prints in zipfile to warnings

2014-01-15 Thread Georg Brandl
Georg Brandl added the comment: I'm actually more on the "fixing a bug" side. For me this is fine for 3.3. -- ___ Python tracker <http://bugs.pyt

[issue20227] Argument Clinic: rename arguments in generated C?

2014-01-15 Thread Georg Brandl
Georg Brandl added the comment: I guess custom converters are the answer here. BTW, the "args" argument already works fine since adding it to c_keywords. No need for a complicated structure :) -- ___ Python tracker <http://bu

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

2014-01-16 Thread Georg Brandl
Georg Brandl added the comment: New patch addressing comments. -- ___ Python tracker <http://bugs.python.org/issue20182> ___ ___ Python-bugs-list mailin

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

2014-01-16 Thread Georg Brandl
Changes by Georg Brandl : Added file: http://bugs.python.org/file33491/modules_issue20182_v2.patch ___ Python tracker <http://bugs.python.org/issue20182> ___ ___ Pytho

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Georg Brandl
Georg Brandl added the comment: Rietveld doesn't like your new patch? -- ___ Python tracker <http://bugs.python.org/issue20226> ___ ___ Python-bugs-list m

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Georg Brandl
Georg Brandl added the comment: Thx! (without soundcheck) -- ___ Python tracker <http://bugs.python.org/issue20226> ___ ___ Python-bugs-list mailing list Unsub

[issue12704] Language Reference: Clarify behaviour of yield when generator is not resumed

2014-01-19 Thread Georg Brandl
Georg Brandl added the comment: Hmm, the yield statement is now basically the same as any expression statement -- just like a function call. The only reason it's a separate grammar symbol is that otherwise yield expressions would have to be parenthesized. Can the patch be updated to

[issue20314] Potentially confusing formulation in 6.1.4. Template strings

2014-01-20 Thread Georg Brandl
Georg Brandl added the comment: +1. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue20314> ___ ___ Python-bugs-list mailing list Unsub

[issue20312] A missing link to Python-3.4.0b2.tar.bz2 in the download page.

2014-01-20 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: docs@python -> larry nosy: +larry ___ Python tracker <http://bugs.python.org/issue20312> ___ ___ Python-bugs-list mai

[issue20314] Potentially confusing formulation in 6.1.4. Template strings

2014-01-20 Thread Georg Brandl
Georg Brandl added the comment: > I would suggest moving the section "4.7.2. printf-style String > Formatting" from stdtypes to string That's something I wanted to do for a long time. Problem is that non-Intersphinx external links will break (and I guess quite a few peopl

[issue19966] Wrong mtimes of files in 3.3.3 tarballs

2014-01-20 Thread Georg Brandl
Changes by Georg Brandl : -- priority: normal -> release blocker ___ Python tracker <http://bugs.python.org/issue19966> ___ ___ Python-bugs-list mailing list Un

[issue20316] Byte-compiled files should be absent in tarballs

2014-01-20 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +larry priority: normal -> release blocker ___ Python tracker <http://bugs.python.org/issue20316> ___ ___ Python-bugs-lis

[issue20316] Byte-compiled files should be absent in tarballs

2014-01-20 Thread Georg Brandl
Georg Brandl added the comment: > When Mercurial is ported to Python 3 somewhen in the future Good one. -- ___ Python tracker <http://bugs.python.org/issu

[issue20312] A missing link to Python-3.4.0b2.tar.bz2 in the download page.

2014-01-20 Thread Georg Brandl
Georg Brandl added the comment: Fixed. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue20324] gcc-4.3 support on python-3.3 (libmpdec)

2014-01-21 Thread Georg Brandl
Georg Brandl added the comment: Should be figured out for 3.3.4 -- nosy: +georg.brandl priority: normal -> release blocker ___ Python tracker <http://bugs.python.org/issu

[issue20324] gcc-4.2.4 support on python-3.3 (libmpdec)

2014-01-21 Thread Georg Brandl
Georg Brandl added the comment: OK, thanks for the quick response. Relaxing to normal priority, please close as required. -- priority: release blocker -> normal ___ Python tracker <http://bugs.python.org/issu

[issue20324] gcc-4.2.4 support on python-3.3 (libmpdec)

2014-01-21 Thread Georg Brandl
Georg Brandl added the comment: Thanks. -- resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python.org/issue20324> ___ ___

[issue11448] docs for HTTPConnection.set_tunnel are ambiguous

2014-01-21 Thread Georg Brandl
Georg Brandl added the comment: The first sentence of the second new paragraph is a bit ungrammatical, right? -- ___ Python tracker <http://bugs.python.org/issue11

[issue20359] Having escape sequences (like color codes) in the sys.ps1 messes up readline's input line calculations

2014-01-23 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the report. I think it's your obligation to surround nonprinting escape sequences with \x01 and \x02, with that change it works for me. -- nosy: +georg.brandl resolution: -> works for me status: open -

[issue20359] Having escape sequences (like color codes) in the sys.ps1 messes up readline's input line calculations

2014-01-23 Thread Georg Brandl
Georg Brandl added the comment: I think you're using the escapes correctly: you must only escape nonprinting characters. Try >>> sys.ps1 = '\x01\033[32m\x02>>> \x01\033[0m\x02' -- status: open -> closed ___ Pyt

[issue6839] zipfile can't extract file

2014-01-23 Thread Georg Brandl
Georg Brandl added the comment: print() is not a good way to emit the warning; please use the warnings module. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue6

[issue20386] Missing docs for SocketType and AddressFamily in socket module

2014-01-24 Thread Georg Brandl
Georg Brandl added the comment: Um... changing the name "socket.SocketType" from type(socket) to an enum of SOCK_ constants is not a docs issue, but a regression. Eli, you introduced this change (inadvertently, I think, which can easily happen since SocketType is imported by "

[issue20311] epoll.poll(timeout) and PollSelector.select(timeout) must round the timeout to the upper bound

2014-01-25 Thread Georg Brandl
Georg Brandl added the comment: Since the test is still failing on at least 3 stable buildbots, I've reverted the 3.3 changes for 3.3.4rc1. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/is

[issue20346] Argument Clinic: missing entry in table mapping legacy convertors to real AC converters

2014-01-25 Thread Georg Brandl
Georg Brandl added the comment: Only if the older issue actually has more relevant content, which is not always the case. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue20

[issue20386] socket.SocketType enum overwrites import of _socket.SocketType

2014-01-25 Thread Georg Brandl
Georg Brandl added the comment: > Why should new enums be documented and how are they useful? Because they are a new public class(-like object) in the module. When renaming them to a non-public name, as you suggest, that could be left

[issue20386] socket.SocketType enum overwrites import of _socket.SocketType

2014-01-25 Thread Georg Brandl
Georg Brandl added the comment: I'm not saying the enums are necessary (argue about that with Eli), but that if they *are* in the module as a public attribute, they *have* to be documented, period. -- ___ Python tracker <http://bugs.py

[issue20283] Wrong keyword parameter name in regex pattern methods

2014-01-26 Thread Georg Brandl
Georg Brandl added the comment: For 3.3 I prefer the "soft" patch. -- ___ Python tracker <http://bugs.python.org/issue20283> ___ ___ Python-bugs-l

[issue15759] "make suspicious" doesn't display instructions in case of failure

2014-01-26 Thread Georg Brandl
Georg Brandl added the comment: Looks good. Maybe Larry will want his line of stars though :) -- ___ Python tracker <http://bugs.python.org/issue15759> ___ ___

[issue20386] socket.SocketType enum overwrites import of _socket.SocketType

2014-01-26 Thread Georg Brandl
Georg Brandl added the comment: "integer enumerations of " sounds weird to me. Also, here it might be nice to link to IntEnum (use :class:`.IntEnum`). -- ___ Python tracker <http://bugs.python.o

[issue19966] Wrong mtimes of Include/Python-ast.h and Python/Python-ast.c in tarballs

2014-01-26 Thread Georg Brandl
Georg Brandl added the comment: OK, 3.3.4rc1 shouldn't have the problem, and neither 3.4.0b4 ff. with the changes I just checked into hgtouch. -- ___ Python tracker <http://bugs.python.org/is

[issue20407] heapq.nsmallest and heapq.nlargest don't accept a "key" parameter

2014-01-27 Thread Georg Brandl
Georg Brandl added the comment: Yes. Probably someone wished they would implement it :) -- ___ Python tracker <http://bugs.python.org/issue20407> ___ ___ Pytho

[issue20407] heapq.nsmallest and heapq.nlargest don't accept a "key" parameter

2014-01-27 Thread Georg Brandl
Georg Brandl added the comment: I see, there are two "def nsmallest" in heapq.py. Tricky! -- ___ Python tracker <http://bugs.python.org/issue20407> ___ ___

[issue20386] socket.SocketType enum overwrites import of _socket.SocketType

2014-01-27 Thread Georg Brandl
Georg Brandl added the comment: Well, IntEnum is nowhere documented as a class. IOW, .. class:: IntEnum is missing if you want these references to work. -- ___ Python tracker <http://bugs.python.org/issue20

[issue20386] socket.SocketType enum overwrites import of _socket.SocketType

2014-01-27 Thread Georg Brandl
Georg Brandl added the comment: IntEnum is not a class in the enum module either, as far as the docs are concerned ;) Otherwise :class:`enum.IntEnum` or :class:`.IntEnum` would work, no matter the source and target documents. -- ___ Python tracker

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

2014-01-28 Thread Georg Brandl
Georg Brandl added the comment: Since this is a pretty big code churn, I'd prefer B) for 3.3.4. (3.3.5 will be soon anyway.) -- ___ Python tracker <http://bugs.python.org/is

[issue17727] document that some distributions change site.py defaults

2014-01-29 Thread Georg Brandl
Georg Brandl added the comment: Matthias and I agreed this isn't necessary since on the relevant distribution it's already documented. -- resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.py

[issue20517] Support errors with two filenames for errno exceptions

2014-02-09 Thread Georg Brandl
Georg Brandl added the comment: I agree. -- ___ Python tracker <http://bugs.python.org/issue20517> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20583] Hide underscored parameters

2014-02-10 Thread Georg Brandl
Georg Brandl added the comment: -1 as well. Yury: it's a micro-optimization, the slow builtin lookup becomes a fast local lookup. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/is

[issue20621] Issue with zipimport in 3.3.4 and 3.4.0rc1

2014-02-16 Thread Georg Brandl
Georg Brandl added the comment: Paul, could you confirm that backing out the 2807a5f011e4 changeset on the 3.3 branch fixes the problem? -- ___ Python tracker <http://bugs.python.org/issue20

[issue20621] Issue with zipimport in 3.3.4 and 3.4.0rc1

2014-02-16 Thread Georg Brandl
Georg Brandl added the comment: Yeah, just tried the backout, it doesn't apply cleanly anymore -- Modules/zipimport.c has apparently changed some more afterwards. I think using the parent changeset is the best thing to do at the moment, until Greg comes up with a patch. -- ass

[issue20638] KeyError building the Python html doc with sphinx

2014-02-16 Thread Georg Brandl
Georg Brandl added the comment: Which revision is your tip? In the latest revision, the documentation should refuse being built with 1.0.7. -- ___ Python tracker <http://bugs.python.org/issue20

[issue20621] Issue with zipimport in 3.3.4 and 3.4.0rc1

2014-02-16 Thread Georg Brandl
Georg Brandl added the comment: OK. What do you think about rolling a 3.3.5 rc1 release next weekend, with the final a week later? -- ___ Python tracker <http://bugs.python.org/issue20

[issue20638] KeyError building the Python html doc with sphinx

2014-02-17 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the feedback. This was not the latest tip anyway: in the current tip the checked-out toolchain is gone and your system Sphinx is used. -- resolution: -> out of date status: open -> closed ___

[issue20661] 3.4 cherry-pick: eef7899ea7ab use system doc toolchain instead of checking out of svn

2014-02-17 Thread Georg Brandl
New submission from Georg Brandl: 3.4 cherry-pick: eef7899ea7ab use system doc toolchain instead of checking out of svn -- assignee: larry messages: 211423 nosy: georg.brandl, larry priority: release blocker severity: normal status: open title: 3.4 cherry-pick: eef7899ea7ab use system

[issue20661] 3.4 cherry-pick: eef7899ea7ab use system doc toolchain instead of checking out of svn

2014-02-17 Thread Georg Brandl
Georg Brandl added the comment: Well, I thought the installer script can surely be fixed in time. If not, I agree that this shouldn't be picked yet. -- ___ Python tracker <http://bugs.python.org/is

[issue20661] 3.4 cherry-pick: eef7899ea7ab use system doc toolchain instead of checking out of svn

2014-02-18 Thread Georg Brandl
Georg Brandl added the comment: The change was requested by doko for Debian/Ubuntu. As for changing it after rc1, I agree it is unfortunate. But it doesn't affect the distributed content, only how the release is built, which I think is exactly what *can* go in the rc phase. The P

<    33   34   35   36   37   38   39   40   41   42   >