[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: And was the time argument passed in to utimes() set to NULL? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19838 ___

[issue21091] EmailMessage.is_attachment should be a method

2014-08-04 Thread Joseph Godbehere
Joseph Godbehere added the comment: Patch to change message.is_attachment from a property to a normal method. I've updated the doc and all calls to is_attachment. -- keywords: +patch nosy: +joegod Added file: http://bugs.python.org/file36243/attach_not_property.patch

[issue21091] EmailMessage.is_attachment should be a method

2014-08-04 Thread Nick Coghlan
Nick Coghlan added the comment: This is your call David - I agree consistency is highly desirable, and having a chance to find and fix this kind of discrepancy is a large part of why we introduced provisional APIs. -- assignee: - r.david.murray nosy: +ncoghlan stage: - commit review

[issue1602] windows console doesn't print or input Unicode

2014-08-04 Thread Drekin
Drekin added the comment: I think that boxes are ok, it's just missing font. Without active workaroud there is just UnicodeEncodeError (with cp852 for me). There is problem with astral characters – I'm getting each box twice. It is possible that Windows console doesn't handle astral

[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-04 Thread Csaba Makara
New submission from Csaba Makara: If I use the distutils.dir_util.copy_tree to copy the same directory structure multiple times to the same place (even from multiple sources) but I remove and recreate the target_directory before each copy, the following exception accurs: g:\_Programmingpy

[issue22116] Weak reference support for C function objects

2014-08-04 Thread Wei Wu
Wei Wu added the comment: @pitrou, thank you for the review. I have signed the contributor agreement form after submitting this patch. Please let me know if there is a further step to help you to verify the signed contributor agreement. I'm really glad to have the chance to contribute back to

[issue21091] EmailMessage.is_attachment should be a method

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Unfortunately this will silently break existing code because msg.is_attachment will be always true. But it is possible to make EmailMessage.is_attachment a property which returns special callable with the __bool__() method which will emit deprecation

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread STINNER Victor
STINNER Victor added the comment: Abc is a bytes string in Python 2 and an Unicode string in Python 3. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22127 ___

[issue21091] EmailMessage.is_attachment should be a method

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The alternative is to make EmailMessage.is_multipart a property. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21091 ___

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Charles-François Natali
Charles-François Natali added the comment: Note that even the bytes version is still quite slow. UDP is used for light-weight protocols where you may send thousands or more messages per second. I'd be curious what the sendto() performance is in raw C. Ah, I wouldn't rely on the absolyte

[issue22131] uuid.bytes optimization

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If such changes are acceptable, here is a part of my large patch fo modernizing stdlib sources. Some microbenchmarks: $ ./python -m timeit -s from uuid import NAMESPACE_DNS as u -- u.bytes $ ./python -m timeit -s from uuid import NAMESPACE_DNS as u --

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Daniel Eriksson
Daniel Eriksson added the comment: I'm no expert at all at GDB, but I will give it a go and if this is wrong I can try a lot more. Breakpoint 1, posix_utime (self=0xf00918ed8, args=0xf014459f8, kwargs=0x0) at ./Modules/posixmodule.c:4838 4838PyObject *times = NULL; Current language:

[issue14910] argparse: disable abbreviation

2014-08-04 Thread Daniel Eriksson
Daniel Eriksson added the comment: Fixed documentation issues -- Added file: http://bugs.python.org/file36246/issue14910_6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14910 ___

[issue22131] uuid.bytes optimization

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Just noticed that this patch also fixes a bug. When os.popen() fails in _ipconfig_getnode(), pipe is not set, and then NameError is raised in the finally branch. -- ___ Python tracker rep...@bugs.python.org

[issue22100] Use $HOSTPYTHON when determining candidate interpreter for $PYTHON_FOR_BUILD.

2014-08-04 Thread Shiz
Shiz added the comment: And a last tiny fix: on a lot of systems (except apparently the system I was using for my main testing), a freshly-built HOSTPYTHON will be confused to look for libraries, and the invocation will fail because it can't bootstrap itself. Point it to the current Python

[issue13299] namedtuple row factory for sqlite3

2014-08-04 Thread Daniel Lenski
Daniel Lenski added the comment: Serhiy, 52 usec/loop doesn't seem like much overhead. This is not 52 usec per row fetched, but just 52 usec per cursor.execute(). An example where 1 row is fetched for each cursor would show this more clearly. The advantage of namedtuple is that it's a very

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: The no debug info makes me think you're using a release build. Please recompile making sure that -O0 and -g are both set. By default the makefile has -O3 and -g, so normally you just change the -O3 to -O0, then make clean and make. --

[issue21965] Add support for Memory BIO to _ssl

2014-08-04 Thread Geert Jansen
Geert Jansen added the comment: New patch with a Python-level API (option #3). This needs some more tests, and docs. -- Added file: http://bugs.python.org/file36248/ssl-memory-bio-3.patch ___ Python tracker rep...@bugs.python.org

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Daniel Eriksson
Daniel Eriksson added the comment: I used configure with --with-pydebug, will look closer on it when I get to the office -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19838 ___

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Daniel Eriksson
Daniel Eriksson added the comment: To confirm, my OPT-line is OPT=-g -O0 -Wall -Wstrict-prototypes -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19838 ___

[issue13299] namedtuple row factory for sqlite3

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, above microbenchmarks measure the time of execute() + the time of fetching one row. Here is more precise microbenchmarks. $ ./python -m timeit -s import sqlite3; con = sqlite3.connect(':memory:'); con.execute('create table t (a, b)') -s for i in

[issue21091] EmailMessage.is_attachment should be a method

2014-08-04 Thread Joseph Godbehere
Joseph Godbehere added the comment: Very good point, Serhiy. Here is an alternative patch, which instead changes Message.is_multipart from a method to a property as per your suggestion. This way incorrect usage should fail noisily. This patch is against the relevant docs, tests, is_multipart

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps it is time to add support of ipaddress objects in socket functions. Then we could avoid address parsing in tight loop not only for Unicode strings, but for bytes strings too. s = socket.socket(...) addr =

[issue22012] struct.unpack('?', '\x02') returns (False,) on Mac OSX

2014-08-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: BTW. There is also an argument to be made against my patch and for a documentation update: it is unclear to me if clang ever creates _Bool false values where the bit pattern isn't exactly the same as the zero value of an integer of the same size (for example

[issue22131] uuid.bytes optimization

2014-08-04 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- assignee: ronaldoussoren - components: -Macintosh nosy: -ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22131 ___

[issue21091] EmailMessage.is_attachment should be a method

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch with more soft transition. Message.is_multipart() still works but emits deprecation warning. -- Added file: http://bugs.python.org/file36250/multipart_is_property_2.patch ___ Python tracker

[issue21091] EmailMessage.is_attachment should be a method

2014-08-04 Thread Nick Coghlan
Nick Coghlan added the comment: Based on the provisional API status, a faster deprecation plan could be to do Serhiy's patch in a 3.4 maintenance release and the hard break in 3.5 -- ___ Python tracker rep...@bugs.python.org

[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2014-08-04 Thread Christian Henz
Christian Henz added the comment: I think the cElementTree portion of the applied changes is incorrect. `close_source` is never actually set to `True`. http://hg.python.org/cpython/file/50722d2f08c7/Modules/_elementtree.c#l2926 -- nosy: +Christian.Henz

[issue22097] Linked list API for ordereddict

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yes, I think it's clear it's not going anywhere. In a way the standard list is good enough for those uses, except when your lists start growing really big (I don't know where the threshold is, but tens of thousands I'd say). Perhaps someone should make a blog

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Perhaps it is time to add support of ipaddress objects in socket functions. What I was thinking too :-) However, beware the parsing cost of ipaddress objects themselves. One common pattern when doing UDP networking is the following: def

[issue20170] Derby #1: Convert 137 sites to Argument Clinic in Modules/posixmodule.c

2014-08-04 Thread Zachary Ware
Zachary Ware added the comment: Yep, Windows is happy with the latest patch. Since this is such an enormous patch, I'm assuming it's only going into 3.5 and have changed the version field accordingly. -- versions: +Python 3.5 -Python 3.4 ___ Python

[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2014-08-04 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7334 ___ ___ Python-bugs-list

[issue22131] uuid.bytes optimization

2014-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: - patch review versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22131 ___

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Charles-François Natali
Charles-François Natali added the comment: Parsing a bytes object i.e. b'127.0.0.1' is done by inet_pton(), so it's probably cheap (compared to a syscall). If we had getaddrinfo() and gethostbyname() return bytes instead of strings, it would be a huge gain. --

[issue15826] Increased test coverage of test_glob.py

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: OK, I'll close the issue then. Alessandro, thanks anyway for the patch! -- resolution: - out of date stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue18588] timeit examples should be consistent

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Examples updated, thanks for the report! -- resolution: - fixed stage: - resolved status: open - closed versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18588

[issue20402] List comprehensions should be noted in for loop documentation

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: needs patch - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20402 ___ ___

[issue21987] TarFile.getmember on directory requires trailing slash iff over 100 chars

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21987 ___ ___

[issue18588] timeit examples should be consistent

2014-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset c39457a07caa by Ezio Melotti in branch '3.4': #18588: update the timeit examples to be consistent. http://hg.python.org/cpython/rev/c39457a07caa New changeset 45b208ae9eab by Ezio Melotti in branch 'default': #18588: merge with 3.4.

[issue5411] Add xz support to shutil

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think we should hurry on to be in time for 3.5. Your patch looks ok to me. Just update the version number in the docs ;) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5411

[issue21965] Add support for Memory BIO to _ssl

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think the API choice looks reasonable, thank you (haven't looked at the patch in detail). A question though: does it support server-side SNI? AFAIR server-side SNI requires you to be able to change a SSL object's context. --

[issue21965] Add support for Memory BIO to _ssl

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Am adding the asyncio maintainers as well as Ben Darnell (Tornado) to the nosy list, for feedback. -- nosy: +Ben.Darnell, gvanrossum, yselivanov ___ Python tracker rep...@bugs.python.org

[issue1186900] nntplib shouldn't raise generic EOFError

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, I find the description rather vague and potentially misleading. Connection establishment would usually refer to the TCP connection, but an EOFError is actually a high-level, logical error (it has nothing to do with networking per se: it's probably

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Charles-François: you get the idna overhead in 2.7, too, by specifying u'127.0.0.1' as the address. The idna overhead could be bypassed fairly easily in C by: 1. checking that the string is an ASCII string (this is possible in constant time, in 3.x) 2.

[issue20977] pyflakes: undefined ctype in 2 except blocks in the email module

2014-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ec2b429a607 by Ezio Melotti in branch '3.4': #20977: fix undefined name in the email module. Patch by Rose Ames. http://hg.python.org/cpython/rev/9ec2b429a607 New changeset 944fc499ccd3 by Ezio Melotti in branch 'default': #20977: merge with 3.4.

[issue20977] pyflakes: undefined ctype in 2 except blocks in the email module

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- nosy: +ezio.melotti resolution: - fixed stage: needs patch - resolved status: open - closed versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org

[issue22133] IDLE: Set correct WM_CLASS on X11

2014-08-04 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: I found this bug on gnome where IDLE's activity bar entry is named Toplevel instead of IDLE. After digging through the X11 and gnome docs, the WM_CLASS was wrongly being set as Toplevel. This patch has been verified using xprop, that the correct

[issue22133] IDLE: Set correct WM_CLASS on X11

2014-08-04 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: Added file: http://bugs.python.org/file36252/after-before.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22133 ___

[issue1011113] Make “install” find the build_base directory

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Éric, can this be closed then? -- nosy: +ezio.melotti status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue103 ___

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: The attached patch makes the difference between Unicode and bytes strings for host names negligible, plus it slightly speeds up the bytes case as well. -- keywords: +patch Added file: http://bugs.python.org/file36253/skip_idna.diff

[issue21278] Running the test suite with -v makes the test_ctypes and the test_zipimport erroneously reported as failed

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - works for me status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21278 ___

[issue1371826] distutils is silent about multiple -I/-L/-R

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: -Python 2.7, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1371826 ___

[issue19955] When adding .PY and .PYW to PATHEXT, it replaced string instead of appending

2014-08-04 Thread Steve Dower
Steve Dower added the comment: That installer doesn't even try and set PATHEXT, and the 3.4 installer appears to set it correctly (for .PY, but not .PYW). Are you sure it was an installer from python.org that overwrote your setting? -- ___ Python

[issue21965] Add support for Memory BIO to _ssl

2014-08-04 Thread Geert Jansen
Geert Jansen added the comment: A question though: does it support server-side SNI? AFAIR server-side SNI requires you to be able to change a SSL object's context. Yes, it does. See the following comment in _servername_callback(): /* Pass a PySSLSocket instance when using memory BIOs, but

[issue10071] Should not release GIL while running RegEnumValue

2014-08-04 Thread Steve Dower
Steve Dower added the comment: I don't think this is an appropriate fix, since in most cases there is no need to prevent other Python threads running while inside RegSetValue. There are also other ways that a context switch may occur during the enumeration which will put the program in

[issue21965] Add support for Memory BIO to _ssl

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 04/08/2014 11:21, Geert Jansen a écrit : I realize the above is an abstraction violation between the C and Python level. Now that we have an SSLObject Python level API, I could update the code to store a weakref to the SSLObject in the _SSLSocket (just like

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Charles-François Natali
Charles-François Natali added the comment: Charles-François: you get the idna overhead in 2.7, too, by specifying u'127.0.0.1' as the address. I don't see it in a profile output, and the timing doesn't change whether I pass '127.0.0.1' or b'127.0.0.1' in 2.7. --

[issue21121] -Werror=declaration-after-statement is added even for extension modules through setup.py

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: This patch should definitely go in. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21121 ___ ___

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please understand that Victor and I were asking you to pass a *unicode* object, with a *u* prefix. For me, the time more-than-doubles, on OSX, with the system python. mvl:~ loewis$ /usr/bin/python -m timeit -s import socket; s =

[issue22116] Weak reference support for C function objects

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ah, yes, indeed, the agreement seems to have been validated in the meantime (you can see it by the asterisk near your name in the comments here). Thank you! -- ___ Python tracker rep...@bugs.python.org

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Charles-François Natali
Charles-François Natali added the comment: Please understand that Victor and I were asking you to pass a *unicode* object, with a *u* prefix. For me, the time more-than-doubles, on OSX, with the system python. Sorry, I misread 'b'. it's a day without... --

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 2. directly passing the ASCII string to setipaddr (leaving any error detection to this routine) This will change the type of exception. If this is acceptable and modulo Antoine's and my nitpicks on Rietveld, the patch LGTM. But it is too complicated.

[issue22104] test_asyncio unstable in refleak mode

2014-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9bca86812857 by Zachary Ware in branch '3.4': Issue #22104: Don't hold a reference to the loaded TestSuite in runtest_inner http://hg.python.org/cpython/rev/9bca86812857 New changeset 7bc53cf8b2df by Zachary Ware in branch 'default': Closes #22104:

[issue22125] Cure signedness warnings introduced by #22003

2014-08-04 Thread Zachary Ware
Zachary Ware added the comment: Either patch makes MSVC happy; Meador's gets points from me for simplicity. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22125 ___

[issue21308] PEP 466: backport ssl changes

2014-08-04 Thread Alex Gaynor
Alex Gaynor added the comment: Latest patch does as Donald suggests and rolls back the WantWrite changes, fixing poplib. -- Added file: http://bugs.python.org/file36255/ssl-backport.diff ___ Python tracker rep...@bugs.python.org

[issue20170] Derby #1: Convert 137 sites to Argument Clinic in Modules/posixmodule.c

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: Yeah, I've been meaning to mark all the Derby patches as 3.5. We're not adding new Clinic conversions to 3.4. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20170

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2014-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 815f1a69283e by Ezio Melotti in branch '3.4': #18034: update FAQ to suggest importlib.import_module instead of __import__. Patch by Wouter van Heyst. http://hg.python.org/cpython/rev/815f1a69283e New changeset f78ef3819d67 by Ezio Melotti in

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! The other FAQ got fixed in #17177/3d3b9d456eb8. -- assignee: docs@python - ezio.melotti resolution: - fixed stage: needs patch - resolved status: open - closed versions: +Python 2.7 ___

[issue22134] string formatting float rounding errors

2014-08-04 Thread Larry
New submission from Larry: Certain values close to the rounding boundary are rounded down instead of up; and this is done somewhat inconsistently. #Example (python v2.7.8, and previous) #almost an odd-even pattern, but not quite for x in [1.045, 1.145, 1.245, 1.345, 1.445, 1.545, 1.645,

[issue1011113] Make “install” find the build_base directory

2014-08-04 Thread Éric Araujo
Éric Araujo added the comment: In my previous message I meant that I agreed with the original request, i.e. add --build-base to install. I will probably never have the time to write a patch. -- dependencies: -write a configure command status: pending - open

[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-04 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. Did you find this issue with a setup.py file or with direct usage of dir_utils.copy_tree? These distutils modules are not meant for general use, so bugs that don’t occur during regular use of setup.py files will probably not get fixed.

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: Yup, you've got a debug build there. I'm baffled by that gdb no debug info line then. At line 4801 could you also print *utime print tv -- ___ Python tracker rep...@bugs.python.org

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Daniel Eriksson
Daniel Eriksson added the comment: Larry: Result of that: (gdb) print *utime Structure has no component named operator*. (gdb) print tv No symbol tv in current context. You can also catch me on IRC with the same nickname as here -- ___ Python

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

2014-08-04 Thread Zachary Ware
Zachary Ware added the comment: Here's an updated patch. It includes the patch from #20586 for proper signature/docstring output in _winapi. -- versions: +Python 3.5 -Python 3.4 Added file: http://bugs.python.org/file36256/issue20172.v7.diff ___

[issue21973] Idle should not quit on corrupted user config files

2014-08-04 Thread ingrid
ingrid added the comment: Here is a patch that will print a warning if there is an invalid config when starting idle. Example: Warning (from warnings module): File /Users/ingrid/.idlerc/config-extensions.cfg, line 1 enable=1 MissingSectionHeaderError: File contains no section headers.

[issue20171] Derby #2: Convert 115 sites to Argument Clinic in Modules/_cursesmodule.c

2014-08-04 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20171 ___ ___

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20174 ___

[issue20175] Derby #6: Convert 50 sites to Argument Clinic across 8 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20175 ___

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20179 ___

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20177 ___

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20173 ___

[issue20171] Derby #2: Convert 115 sites to Argument Clinic in Modules/_cursesmodule.c

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20171 ___

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20182 ___

[issue20183] Derby #14: Convert 41 sites to Argument Clinic across 5 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20183 ___

[issue20178] Derby #9: Convert 52 sites to Argument Clinic across 11 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20178 ___

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20180 ___

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20185 ___

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20184 ___

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20186 ___

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20181 ___

[issue15018] Incomplete Python LDFLAGS and CPPFLAGS used for extension modules on posix

2014-08-04 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15018 ___ ___

[issue22097] Linked list API for ordereddict

2014-08-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Perhaps someone should make a blog post comparing theoretical and actual performance of various data types (hint hint ;-)). Great idea. Thanks Antoine. -- resolution: - rejected stage: - resolved status: open - closed

[issue20766] reference leaks in pdb

2014-08-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: After refleak_3.patch, test_pdb_next_command_in_generator_for_loop is the only remaining test that sets a breakpoint without reinitializing the breakpoints numbering first. As a result, this test may also fail in the future when tests are reordered by the

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: I talked to puppet on IRC for a while and we figured out the following about his OS: * He has utime() and utimes(), but no utimensat(). * utimes() can write with *microsecond* resolution. * stat() reads the time with *nanosecond* resolution. (He has

[issue5411] Add xz support to shutil

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Éric? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5411 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22135] allow to break into pdb with Ctrl-C for all the commands that resume execution

2014-08-04 Thread Xavier de Gaye
New submission from Xavier de Gaye: Pdb sets a handler for the SIGINT signal (which is sent when the user presses Ctrl-C on the console) when you give a continue command. 'continue' is not the only pdb command that may be interrupted, all the commands that resume the execution of the program

[issue22135] allow to break into pdb with Ctrl-C for all the commands that resume execution

2014-08-04 Thread Xavier de Gaye
Changes by Xavier de Gaye xdeg...@gmail.com: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22135 ___ ___ Python-bugs-list

[issue22134] string formatting float rounding errors

2014-08-04 Thread Ned Deily
Ned Deily added the comment: What you are seeing is due to the limitations of binary floating-point arithmetic. The issue is described in more detail in the Python tutorial: https://docs.python.org/2/tutorial/floatingpoint.html#tut-fp-issues -- nosy: +ned.deily resolution: - not a

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

2014-08-04 Thread Zachary Ware
Zachary Ware added the comment: You're right, of course; I don't know how I got a non-screwball result in prior testing. Here's an updated patch. I have not come up with any better alternative. -- stage: - patch review Added file: http://bugs.python.org/file36259/issue20323.v2.diff

[issue14910] argparse: disable abbreviation

2014-08-04 Thread Daniel Eriksson
Daniel Eriksson added the comment: Updated patch -- Added file: http://bugs.python.org/file36260/issue14910_7.diff.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14910 ___

  1   2   >