[issue20329] zipfile.extractall fails in Posix shell with utf-8 filename

2014-01-21 Thread Laurent Mazuel
Laurent Mazuel added the comment: Thanks for your answer. I think you can't transcode internal zip filenames to FS encoding. Actually, in Unix the FS only stores bytes for filename, there is no "FS encoding". Then, if you change your locale, the filename printed will change too in your console

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

2014-01-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: Not all cases of this were fixed by the existing patch. subimports still trigger the bug via a different code path. attaching an updated unittest that demonstrates that. -- resolution: fixed -> status: closed -> open Added file: http://bugs.pytho

[issue11448] docs for HTTPConnection.set_tunnel are ambiguous

2014-01-21 Thread karl
karl added the comment: ooops right, my bad. s/on port 8080. We first/on port 8080, we first/ better? -- ___ Python tracker ___ ___

[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 ___ __

[issue20341] Argument Clinic: add "nullable ints"

2014-01-21 Thread Vajrasky Kok
Vajrasky Kok added the comment: >>> itertools.repeat.__doc__ 'repeat(object, times=None)\nReturns an iterator which returns the object the specified number of times.\n\nIf times is None, returns the object endlessly.' >>> itertools.repeat('a', times=None) Traceback (most recent call last): Fil

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

2014-01-21 Thread Zachary Ware
Zachary Ware added the comment: And scratch v3 being commit-candidate. I forgot to add an HKEY return converter to winreg (could have sworn I had done that, but I have no record of it), and my return converters in msvcrt are messy. -- ___ Python tr

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

2014-01-21 Thread Zachary Ware
Zachary Ware added the comment: Marking #20189 as a dependency; winreg.HKEYType and _winapi.Overlapped need the signature fixes provided by #20189 before commit. -- dependencies: +inspect.Signature doesn't recognize all builtin types ___ Python track

[issue19920] TarFile.list() fails on some files

2014-01-21 Thread Vajrasky Kok
Changes by Vajrasky Kok : Added file: http://bugs.python.org/file33610/fix_tarfile_list_print_lone_surrogate_v3.patch ___ Python tracker ___

[issue19920] TarFile.list() fails on some files

2014-01-21 Thread Vajrasky Kok
Changes by Vajrasky Kok : Removed file: http://bugs.python.org/file33608/fix_tarfile_list_print_lone_surrogate_v3.patch ___ Python tracker ___ __

[issue11448] docs for HTTPConnection.set_tunnel are ambiguous

2014-01-21 Thread Nikolaus Rath
Nikolaus Rath added the comment: The patches look fine to me. They are only docpatches, so no testcase is needed. I have rebased them on current hg tip to avoid fuzz, but otherwise left them unchanged. I think this is ready to be committed. -- nosy: +ezio.melotti, georg.brandl version

[issue19920] TarFile.list() fails on some files

2014-01-21 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the patch addressing some of Serhiys concerns. Thanks for the review. There are some things that I could not make it up: 1. The test for unencodable tarinfo.linkname is not done yet, because maybe it is better to be done in a separate ticket. To make the

[issue20177] Derby #8: Convert 28 sites to Argument Clinic across 2 files

2014-01-21 Thread Nikolaus Rath
Nikolaus Rath added the comment: As discussed on devel, here's an updated patch for timemodule.c that uses a custom C converter to handle the parse_time_t_args() utility function. The only function I did not convert is mktime, because I did not find a way to do so without duplicating the gettmarg

[issue20336] test_asyncio: relax timings even more

2014-01-21 Thread Guido van Rossum
Guido van Rossum added the comment: I won't have time to fix this (and bardly to even review a fix) but this seems a straightforward fix and you can go ahead without me -- maybe you can get someone else with some asyncio experience to review your patch (e.g. Antoine or Victor). -- __

[issue20218] Add `pathlib.Path.write` and `pathlib.Path.read`

2014-01-21 Thread Christopher Welborn
Christopher Welborn added the comment: Ram Rachum: If I actually had a say in the matter, I wouldn't be totally against it. (so far I only lurk the lists/tracker looking for things to work on.) I was just offering you a solution that you can use _today_. I do think that if something like this

[issue20283] Wrong keyword parameter name in regex pattern methods

2014-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: If no one else pipes up here, perhaps ask on pydef about changing C names to match documented names. -- ___ Python tracker ___

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

2014-01-21 Thread Zachary Ware
Zachary Ware added the comment: Ok, new conglomerate patch is posted; includes a few more return conversions (particularly in msvcrt) and a few other minor changes compared to the previous conglomerate. I would call this one a commit candidate, pending your review. I don't plan to commit thi

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

2014-01-21 Thread Zachary Ware
Changes by Zachary Ware : Added file: http://bugs.python.org/file33606/088095387caf.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue20341] Argument Clinic: add "nullable ints"

2014-01-21 Thread Larry Hastings
Larry Hastings added the comment: I should have mentioned--a sample using nullable ints is in itertoolsmodule.c. longobject.{ch} changed to add the converters, and obviously clinic.py changed to add support for the converters. -- ___ Python tracker

[issue20341] Argument Clinic: add "nullable ints"

2014-01-21 Thread Larry Hastings
New submission from Larry Hastings: Attached is a *preliminary* patch for Argument Clinic that adds nullable ints. If you use the converter "int(nullable=True), then: * The type you get back is not int but "nullable_int_t", a structure containing three fields: "error", "is_null", and "i". "

[issue20294] Argument Clinic: add support for __init__

2014-01-21 Thread Larry Hastings
Larry Hastings added the comment: That problem will be irrelevant, once builtin classes support signatures (#20189). -- ___ Python tracker ___ __

[issue20303] Argument Clinic: optional groups

2014-01-21 Thread Larry Hastings
Larry Hastings added the comment: When I fix #20303, the new rules will be: * You can have top-level optional groups anywhere. * You may nest up to one nested group in a group. * Whenever you nest a group in another group, all nested groups in that stack must favor the same side (left or right)

[issue20302] Argument Clinic: meaningful names for group flags

2014-01-21 Thread Larry Hastings
Larry Hastings added the comment: Well, they're going to have to change somehow, because the concepts of "left" and "right" are going away (see #20303). However, your suggested new name for these functions would be awful for large groups. Consider curses.window.overlay: window.overlay(destw

[issue20340] -bb option does not have different behavior than -b option

2014-01-21 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: -bb option does not have different behavior than -b option since Python 3.2. http://docs.python.org/3.4/using/cmdline.html#cmdoption-b says: "Issue a warning when comparing str and bytes. Issue an error when the option is given twice (-bb

[issue20338] Idle: increase max calltip width

2014-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I deleted truncation code in CallTipWindow.py, all three versions, but messed up issue number. 2.7 http://hg.python.org/cpython/rev/c28e07377b03 changeset: 88630:c28e07377b03 3.3 (same) http://hg.python.org/cpython/rev/1b89fd73c625 changeset: 88631:1b89fd73

[issue20260] Argument Clinic: add unsigned integers converters

2014-01-21 Thread Larry Hastings
Larry Hastings added the comment: Actually, here's another data point to consider. The underlying implementation of PyArg_Parse* is the function convertsimple() in Python/getargs.c. For all the non-bitwise integer format units ('bhi'), if they overflow or underflow the native integer they ra

[issue16638] support multi-line docstring signatures in IDLE calltips

2014-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Main change is using a custom function (2.7) or bytes instead of int for test and using maxsplit parameter to not needlessly split a 100-line docstring into 100 pieces. -- resolution: -> fixed stage: patch review -> committed/rejected status: open ->

[issue16638] support multi-line docstring signatures in IDLE calltips

2014-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b62c923c0ef by Terry Jan Reedy in branch '2.7': Issue #16638: Include up to 5 docstring header lines (before first blank) in http://hg.python.org/cpython/rev/6b62c923c0ef New changeset 5b6c3760714e by Terry Jan Reedy in branch '3.3': Issue #16638:

[issue20260] Argument Clinic: add unsigned integers converters

2014-01-21 Thread Larry Hastings
Larry Hastings added the comment: Also, you didn't remove the _ in front of "Converter" in the names, e.g "_PyLong_UnsignedShort_Converter" should be "_PyLong_UnsignedShortConverter". -- ___ Python tracker ___

[issue20260] Argument Clinic: add unsigned integers converters

2014-01-21 Thread Larry Hastings
Larry Hastings added the comment: Is this waiting on something? I agree that we can't change the behavior of existing functions. But your new converters should raise ValueError. -- ___ Python tracker

[issue20332] Argument Clinic does not support the 'l' format

2014-01-21 Thread Larry Hastings
Larry Hastings added the comment: /*[clinic input] brett_is_stinky_and_wrong l: long [clinic start generated code]*/ PyDoc_STRVAR(brett_is_stinky_and_wrong__doc__, "brett_is_stinky_and_wrong(l)"); #define BRETT_IS_STINKY_AND_WRONG_METHODDEF\ {"brett_is_stinky_and_wrong", (PyCFunct

[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

2014-01-21 Thread Tal Einat
Tal Einat added the comment: Attaching a new patch for complete conversion of Objects/unicodeobject.c. This is to replace the previous patch for this file. This new patch also converts all other possible unicode methods, including those not using PyArg_* functions. This includes various methods

[issue20339] Make bytes() use tp_as_buffer for cmp

2014-01-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Interpreter Core nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue17825] Indentation.offset and SyntaxError.offset mismatch

2014-01-21 Thread Florent Xicluna
Florent Xicluna added the comment: Done. The alignment error with non-ASCII chars should be fixed too, thanks to the work of Serhiy on issue #2382. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue20339] Make bytes() use tp_as_buffer for cmp

2014-01-21 Thread Neil Schemenauer
New submission from Neil Schemenauer: While poking around at bytes() related things, I noticed that the tp_richcompare method for bytes does not use the tp_as_buffer interface. Making it use it is quite easy, probably even makes the code simpler and

[issue17825] Indentation.offset and SyntaxError.offset mismatch

2014-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0041be34edbf by Florent Xicluna in branch '2.7': Issue #17825: Cursor ^ is correctly positioned for SyntaxError and IndentationError. http://hg.python.org/cpython/rev/0041be34edbf -- ___ Python tracker

[issue19936] Executable permissions of Python source files

2014-01-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: For those four libffi files in msg208964, do what you want with them. I ignored executable bits entirely (didn't set or unset) when importing the code as there is zero need to execute any of them. IMNSHO, I think executable bits should _not_ be set on most

[issue17825] Indentation.offset and SyntaxError.offset mismatch

2014-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset aeb204b8f6c4 by Florent Xicluna in branch 'default': Issue #17825: Cursor ^ is correctly positioned for SyntaxError and IndentationError. http://hg.python.org/cpython/rev/aeb204b8f6c4 -- ___ Python track

[issue17825] Indentation.offset and SyntaxError.offset mismatch

2014-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6d1372237607 by Florent Xicluna in branch '3.3': Issue #17825: Cursor ^ is correctly positioned for SyntaxError and IndentationError. http://hg.python.org/cpython/rev/6d1372237607 -- nosy: +python-dev __

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2014-01-21 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Hey, Just a reminder friendly reminder that there hasn't been any activity for a month and I have released a v2, pending for review (: -- ___ Python tracker __

[issue18147] SSL: diagnostic functions to list loaded CA certs

2014-01-21 Thread R. David Murray
R. David Murray added the comment: It looks like the doc for get_ca_certs wasn't missing, so now it appears twice in the docs. I'm not sure which is the preferred wording, so I'll leave it to Christian to fix it. -- nosy: +r.david.murray status: closed -> open ___

[issue16638] support multi-line docstring signatures in IDLE calltips

2014-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: See #20338 for why I think 70 (or even 79, the limit in CallTipWindow) is too low a limit. The purpose of grabbing multiple lines is to get the signature lines of builtins. I believe the max number of lines needed is 5, for bytes. however, identifying likely

[issue20338] Idle: increase max calltip width

2014-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: On further thought, I think the best place to truncate lines is in get_argspec, after being split from the docstring and before rejoined. -- ___ Python tracker ___

[issue20338] Idle: increase max calltip width

2014-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Meant to mention that wrapping is a possible alternative to truncation, although a limit of say, 200, would make either alternative rare. -- ___ Python tracker ___

[issue20338] Idle: increase max calltip width

2014-01-21 Thread Terry J. Reedy
New submission from Terry J. Reedy: Idle calltips are currently limited to 75 (signature) or 70 (doc line) chars. This is insufficient for some stdlib signatures. Example: >>> from http.client import HTTPConnection >>> import inspect >>> fob=HTTPConnection.__init__ >>> line=inspect.formatargspe

[issue20337] bdist_rpm should support %config(noreplace)

2014-01-21 Thread KV
New submission from KV: bdist_rpm should support handling %config(noreplace) to help with packaging. Patch attached. -- components: Build files: bdist_rpm-add-config-file.diff keywords: patch messages: 208715 nosy: kv priority: normal severity: normal status: open title: bdist_rpm shoul

[issue20336] test_asyncio: relax timings even more

2014-01-21 Thread Stefan Krah
New submission from Stefan Krah: It seems that the relaxed timings in some tests are still not sufficient: http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/7417/steps/test/logs/stdio == FAIL: test_time_a

[issue20179] Derby #10: Convert 50 sites to Argument Clinic across 4 files

2014-01-21 Thread Tal Einat
Tal Einat added the comment: Attached updated patch for bytes and bytearray. In the previous patch I missed the 'clear' and 'copy' bytearray methods. This patch is a replacement for the previous one, with the additional conversion of these two methods. -- Added file: http://bugs.pytho

[issue20335] bytes constructor accepts more than one argument even if the first one is not a string

2014-01-21 Thread Renaud Blanch
Changes by Renaud Blanch : -- title: bytes constructor accepts more than one argument even of the first one is not a string -> bytes constructor accepts more than one argument even if the first one is not a string ___ Python tracker

[issue20335] bytes constructor accepts more than one argument even of the first one is not a string

2014-01-21 Thread Renaud Blanch
Changes by Renaud Blanch : -- keywords: +patch Added file: http://bugs.python.org/file33600/bytesobject.patch ___ Python tracker ___ _

[issue20246] buffer overflow in socket.recvfrom_into

2014-01-21 Thread Stefan Krah
Stefan Krah added the comment: Thanks Ryan. As you say, the original segfault is also triggered with the shortened message. -- ___ Python tracker ___

[issue20246] buffer overflow in socket.recvfrom_into

2014-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c4f4db8107c by Stefan Krah in branch '3.3': Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts. http://hg.python.org/cpython/rev/5c4f4db8107c New changeset 9bbc3cc8ff4c by Stefan Krah in branch 'default': Issue #20246: Fix test

[issue20335] bytes constructor accepts more than one argument even of the first one is not a string

2014-01-21 Thread Mark Lawrence
Mark Lawrence added the comment: This shows the report to be wrong, you either have to pass an iterable of ints or a single int. Even the title is wrong, it doesn't accept more than one argument if the first one isn't a string, it raises a TypeError. Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18

[issue20280] add "predicate" to the glossary

2014-01-21 Thread Florent Xicluna
Florent Xicluna added the comment: Then we can forget it. Thank you for your input. -- resolution: -> rejected status: open -> closed ___ Python tracker ___

[issue20326] Argument Clinic should use a non-error-prone syntax to mark text signatures

2014-01-21 Thread Larry Hastings
Larry Hastings added the comment: Serhiy: I'm going to add PEP 457 features to the text signature, because without them the inspect.Signature objects will be wrong. So __doc__ and __text_signature__ would have to remove those first before handing the string to ast.parse. I wasn't seriously pr

[issue20335] bytes constructor accepts more than one argument even of the first one is not a string

2014-01-21 Thread Renaud Blanch
New submission from Renaud Blanch: % python3 Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> help(bytes) bytes constructor accepts more than one argument eve

[issue19920] TarFile.list() fails on some files

2014-01-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-01-21 Thread Glenn Langford
Changes by Glenn Langford : -- nosy: +bquinlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue20297] concurrent.futures.as_completed() installs waiters for already completed Futures

2014-01-21 Thread Glenn Langford
Changes by Glenn Langford : -- nosy: +bquinlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue20323] Argument Clinic: docstring_prototype output causes build failure on Windows

2014-01-21 Thread Larry Hastings
Larry Hastings added the comment: I had to throw it in a struct to prevent gcc from rearranging the variables. But this demonstrates the problem--when it prints the string, it doesn't stop at the end. - #include typedef struct { int a; char b[8]; int c; } abc_t;

[issue20323] Argument Clinic: docstring_prototype output causes build failure on Windows

2014-01-21 Thread Larry Hastings
Larry Hastings added the comment: If in C you define static char a[5] = "abcde" C suppresses the trailing '\0'. That it continued to work okay was a lucky break--you must not have looked in many docstrings, or you lucked out and they happened to be padded with zeroes. --

[issue7883] CallTips.py _find_constructor does not work

2014-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: THanks for reporting this. #12520 tripled the number of tests in CallTips.py and #20122 moved them to test_calltips.py. I think they cover this case and the tests proposed. #16630 added a few more tests and patched CallTips.py to make them pass. If you find an

[issue16630] IDLE: Calltip fails if __getattr__ raises exception

2014-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added test_attribute_exception with two subtests for each of two nasty classes. The resulting failures were fixed in CallTips.py by replacing all ob.__call__ references with one reference inside try_except that saved the method for possible later use. -

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

2014-01-21 Thread Tal Einat
Tal Einat added the comment: +1 for this. It would save a bit of manual conversion work, and would significantly reduce the size and complexity of the resulting patches. -- ___ Python tracker _

[issue16630] IDLE: Calltip fails if __getattr__ raises exception

2014-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset d55d1cbf5f9a by Terry Jan Reedy in branch '2.7': Issue #16630: Make Idle calltips work even when __getattr__ raises. http://hg.python.org/cpython/rev/d55d1cbf5f9a New changeset 2fe0b2dcc98c by Terry Jan Reedy in branch '3.3': Issue #16630: Make Idle

[issue8260] When I use codecs.open(...) and f.readline() follow up by f.read() return bad result

2014-01-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue20181] Derby #12: Convert 50 sites to Argument Clinic across 4 files

2014-01-21 Thread Tal Einat
Tal Einat added the comment: See nearly complete conversion of Objects/bytearrayobject.c in patch attached to issue20179. -- ___ Python tracker ___ _

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2014-01-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: serhiy.storchaka -> stage: patch review -> needs patch ___ Python tracker ___ ___ Python-bu

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

2014-01-21 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue20327] Argument Clinic: setting internal variable names for parsed arguments

2014-01-21 Thread Zachary Ware
Zachary Ware added the comment: This is a duplicate of issue20227; I'm adding you to the nosy of that one, Tal. -- nosy: +zach.ware resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Argument Clinic: rename arguments in generated C? __

[issue20179] Derby #10: Convert 50 sites to Argument Clinic across 4 files

2014-01-21 Thread Tal Einat
Tal Einat added the comment: Attached patch for AC conversion of Objects/bytesobject.c and Objects/bytearrayobject.c. This is one patch because there are changes that must be done in bytes_methods.h and bytes_methods.c that affect both of bytesobject.c and bytearrayobject.c. Those changes are

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2014-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset eb7565c212f1 by Serhiy Storchaka in branch '3.3': Issue #2382: SyntaxError cursor "^" now is written at correct position in most http://hg.python.org/cpython/rev/eb7565c212f1 New changeset ea34b2b0b8ae by Serhiy Storchaka in branch 'default': Issue

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

2014-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7ce7295393c2 by Victor Stinner in branch 'default': Issue #20311: EpollSelector now also rounds the timeout towards zero, as http://hg.python.org/cpython/rev/7ce7295393c2 -- ___ Python tracker

[issue20024] Py_BuildValue() can call Python code with an exception set

2014-01-21 Thread STINNER Victor
STINNER Victor added the comment: parsermodule.patch was applied as 91cb83f895cf (Python 3.3) and cd952e92c180 (3.4). -- ___ Python tracker ___ _

[issue20024] Py_BuildValue() can call Python code with an exception set

2014-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 29b4eb47f65e by Victor Stinner in branch 'default': Issue #20024: Py_BuildValue() now saves/restores the current exception before http://hg.python.org/cpython/rev/29b4eb47f65e -- nosy: +python-dev ___ Pyt

[issue20024] Py_BuildValue() can call Python code with an exception set

2014-01-21 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the review Serhiy. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue19936] Executable permissions of Python source files

2014-01-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Gregory, is it intentional that Modules/_ctypes/libffi/build-ios.sh, Modules/_ctypes/libffi/libtool-ldflags, Modules/_ctypes/libffi/msvcc.sh and Modules/_ctypes/libffi/src/arm/gentramp.sh have no executable bits? They all have executable bits in mainstream l

[issue20301] Correct docs for default access argument for DeleteKeyEx

2014-01-21 Thread Zachary Ware
Zachary Ware added the comment: Fixed, thanks for the report! -- assignee: docs@python -> zach.ware resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue20301] Correct docs for default access argument for DeleteKeyEx

2014-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset da35a4e724e5 by Zachary Ware in branch '3.3': Issue #20301: Mention the correct KEY_* value as the default http://hg.python.org/cpython/rev/da35a4e724e5 New changeset 3baee069c5ff by Zachary Ware in branch 'default': Issue #20301: Merge with 3.3 htt

[issue20283] Wrong keyword parameter name in regex pattern methods

2014-01-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +mrabarnett ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

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

2014-01-21 Thread Tal Einat
Tal Einat added the comment: I've been working on converting unicode, bytes and bytearray, but their files are separated into Derby groups #10, #11 and #12. Could we create a new issue and move the relevant files to it? The files I'd like to move: >From Derby #10 (issue20179): Objects/byt

[issue20283] Wrong keyword parameter name in regex pattern methods

2014-01-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually, several other methods also have wrong parameter name, "source" instead of "string". -- stage: needs patch -> patch review Added file: http://bugs.python.org/file33598/sre_pattern_string_keyword.patch ___

[issue20283] Wrong keyword parameter name in regex pattern methods

2014-01-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file33509/sre_pattern_string_keyword.patch ___ Python tracker ___ ___ Pytho

[issue20181] Derby #12: Convert 50 sites to Argument Clinic across 4 files

2014-01-21 Thread Tal Einat
Tal Einat added the comment: While converting Objects/stringlib/transmogrify.h as part of issue20180 (Derby #11), some changes to Objects/bytesobject.c and Objects/bytearrayobject.c were required. Those changes are included in the relevant patch attached to that issue. -- nosy: +talei

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

2014-01-21 Thread Tal Einat
Tal Einat added the comment: Never mind my previous comment; I realize it would create to much of a mess. Sorry for the noise. -- ___ Python tracker ___

[issue20326] Argument Clinic should use a non-error-prone syntax to mark text signatures

2014-01-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What if the __text_signature__ and __doc__ getter will call ast.parse() (actually compile()) on signature candidate? If it fails, then builtin has no signature, the __text_signature__ getter returns '', and the __doc__ getter returns all original docstring.

[issue20075] help(open) eats first line

2014-01-21 Thread Stefan Krah
Stefan Krah added the comment: See also #20326. -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20075] help(open) eats first line

2014-01-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue20326] Argument Clinic should use a non-error-prone syntax to mark text signatures

2014-01-21 Thread Stefan Krah
Stefan Krah added the comment: Larry Hastings wrote: > I think we should change the syntax to something people would > never write by accident. Here are some suggestions: > > "*(" > "*clinic*(" > "\01 clinic(" I like the original "def (...)\n" approach from #19674. If that is not possible fo

[issue19863] Missing function attributes in 2.7 docs.

2014-01-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: docs@python -> mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue20024] Py_BuildValue() can call Python code with an exception set

2014-01-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. I have searched the sources and have not found any use of Py_BuildValue() which can be used for test. Py_BuildValue() can fail only due to memory error. It can also can fail with non-UTF8 string, but all uses of Py_BuildValue() with a string in a tupl

[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 ___ ___ Python-bugs-list

[issue20323] Argument Clinic: docstring_prototype output causes build failure on Windows

2014-01-21 Thread Zachary Ware
Zachary Ware added the comment: Larry Hastings wrote: > Does your proposed solution work properly when docstrings are turned > off? Try undefining WITH_DOC_STRINGS. I bet you need to make the > size 1 in that case. For certain values of "properly", yes. It builds with no warnings or errors on

[issue19863] Missing function attributes in 2.7 docs.

2014-01-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM, but may be write Py3k compatible names at first place? -- stage: -> commit review type: -> behavior ___ Python tracker ___ ___

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

2014-01-21 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Given this, WONTFIXing this seems reasonable to me, FWIW. -- ___ Python tracker ___ ___ Python-bugs

[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

[issue19870] Backport Cookie fix to 2.7 (httponly / secure flag)

2014-01-21 Thread Berker Peksag
Berker Peksag added the comment: Here's a backport of issue 16611 for 2.7. -- keywords: +patch nosy: +berker.peksag stage: -> patch review versions: -Python 3.3 Added file: http://bugs.python.org/file33597/issue19870.diff ___ Python tracker

[issue20333] argparse subparser usage message hides main parser usage

2014-01-21 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +bethard, paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue3073] Cookie.Morsel breaks in parsing cookie values with whitespace

2014-01-21 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue20271] urllib.parse.urlparse() accepts wrong URLs

2014-01-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What should be correct behavior? Raise an exception, return '[::1]spam' as hostname, or left all as is? -- ___ Python tracker ___ ___

[issue20329] zipfile.extractall fails in Posix shell with utf-8 filename

2014-01-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

  1   2   >