[issue23488] Random objects twice as big as necessary on 64-bit builds

2015-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Zachary for fixing this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue24221] Clean-up and optimization for heapq siftup() and siftdown()

2015-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps the code will look simpler if introduce the macro _PyList_SWAP_ITEMS(list, i, j). -- nosy: +serhiy.storchaka ___ Python tracker ___ _

[issue21931] Nonsense errors reported by msilib.FCICreate for bad argument

2015-05-17 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue21931] Nonsense errors reported by msilib.FCICreate for bad argument

2015-05-17 Thread Zachary Ware
Zachary Ware added the comment: It's a simple enough fix, so I went ahead and committed it. Thanks for the patch! I've created issue24224 to track the addition of tests to test_msilib (for more than just this issue). -- resolution: fixed -> stage: resolved -> patch review status: cl

[issue24224] test_msilib is inadequate

2015-05-17 Thread Zachary Ware
New submission from Zachary Ware: test_msilib doesn't test much and could do with good expansion. Marked for 3.5, but 3.4 and 2.7 are just as barren if whoever takes this feels particularly ambitious. -- components: Tests, Windows keywords: easy messages: 243458 nosy: steve.dower, tim.

[issue21931] Nonsense errors reported by msilib.FCICreate for bad argument

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41281737d71a by Zachary Ware in branch '3.4': Issue #21931: Fix error handling in msilib.FCICreate(). https://hg.python.org/cpython/rev/41281737d71a New changeset cb0d1d86215e by Zachary Ware in branch 'default': Closes #21931: Merge with 3.4 https:

[issue24220] ast.Call signature changed

2015-05-17 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: Hi Carol, > Matthias, Did you wish to mark this issue for additional Documentation and as > a behavior change request (warning of signature change until 3.6) in addition > to Devguide? Hum, probably, I'm not super familiar with this bug tracker and it u

[issue23488] Random objects twice as big as necessary on 64-bit builds

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 16d0e3dda31c by Zachary Ware in branch 'default': Issue #23488: Fix a syntax error on big endian platforms. https://hg.python.org/cpython/rev/16d0e3dda31c -- ___ Python tracker

[issue24220] ast.Call signature changed

2015-05-17 Thread Carol Willing
Carol Willing added the comment: Matthias, Did you wish to mark this issue for additional Documentation and as a behavior change request (warning of signature change until 3.6) in addition to Devguide? I've summarized below some info from researching Matthias' original message. I see three qu

[issue15112] argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positional

2015-05-17 Thread Martin Panter
Martin Panter added the comment: Closed Issue 24223 as a duplicate. I understand the patch here also fixes the case of an --option before an optional positional argument using nargs="?"; is that right? -- ___ Python tracker

[issue24223] argparse parsing (mingling --option and optional positional argument)

2015-05-17 Thread Martin Panter
Martin Panter added the comment: I suggest this is a duplicate of Issue 15112. The same problem also happens with nargs="*", and that issue apparently has a patch to handle both cases. For the record, this is the resulting error, and a demo that it works if the option comes before the position

[issue20035] Clean up Tcl library discovery in Tkinter on Windows

2015-05-17 Thread Zachary Ware
Zachary Ware added the comment: I committed a presence test for Tix in #21337 that should catch problems with loading Tix after this patch. There shouldn't be any problem though, we actually install Tix into Tcl/Tk whereas TIX_LIBRARY is (to my understanding) for helping Tcl/Tk find a Tix tha

[issue17239] XML vulnerabilities in Python

2015-05-17 Thread Martin Panter
Martin Panter added the comment: I did a rough merge with current “default” (3.5 pre-release) branch so that I can have a closer look at this issue; see xmlbomb_20150518.patch for the result. There are some bits with Argument Clinit that need perfecting: * Unsure how to convert the ElementTree

[issue21337] Add tests for Tix

2015-05-17 Thread Zachary Ware
Zachary Ware added the comment: As a prerequisite for #20035, I've added the simplest test possible that just makes sure Tix is available on Windows. I only added it on default as I don't have the facilities to test it properly on 2.7 and 3.4 on Windows (which is the only platform actually te

[issue21337] Add tests for Tix

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset eeea91d0506b by Zachary Ware in branch 'default': Issue #21337: Add bare-bones Tix test https://hg.python.org/cpython/rev/eeea91d0506b -- nosy: +python-dev ___ Python tracker

[issue24223] argparse parsing bug

2015-05-17 Thread Bob Alexander
New submission from Bob Alexander: Here is simple example of failure to parse arguments that should parse OK. In the following little program, the second from last line contains an aargument sequence that parses OK, but the last line should but doesn't. import argparse ap = argparse.ArgumentPa

[issue24222] Idle 2.7 -c, -r compile with print as function.

2015-05-17 Thread Terry J. Reedy
New submission from Terry J. Reedy: C:\Users\Terry>py -2 -m idlelib.idle -c "print True" >>> *** Error in script or command! Traceback (most recent call last): File "", line 1 print True ^ SyntaxError: invalid syntax https://stackoverflow.com/questions/30280525/python-idle-gi

[issue24221] Clean-up and optimization for heapq siftup() and siftdown()

2015-05-17 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue10598] Add test for curses haskey replacement

2015-05-17 Thread Mark Lawrence
Mark Lawrence added the comment: Sorry, Windows 8.1 only. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue24221] Clean-up and optimization for heapq siftup() and siftdown()

2015-05-17 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file39414/time_heapify.py ___ Python tracker ___ ___ Python-bugs-list mailin

[issue24221] Clean-up and optimization for heapq siftup() and siftdown()

2015-05-17 Thread Raymond Hettinger
New submission from Raymond Hettinger: The siftup() and siftdown() routines rearrange pointers in a list. The generated code repeats the list object to ob_item lookup for each access. This patch does that lookup only once per iteration. It cleans up the code by replacing the PyList_GET_ITEM

[issue10598] Add test for curses haskey replacement

2015-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Here is what I meant, but I cannot test on Windows. Mark, do you have *nix currently? -- Added file: http://bugs.python.org/file39412/has_key.diff ___ Python tracker

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2015-05-17 Thread R. David Murray
R. David Murray added the comment: All lines need to be wrapped to <80 columns. The idea behind the loop is this: sql = "{} INTO test(id, unique_test) VALUES (?, ?)" self.cu.execute(sql.format('INSERT OR REPLACE, (1, "foo") for statement in ["INSERT OR REPLACE", "REPLACE"]:

[issue4254] _cursesmodule.c callable update_lines_cols()

2015-05-17 Thread R. David Murray
R. David Murray added the comment: Looks to like there is nothing left to do here, so I'm closing it. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker _

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

2015-05-17 Thread R. David Murray
R. David Murray added the comment: Thanks everyone. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ __

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset c7d82a7a9dea by R David Murray in branch 'default': Issue #13866: add *quote_via* argument to urlencode. https://hg.python.org/cpython/rev/c7d82a7a9dea -- nosy: +python-dev ___ Python tracker

[issue10685] trace does not ignore --ignore-module

2015-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tom, please sign the PSF Contributor Agreement https://www.python.org/psf/contrib/ https://www.python.org/psf/contrib/contrib-form/ -- ___ Python tracker __

[issue22155] Out of date code example for tkinter's createfilehandler

2015-05-17 Thread Martin Panter
Martin Panter added the comment: For the record, I have used this code in 2.7 in the past (though I mainly use Python 3). The Python 2 version of the changes look fine to me. -- ___ Python tracker

[issue24195] Add `Executor.filter` to concurrent.futures

2015-05-17 Thread Nick Coghlan
Nick Coghlan added the comment: I'm now +1 on a recipe in the docs, -0 on a concrete method on Executor that delegates to the map() method. -- ___ Python tracker ___

[issue24218] Also support SMTPUTF8 in smtplib's send_message method.

2015-05-17 Thread R. David Murray
R. David Murray added the comment: Thanks Maciej. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue10170] Relationship between turtle speed setting and actual speed is not documented

2015-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: After looking at these results in relation to the qualitative 'speed' documentation, I cannot think of any any enhancement appropriate for turtle doc audience. So I withdraw my request. -- resolution: -> works for me stage: -> resolved status: open

[issue24218] Also support SMTPUTF8 in smtplib's send_message method.

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 30795a477f85 by R David Murray in branch 'default': #24218: Add SMTPUTF8 support to send_message. https://hg.python.org/cpython/rev/30795a477f85 -- nosy: +python-dev ___ Python tracker

[issue24211] Add RFC 6532 support to the email library

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4a254750ad20 by R David Murray in branch 'default': #24211: Add missing docs for SMTPUTF8 policy instance. https://hg.python.org/cpython/rev/4a254750ad20 -- ___ Python tracker

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2015-05-17 Thread Alex Lord
Alex Lord added the comment: There was a bunch of things wrong with that patch. In addition to the issues you brought up in the review I was mixing up what the actual problem is REPLACE INTO is an alias for INSERT OR REPLACE. INSERT OR REPLACE was correctly setting the lastrowid values but RE

[issue2571] can cmd.py's API/docs for the use of an alternate stdin be improved?

2015-05-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: remind -> postponed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue19846] Python 3 raises Unicode errors with the C locale

2015-05-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20895] Add bytes.empty_buffer and deprecate bytes(17) for the same purpose

2015-05-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue19737] Documentation of globals() and locals() should be improved

2015-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: My succinct version: Return the dictionary implementing the current module namespace. For code within functions, this is set when the function is defined and remains the same regardless of where a function is called. -- versions: +Python 3.5 -Python 3

[issue12485] textwrap.wrap: new argument for more pleasing output

2015-05-17 Thread Arnon Yaari
Changes by Arnon Yaari : -- nosy: +wiggin15 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue20362] longMessage attribute is ignored in unittest.TestCase.assertRegexpMatches etc

2015-05-17 Thread Arnon Yaari
Changes by Arnon Yaari : -- nosy: +wiggin15 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue20769] Reload() description is unclear

2015-05-17 Thread Arnon Yaari
Changes by Arnon Yaari : -- nosy: +wiggin15 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue23757] tuple function gives wrong answer when called on list subclass with custom __iter__

2015-05-17 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue23757] tuple function gives wrong answer when called on list subclass with custom __iter__

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset c79530e08985 by Raymond Hettinger in branch '3.4': Issue #23757: Only call the concrete list API for exact lists. https://hg.python.org/cpython/rev/c79530e08985 -- ___ Python tracker

[issue23757] tuple function gives wrong answer when called on list subclass with custom __iter__

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset b6121a4afad7 by Raymond Hettinger in branch '2.7': Issue #23757: Only call the concrete list API for exact lists. https://hg.python.org/cpython/rev/b6121a4afad7 -- nosy: +python-dev ___ Python tracker <

[issue24220] ast.Call signature changed

2015-05-17 Thread Matthias Bussonnier
New submission from Matthias Bussonnier: The `ast.Call/_ast.Call` signature, changed on May 5th (https://hg.python.org/cpython/rev/95886) which causes some error in package using ast (https://bitbucket.org/pytest-dev/pytest/issue/744/pytest-assert-rewriting-broken-with-python#). There does no

[issue24218] Also support SMTPUTF8 in smtplib's send_message method.

2015-05-17 Thread R. David Murray
R. David Murray added the comment: Oh, right, that's what I get for doing this at the end of a long chain of patch reviews :). I added that code after I'd written the test and forgot to go back and test it. -- ___ Python tracker

[issue24218] Also support SMTPUTF8 in smtplib's send_message method.

2015-05-17 Thread Maciej Szulik
Maciej Szulik added the comment: David one small comment regarding typo in smtplib.py, but most importantly I'd suggest adding additional test case to cover the path (the newly added one) where you get a UnicodeEncodeError upon encoding from or to with UTF8 and then failing to find SMTPUTF8 on

[issue22155] Out of date code example for tkinter's createfilehandler

2015-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, thanks for the nice patch. -- assignee: docs@python -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue22155] Out of date code example for tkinter's createfilehandler

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8bd9da5635fe by Terry Jan Reedy in branch '3.4': Issue #22155: News entry. https://hg.python.org/cpython/rev/8bd9da5635fe New changeset 850cbd54cc73 by Terry Jan Reedy in branch 'default': Issue #22155: News entry. https://hg.python.org/cpython/rev/

[issue22155] Out of date code example for tkinter's createfilehandler

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset e8dd65c7fb6b by Terry Jan Reedy in branch '2.7': Issue #22155: Add File Handlers subsection with createfilehandler to Tkinter https://hg.python.org/cpython/rev/e8dd65c7fb6b New changeset 1efcb7b6ec8a by Terry Jan Reedy in branch '3.4': Issue #22155:

[issue19678] smtpd.py: channel should be passed to process_message

2015-05-17 Thread R. David Murray
R. David Murray added the comment: At this point (3.5) we have settled on having process_message be required to have a **kwargs parameter in its signature in order to support new features (ex: enable_SMTPUTF8). So the solution here would be to use inspect.signature to find out if process_mess

[issue20098] email policy needs a mangle_from setting

2015-05-17 Thread R. David Murray
R. David Murray added the comment: Thanks, Milan. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue20098] email policy needs a mangle_from setting

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset df81f9b67736 by R David Murray in branch 'default': #20098: add mangle_from_ policy option. https://hg.python.org/cpython/rev/df81f9b67736 -- nosy: +python-dev ___ Python tracker

[issue24219] Repeated integer in Lexical analysis/Integer literals section

2015-05-17 Thread Dmitry Kazakov
New submission from Dmitry Kazakov: One of the integers under "Some examples of integer literals" is repeated twice: 7 21474836470o1770b100110111 3 79228162514264337593543950336 0o3770x1 79228162514264337593543950336

[issue24218] Also support SMTPUTF8 in smtplib's send_message method.

2015-05-17 Thread Maciej Szulik
Changes by Maciej Szulik : -- nosy: +maciej.szulik ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2015-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Currently the maximal length of local part is 14+1+len(str(2**16))+1+len(str(10**5-1)) == 26 With the patch it will be len(str(2**31*100))+1+len(str(2**16))+1+len(str(2**64)) = 39 If encode all three numbers with hexadecimal, it will be len('%x

[issue24215] test_trace uses test_pprint

2015-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since test files should no longer have test_main, test_trace should no longer look for one. (And indeed, test_trace itself should be converted, which looks trivial.) The offending line is cmd='from test import test_pprint; test_pprint.test_main()'): The use

[issue21931] Nonsense errors reported by msilib.FCICreate for bad argument

2015-05-17 Thread Zachary Ware
Zachary Ware added the comment: I'll try to have a look at this later today, but unfortunately can't guarantee anything (I don't know C, MSI, or _msi very well). -- ___ Python tracker __

[issue22155] Out of date code example for tkinter's createfilehandler

2015-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not sure that this is right place to document these functions (they are methods of undocumented class), but the patch looks correct to me. If you will commit the patch, Terry, note that tkinter should be replaced with Tkinter in 2.7. -- ___

[issue16314] Support xz compression in distutils

2015-05-17 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue24218] Also support SMTPUTF8 in smtplib's send_message method.

2015-05-17 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24218] Also support SMTPUTF8 in smtplib's send_message method.

2015-05-17 Thread R. David Murray
New submission from R. David Murray: Now that I've committed issue 24211, we can also add SMTPUTF8 support to smptlib's send_message command. See attached patch. -- files: send_message_smtputf8.patch keywords: patch messages: 243413 nosy: r.david.murray priority: normal severity: norma

[issue24211] Add RFC 6532 support to the email library

2015-05-17 Thread R. David Murray
R. David Murray added the comment: Thanks, Maciej. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2015-05-17 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: An increase of 13 characters doesn't seem so bad. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue22155] Out of date code example for tkinter's createfilehandler

2015-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Assuming that the details are correct, which I cannot check on Windows :-(, this looks good to me. If the tkinter doc is expanded and reorganized, that section might move but I cannot see a better place for it now. Martin, have you used that code (with Tkinter

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2015-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The idea, obviously, is for python -m idlelib to also work on all systems. When this was requested as part of the discussion on another issue, I thought there was no idlelib.__main__ because __main__ did not work on 2.7. Someone corrected me and the expectat

[issue24211] Add RFC 6532 support to the email library

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9f0d5e33230f by R David Murray in branch 'default': #24211: Add RFC6532 support to the email library. https://hg.python.org/cpython/rev/9f0d5e33230f -- nosy: +python-dev ___ Python tracker

[issue24217] O_RDWR undefined in mmapmodule.c

2015-05-17 Thread Jeffrey Armstrong
Changes by Jeffrey Armstrong : Removed file: http://bugs.python.org/file39407/mmapmodule.py3.5.0a3.diff ___ Python tracker ___ ___ Python-bugs

[issue24217] O_RDWR undefined in mmapmodule.c

2015-05-17 Thread Jeffrey Armstrong
Jeffrey Armstrong added the comment: Indeed, I agree. Let's try this new patch. -- Added file: http://bugs.python.org/file39408/mmapmodule.py3.5.0a3.HAVE_FCNTL_H.diff ___ Python tracker __

[issue24217] O_RDWR undefined in mmapmodule.c

2015-05-17 Thread Christian Heimes
Christian Heimes added the comment: I think it's more portable with a #ifdef HAVE_FCNTL_H block around the include. -- nosy: +christian.heimes ___ Python tracker ___

[issue21931] Nonsense errors reported by msilib.FCICreate for bad argument

2015-05-17 Thread Jeffrey Armstrong
Jeffrey Armstrong added the comment: I thought, while I'm here reporting another bug, I'd bump this once more. There is a patch here, and it corrects clearly broken code. Should I mark this as "won't fix?" -- ___ Python tracker

[issue20596] Support for alternate wcstok syntax for Windows compilers

2015-05-17 Thread Jeffrey Armstrong
Changes by Jeffrey Armstrong : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24217] O_RDWR undefined in mmapmodule.c

2015-05-17 Thread Jeffrey Armstrong
New submission from Jeffrey Armstrong: While compiling on Linux/x86 with Open Watcom, I've run into the following at link time in Modules/mmapmodule.c: ./Modules/mmapmodule.c(1223): Error! E1011: Symbol 'O_RDWR' has not been declared The constant isn't defined because fcntl.h isn't included.

[issue24211] Add RFC 6532 support to the email library

2015-05-17 Thread Maciej Szulik
Maciej Szulik added the comment: David one small nit in docs, but otherwise the patch looks good, applies cleanly and works as expected. -- ___ Python tracker ___ __

[issue24147] Dialect class defaults are not documented.

2015-05-17 Thread Skip Montanaro
Skip Montanaro added the comment: The defaults for the Dialect class are documented: https://docs.python.org/2/library/csv.html#dialects-and-formatting-parameters I think the problem is mostly that csv.Dialect must be subclassed. You can't use it directly, and if you subclass it as MiK did, yo

[issue24211] Add RFC 6532 support to the email library

2015-05-17 Thread Maciej Szulik
Changes by Maciej Szulik : -- nosy: +maciej.szulik ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue24216] Typo in bytes.join/bytearray.join documentation

2015-05-17 Thread R. David Murray
R. David Murray added the comment: Thanks, Dmitry. -- nosy: +r.david.murray resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue24216] Typo in bytes.join/bytearray.join documentation

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ba271f116f94 by R David Murray in branch '3.4': #24216: fix typo https://hg.python.org/cpython/rev/ba271f116f94 New changeset 91ac3040a28d by R David Murray in branch 'default': Merge: #24216: fix typo https://hg.python.org/cpython/rev/91ac3040a28d

[issue24147] Dialect class defaults are not documented.

2015-05-17 Thread R. David Murray
R. David Murray added the comment: Yes, I think the documentation should be improved. -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python, r.david.murray resolution: not a bug -> stage: -> needs patch status: closed -> open title: doublequote are n

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2015-05-17 Thread R. David Murray
R. David Murray added the comment: Looking at my mail store, it looks like one more more mail clients use a GUID for the messageid, which is 36 characters. So 39 doesn't seem so bad. There's even one that is 74 characters long. There are also shorter ones, though, so compactifying the resul

[issue24147] doublequote are not well recognized with Dialect class

2015-05-17 Thread Mik
Mik added the comment: Ok Thanks. But perhaps the documentation of csv.Dialect would be updated with the default parameters. If all attribute may be specified this would be indicated in the doc. -- ___ Python tracker

[issue24147] doublequote are not well recognized with Dialect class

2015-05-17 Thread Skip Montanaro
Skip Montanaro added the comment: In your Mon class, you've left the doublequote parameter unset (it defaults to None). It completely overrides the default dialect. When no Dialect class is given, the default is csv.excel. Note that doublequote is set to True in csv.excel. In your second examp

[issue20035] Clean up Tcl library discovery in Tkinter on Windows

2015-05-17 Thread Steve Dower
Steve Dower added the comment: There's an MSBuild property that I set for release builds (either BuildForRelease or ReleaseBuild, not Configuration) that should exclude the preprocessor directive so we don't include an unnecessary full path. I can make that change later if you don't want to ho

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2015-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch that changes the generating of message IDs: 1. The datetime is taken with higher precision, 2 decimal digits after dot. 2. The datetime is written as Unix time in 0.01 second units, not as mmddHHMMSS. This is more compact and faster. 3. Th

[issue15809] 2.7 IDLE console uses incorrect encoding.

2015-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 247f003b42ea by Serhiy Storchaka in branch '2.7': Issue #15809: IDLE shell now uses locale encoding instead of Latin1 for https://hg.python.org/cpython/rev/247f003b42ea -- nosy: +python-dev ___ Python tra

[issue23757] tuple function gives wrong answer when called on list subclass with custom __iter__

2015-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Raymond's patch LGTM. Here is updated patch with tests. -- assignee: -> rhettinger keywords: +patch stage: needs patch -> commit review Added file: http://bugs.python.org/file39404/fix_list_to_tuple_2.diff ___ Pyth

[issue23637] Warnings error with non-ascii chars.

2015-05-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue18323] 'GzipFile' object has no attribute 'extrastart'

2015-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As a workaround specify mode='r' for GzipFile. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue24195] Add `Executor.filter` to concurrent.futures

2015-05-17 Thread Paul Moore
Paul Moore added the comment: I'm not a heavy user of concurrent.futures, so I don't have a strong opinion. I've never felt a need for this function, though, so I guess I'm -0. A recipe in the docs would be good, though. -- ___ Python tracker

[issue24216] Typo in bytes.join/bytearray.join documentation

2015-05-17 Thread Dmitry Kazakov
New submission from Dmitry Kazakov: This if there are any values in iterable that are note bytes-like objects should be if there are any values in iterable that are not bytes-like objects Here's a micropatch... -- assignee: docs@python components: Documentation files: bytes_j

[issue24195] Add `Executor.filter` to concurrent.futures

2015-05-17 Thread Ram Rachum
Ram Rachum added the comment: Okay, let me understand what the opinions of people are about this feature. Ram Rachum: +1 Antoine Pitrou: -1 Nick Coghlan: Is that a +1 or a +0? Ethan and Paul, you've participated but I didn't get your opinion on whether you want to see this feature go in. If t

[issue22155] Out of date code example for tkinter's createfilehandler

2015-05-17 Thread Martin Panter
Martin Panter added the comment: Here is a patch which moves the documentation from the FAQ into a new section at the bottom of the main “tkinter” reference manual page, and updates it. I also mentioned lack of Windows support. Let me know what you think! -- keywords: +patch stage: nee