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

2014-01-16 Thread Zachary Ware
Changes by Zachary Ware : Removed file: http://bugs.python.org/file33415/issue20172.msvcrt.diff ___ Python tracker ___ ___ Python-bugs-list ma

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

2014-01-16 Thread Zachary Ware
Changes by Zachary Ware : Removed file: http://bugs.python.org/file33412/issue20172.winsound.diff ___ Python tracker ___ ___ Python-bugs-list

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

2014-01-16 Thread Zachary Ware
Changes by Zachary Ware : Removed file: http://bugs.python.org/file33439/issue20172._winapi.diff ___ Python tracker ___ ___ Python-bugs-list m

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

2014-01-16 Thread Zachary Ware
Changes by Zachary Ware : Removed file: http://bugs.python.org/file33411/issue20172.winreg.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue20287] Argument Clinic: support diverting output to buffer, external file, etc

2014-01-16 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

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

2014-01-16 Thread Zachary Ware
Changes by Zachary Ware : Added file: http://bugs.python.org/file33504/8cf882d09d3f.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue20287] Argument Clinic: support diverting output to buffer, external file, etc

2014-01-16 Thread Larry Hastings
New submission from Larry Hastings: The long-awaited, highly desirable "buffer" patch is here! With features I figured would never see the light of day. Changes in this patch: * New directive "output": output redirects a "field" (subsection of Clinic's generated code) to an alternat

[issue1776674] glob.glob inconsistent

2014-01-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Amaury, could you provide corrected patch? -- components: -Windows versions: -Python 3.2 ___ Python tracker ___ __

[issue20086] test_locale fails with Turkish locale

2014-01-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset bac50f54d357 by Serhiy Storchaka in branch '2.7': Issue #20086: Restored the use of locale-independing mapping instead of http://hg.python.org/cpython/rev/bac50f54d357 -- ___ Python tracker

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

2014-01-16 Thread Nick Coghlan
Nick Coghlan added the comment: Larry clarified that the signature(min) change in this patch was actually restoring the Python 3.3 behaviour, so I think with the addition of some relevant test cases to the test suite, go for it :) -- ___ Python trac

[issue20135] FAQ need list mutation answers

2014-01-16 Thread Fran Bull
Changes by Fran Bull : -- keywords: +patch Added file: http://bugs.python.org/file33502/20135.patch ___ Python tracker ___ ___ Python-

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

2014-01-16 Thread Nick Coghlan
Nick Coghlan added the comment: Looking now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue8557] subprocess PATH semantics and portability

2014-01-16 Thread Reuben Garrett
Changes by Reuben Garrett : -- nosy: +RubyTuesdayDONO ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue20286] Segfault when using internal DictProxy

2014-01-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: s/rettype/restype/ and don't use the internal function _PyObj_FromPointer. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker

[issue20286] Segfault when using internal DictProxy

2014-01-16 Thread Vajrasky Kok
Vajrasky Kok added the comment: It happens on Python 3.3 and 3.4 as well. Tested on Fedora 20. -- nosy: +vajrasky versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue20286] Segfault when using internal DictProxy

2014-01-16 Thread Ali Ebrahim
Changes by Ali Ebrahim : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue20286] Segfault when using internal DictProxy

2014-01-16 Thread Ali Ebrahim
New submission from Ali Ebrahim: Demonstration in this gist: https://gist.github.com/aebrahim/840 Crash info in this gist: https://gist.github.com/aebrahim/8466749 The code runs without issue on Ubuntu 12.04 (Python 2.7.3), and Windows 7 (Python 2.7.6). It also ran fine on MacOS X 10.8 (Py

[issue20285] Improve object.__doc__ and help(object) output

2014-01-16 Thread Terry J. Reedy
New submission from Terry J. Reedy: >>> object.__doc__ 'The most base type' Since 'most base' can be interpreted as 'least desireable', several people on Python list (2013 Dec, "interactive help on the base object") agree that this should be improved. Even is 'most base' is interpreted as a va

[issue20284] proof for concept patch for bytes formatting methods

2014-01-16 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

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

2014-01-16 Thread Larry Hastings
Larry Hastings added the comment: Whoever does the review, could you post here? I feel bad enough asking y'all, maybe we don't need multiple people doing it ;-) -- ___ Python tracker _

[issue19974] tarfile doesn't overwrite symlink by directory

2014-01-16 Thread Chris Morgan
Chris Morgan added the comment: Testing passed on OSX Mavericks. -- nosy: +drpotato ___ Python tracker ___ ___ Python-bugs-list mailin

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset cd3fdf21a6e4 by Larry Hastings in branch 'default': Issue #20226: Added tests for new features and regressions. http://hg.python.org/cpython/rev/cd3fdf21a6e4 -- ___ Python tracker

[issue20284] proof for concept patch for bytes formatting methods

2014-01-16 Thread Neil Schemenauer
New submission from Neil Schemenauer: This is a very rough, proof of concept patch that implements %-style formatting for bytes objects. Currently it calls __format__ with a bytes argument and expects a bytes result. I've only implemented support for bytes formatting for the 'long' object.

[issue20135] FAQ need list mutation answers

2014-01-16 Thread Fran Bull
Fran Bull added the comment: Perhaps a 3rd FAQ something like this?: Why is changing a list in one instance of a class also changing it in another instance of the same class? This happens: >>> class A(object): ... def __init__(self, fruit=[]): ... self.fruit = fruit ... >>> an_A = A() >>

[issue20283] Wrong keyword parameter name in regex pattern methods

2014-01-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Documented (in docstring and in ReST documentation) signatures of the match, search and (since 3.4) fullmatch methods of regex pattern object are: match(string[, pos[, endpos]]) search(string[, pos[, endpos]]) fullmatch(string[, pos[, endpos]]) However in

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread R. David Murray
R. David Murray added the comment: Ah, you are correct. I'm not sure what page I was looking at before. Maybe I hadn't switched away from the python2 page. -- versions: +Python 3.3 ___ Python tracker ___

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread Mike Owens
Mike Owens added the comment: I'm looking right at the 3.3 docs right now. %z is in the table. 8.1.8. strftime() and strptime() Behavior -- ___ Python tracker ___ _

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread R. David Murray
R. David Murray added the comment: The %z table entry exists only in the 3.4 (dev) docs, not the 3.3 docs. There is no doc change needed for 3.3, since it doesn't mention %z except in the footnote. And yes, I should have mentioned that the datetime versions only work with aware timezones. Y

[issue20280] add "predicate" to the glossary

2014-01-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: -0 To me, this seems like unnecessary noise. The more random entries we add to the glossary, the less usable it becomes. There are many computing terms that could be added such as "recursion", "stack overflow", "buffer", "header", "packet", "basic block",

[issue19145] Inconsistent behaviour in itertools.repeat when using negative times

2014-01-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current behaviors 3.4b2 >>> itertools.repeat('a', -1) repeat('a', 0) >>> itertools.repeat('a', times=-1) repeat('a') # forever >>> itertools.repeat('a', times=-2) repeat('a', -2) My opinions (same as what Raymond says -- negative == 0) The first line is correct

[issue20135] FAQ need list mutation answers

2014-01-16 Thread R. David Murray
R. David Murray added the comment: Thanks for working on this. Technically, defaults are evaluated when the 'def' statement is executed, which is normally, but not always, at the time that the module is first imported (counterexample: nested function definitions). The answer should also expli

[issue20282] Argument Clinic: int with boolean default

2014-01-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently in many functions boolean argument parsed as int, with 'i' code. When converting this to Argument Clinic we can't write just interactive: int = False because C default becomes "Py_False". Instead we need explicitly specify c_default. in

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Larry Hastings
Changes by Larry Hastings : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker ___ __

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Larry Hastings
Larry Hastings added the comment: Done! Georg: Thanks for the suggestion, and for the reviews! Argument Clinic is improved this day. -- ___ Python tracker ___

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset abf87e1fbc62 by Larry Hastings in branch 'default': Issue #20226: Major improvements to Argument Clinic. http://hg.python.org/cpython/rev/abf87e1fbc62 -- nosy: +python-dev ___ Python tracker

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread SilentGhost
SilentGhost added the comment: Mike, the note is at the very bottom of the page. datetime.strftime produces empty strings with this specifiers for naïve objects, are the object you're testing timezone-aware? -- nosy: +SilentGhost ___ Python tracker

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread Mike Owens
Mike Owens added the comment: The datetime.strftime function produces no output for %z or %Z. Very irritating. -- ___ Python tracker ___ _

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread Mike Owens
Mike Owens added the comment: Documentation doesn't have a foot note for either %z or %Z but there is generic footnote talking about C lib behavior and that %z is deprecated. I guess if there were a foot note in the table for %z that would save some time for everyone. --

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread R. David Murray
R. David Murray added the comment: Please see the footnote on the 'time' documentation page. It sounds like Windows is treating %z as if was %Z. There should be a reference to that footnote from the %z table entry, so that's a doc bug. Might also be worth explicitly mentioning this weird Win

[issue20135] FAQ need list mutation answers

2014-01-16 Thread Fran Bull
Fran Bull added the comment: I read the FAQ last night and I couldn't see these answered there either. I would like to try submitting a patch for this one, probably this evening. It will likely be two FAQs in the programming section that go something like: Why does changing one list change ano

[issue19936] Executable permissions of Python source files

2014-01-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread Mike Owens
Mike Owens added the comment: Expected output should be -0700. I checked Python 3.3.1 and 2.7.4 on Linux and the output is as expected. -- ___ Python tracker ___ ___

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread Mike Owens
New submission from Mike Owens: When using strftime from the time module on 64bit Python for Windows the format specifier %z gives the time zone name instead of the time zone offset as stated in the documentation. eg >>> strftime("%z") 'US Mountain Standard Time' >>> strftime("%Z") 'US Mountai

[issue20275] asyncio: remove debug code from BaseEventLoop

2014-01-16 Thread STINNER Victor
STINNER Victor added the comment: > I don't understand the purpose of these timing information, (...) > By the way, it's not documentation how to enable asyncio logs I added a new page in the asyncio documentation to start documenting common traps with asynchronous programming and to document d

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Georg Brandl
Georg Brandl added the comment: Thx! (without soundcheck) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

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

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Larry Hastings
Larry Hastings added the comment: Sorry, forgot to update trunk, here you go. -- Added file: http://bugs.python.org/file33500/larry.clinic.rollup.patch.two.diff.4.txt ___ Python tracker ___

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Larry Hastings
Larry Hastings added the comment: Third patch, changes based on Georg's review. Thanks, Georg! -- Added file: http://bugs.python.org/file33499/larry.clinic.rollup.patch.two.diff.3.txt ___ Python tracker _

[issue19936] Executable permissions of Python source files

2014-01-16 Thread Stefan Krah
Stefan Krah added the comment: Somehow Modules/_decimal/tests/bench.py and Modules/_decimal/tests/deccheck.py are now executable, which (I think) they should not be. -- nosy: +skrah ___ Python tracker

[issue19936] Executable permissions of Python source files

2014-01-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 334116bb2939 by Serhiy Storchaka in branch '2.7': Issue #19936: Added executable bits or shebang lines to Python scripts which http://hg.python.org/cpython/rev/334116bb2939 -- ___ Python tracker

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Larry Hastings
Larry Hastings added the comment: Py_buffer is currently inflexible. The only default value it accepts is None. If you want it to be required, give it no default value. If you want it to be optional, give it a default value of None. Do you have a use case for any other default value? -

[issue19936] Executable permissions of Python source files

2014-01-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 085a0ea2015f by Serhiy Storchaka in branch '3.3': Issue #19936: Remove executable bits from C source files and several forgotten http://hg.python.org/cpython/rev/085a0ea2015f New changeset 6baeee39195b by Serhiy Storchaka in branch 'default': Issue

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

2014-01-16 Thread Zachary Ware
Zachary Ware added the comment: The nested scope trick makes me happy. There are still a lot of cases in the conversions I've worked on where a variable had to be renamed due to having documented a different name for the parameter, but in the vast majority of those cases the new name makes mo

[issue19936] Executable permissions of Python source files

2014-01-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a script. It lists text files with executable bits and without shebangs and files with .py, .pyw, or .sh suffix which have shebang but have not with executable bits. As far as it searches not only Python files, now it found such files: - ./python-gd

[issue19936] Executable permissions of Python source files

2014-01-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 92fd0df03823 by Serhiy Storchaka in branch '3.3': Issue #19936: Added executable bits or shebang lines to Python scripts which http://hg.python.org/cpython/rev/92fd0df03823 New changeset 83009d70bc9c by Serhiy Storchaka in branch 'default': Issue #1

[issue6128] Consequences of using Py_TPFLAGS_HAVE_GC are incompletely explained

2014-01-16 Thread Christian Aichinger
Christian Aichinger added the comment: I concur that this aspect of writing Python types in C/C++ needs better documentation. For a new extension writer (like me), it is not obvious when PyObject_GC_Track/PyObject_GC_UnTrack must be called or not. Similarly, it is not clear from the current docum

[issue20272] chain.from_iterable in the overview table not linking to the function

2014-01-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa88c8265e94 by Benjamin Peterson in branch '3.3': linkify chain.from_iterable (closes #20272) http://hg.python.org/cpython/rev/aa88c8265e94 New changeset 58cac9967cf0 by Benjamin Peterson in branch 'default': merge 3.3 (#20272) http://hg.python.org

[issue20278] Wrong URL to the pysqlite web page

2014-01-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Done. Of course, the Python version of sqlite hasn't been updated in ages (and has probably diverged!), so it might not be that relevant anymore. -- nosy: +benjamin.peterson ___ Python tracker

[issue20278] Wrong URL to the pysqlite web page

2014-01-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset b73b35d1c58d by Benjamin Peterson in branch '3.3': update pysqlite website (closes #20278) http://hg.python.org/cpython/rev/b73b35d1c58d New changeset 40289a03569f by Benjamin Peterson in branch '2.7': update pysqlite website (closes #20278) http://

[issue19936] Executable permissions of Python source files

2014-01-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9062a8695c89 by Stefan Krah in branch '3.3': Issue #19936: Disable shebang lines in order to prevent using a random http://hg.python.org/cpython/rev/9062a8695c89 -- nosy: +python-dev ___ Python tracker <

[issue20280] add "predicate" to the glossary

2014-01-16 Thread Florent Xicluna
New submission from Florent Xicluna: This term is used in various places in the documentation. http://docs.python.org/dev/search.html?q=predicate Probably it deserves an entry in the glossary, even if it is not specific to Python: http://en.wikipedia.org/wiki/Predicate_%28mathematical_logic%29

[issue19936] Executable permissions of Python source files

2014-01-16 Thread Matthias Klose
Matthias Klose added the comment: I like this, and I'm doing this in the Debian/Ubuntu packaging anyway. But I would like to see some check script which maybe can be run before a release, that points out regressions or wrong permissions for newly introduced files. -- nosy: +doko

[issue20262] Convert some debugging prints in zipfile to warnings

2014-01-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Well, then I should only ask Benjamin. -- nosy: +benjamin.peterson versions: +Python 3.3, Python 3.4 ___ Python tracker ___ __

[issue20279] bytearray.fromhex does not work with some hexes generated by hex

2014-01-16 Thread Anatoly Belikov
Anatoly Belikov added the comment: ok i gave it half byte -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___

[issue20279] bytearray.fromhex does not work with some hexes generated by hex

2014-01-16 Thread Anatoly Belikov
New submission from Anatoly Belikov: bytearray.fromhex(hex(434)[2:]) throws ValueError: non-hexadecimal number found in fromhex() arg at position 2 Strangely it works with leading zero: bytearray.fromhex('0' + hex(438)[2:]) -- components: Library (Lib) messages: 208273 nosy: Anatoly

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

2014-01-16 Thread STINNER Victor
STINNER Victor added the comment: There is another option: modify the function to use argument clinic and implement something in argument clinic to hold a reference on borrowed references "O" and hold a reference on "(...)" sequence. Holding a reference on borrowed references "O" would make Py

[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2014-01-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is known bug in prlimit (issue20191). -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ P

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

2014-01-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- priority: normal -> critical ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue20277] default __debug__ value and asserts

2014-01-16 Thread Michael Foord
Michael Foord added the comment: Having __debug__ True by default is unintuitive and not particularly useful. However it is relatively well known, so although it is "rarely" used that probably only means hundreds of thousands of piece of code. So it isn't going to change I'm afraid. -

[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2014-01-16 Thread Vajrasky Kok
Vajrasky Kok added the comment: With little modification: class PID_converter(int_converter): type = 'pid_t' format_unit = '" _Py_PARSE_PID "' It works. Thanks! But I got unnecessary empty string: if (!PyArg_ParseTuple(args, "" _Py_PARSE_PID "i:prlimit", &pid, &resource)) It should be: i

[issue20277] default __debug__ value and asserts

2014-01-16 Thread xwild
xwild added the comment: Yes it's acceptable, but why the debug mode is enabled by default? It's a not expected behavior. -- ___ Python tracker ___ __

[issue20277] default __debug__ value and asserts

2014-01-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Specify the -O option in she-bang: #!/usr/bin/env python3 -O -- ___ Python tracker ___ ___ Python

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Excellent! I'm rewriting the zlib module and the code becomes much cleaner with this patch. There is one problem left -- Py_buffer doesn't support default value at all. Such code /*[clinic input] zlib.compressobj zdict: Py_buffer = unspecified [clinic s

[issue20232] Argument Clinic NULL default falsely implies None acceptability

2014-01-16 Thread Ryan Smith-Roberts
Ryan Smith-Roberts added the comment: After all our discussions I'm closing this with resolution "don't do that then". -- resolution: -> wont fix status: open -> closed ___ Python tracker _

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

2014-01-16 Thread Ryan Smith-Roberts
Ryan Smith-Roberts added the comment: Here's sendmsg with only nested bracket optional args. If Rietveld doesn't like this patch I may cry. -- Added file: http://bugs.python.org/file33496/argument_clinic_socketmodule_v4.patch ___ Python tracker

[issue20275] asyncio: remove debug code from BaseEventLoop

2014-01-16 Thread STINNER Victor
STINNER Victor added the comment: > I like logger_is_enabled_for.patch. I prefer debug_flag.patch because it is faster than logger_is_enabled_for.patch (see msg208214). I would like to write the most efficient code for BaseEventLoop._run_once() because this function is the real core of asyncio

[issue20277] default __debug__ value and asserts

2014-01-16 Thread xwild
Changes by xwild : -- nosy: +ezio.melotti, michael.foord, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20277] default __debug__ value and asserts

2014-01-16 Thread xwild
Changes by xwild : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

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

2014-01-16 Thread Ryan Smith-Roberts
Changes by Ryan Smith-Roberts : Added file: http://bugs.python.org/file33494/argument_clinic_ensure_legal_cleanup.patch ___ Python tracker ___ __

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

2014-01-16 Thread Ryan Smith-Roberts
Ryan Smith-Roberts added the comment: The use case is primarily to minimize code churn for the derby, but since you're the one (heroically) doing the code review it's really your call. I whipped up a quick patch for this feature, and even if you remove c_name from __init__ I think it's still a

[issue20278] Wrong URL to the pysqlite web page

2014-01-16 Thread Richard Philips
New submission from Richard Philips: The reference to the pysqlite web page on: http://docs.python.org/3.4/library/sqlite3.html should be: https://github.com/ghaering/pysqlite -- assignee: docs@python components: Documentation messages: 208261 nosy: Richard.Philips, docs@pytho

[issue20277] default __debug__ value and asserts

2014-01-16 Thread xwild
Changes by xwild : -- versions: -3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It would be better if you commit a patch which changes PyTuple_Size to PyTuple_GET_SIZE in separate commit. -- ___ Python tracker ___ ___

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Larry Hastings
Larry Hastings added the comment: Second rollup patch. More small fixes, many suggested by other folks. -- Added file: http://bugs.python.org/file33492/larry.clinic.rollup.patch.two.diff.2.txt ___ Python tracker

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

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

[issue20276] ctypes._dlopen should not force RTLD_NOW

2014-01-16 Thread STINNER Victor
STINNER Victor added the comment: FYI, dlopen() flags are configurable: - sys.setdlopenflags(n): default=RTLD_NOW (if available, or RTLD_LAZY otherwise) - mode parameter of dl.dlopen(): default=RTLD_LAZY - mode parameter of ctypes.CDLL: default=RTLD_LOCAL (but RTLD_GLOBAL on Mac OS X <= 10.3);

[issue20277] default __debug__ value and asserts

2014-01-16 Thread xwild
New submission from xwild: Why the python sets the "__debug__" builtin = True by default? It causes that people never use the "assert" construction by their programms in a regular way. it's too hard to explain everyone that "-O" is required by a script. It's very usefull instruction and actuall

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Larry Hastings
Larry Hastings added the comment: Isn't that what it does? I may actually remove py_default. Nobody uses it, and I don't think you need it--you just specify what you want as the real default value. -- ___ Python tracker

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why not allow arbitrary string as py_default? -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue20226] Argument Clinic: support for simple expressions?

2014-01-16 Thread Larry Hastings
Larry Hastings added the comment: Okay, I have a fix for the help(os.chmod) problem, that'll be in the next refreshed patch. -- ___ Python tracker ___ __

[issue20133] Derby: Convert the audioop module to use Argument Clinic

2014-01-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I mean I want to add support for float32 and float64 in audioop functions. In that case return value of getsample(), max(), ets will be no longer integer for float format. -- ___ Python tracker

[issue20262] Convert some debugging prints in zipfile to warnings

2014-01-16 Thread Larry Hastings
Larry Hastings added the comment: I will bow to the wisdom of my predecessor and accept this patch for beta 3. -- ___ Python tracker ___ _

[issue20256] Argument Clinic: compare signed and unsigned ints

2014-01-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: (unsigned int)-1 etc. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht