[issue21715] Chaining exceptions at C level

2014-06-11 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch introduces new private function which chains previously fetched and current exceptions. This will help in correct implementing at C level an equivalent of following Python idioms: try: ... finally: ... and

[issue21706] Add base for enumerations (Functional API)

2014-06-11 Thread Dmitry Korchemny
Dmitry Korchemny added the comment: I think that the situation when you want start numbering from 0 is rather common, especially when you need to define bit fields as enumeration or when you need to implement an interface with other languages (e.g., C). --

[issue21624] Idle: polish htests

2014-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Refinement 1: in doing coverage for UndoDelegator, I noticed that the htest function is counted as missing (uncovered). Both of the following in .coveragerc work to ignore the block: name prefix; comment suffix. def htest_.*: .*# htest # The

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2014-06-11 Thread Thomas Klausner
Changes by Thomas Klausner t...@giga.or.at: -- nosy: +wiz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19561 ___ ___ Python-bugs-list mailing

[issue21703] IDLE: Test UndoDelegator

2014-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: cls.percolator.close() cut leaks in half. test_idle leaked [237, 237, 237, 237] references, sum=948 test_idle leaked [95, 97, 97, 97] memory blocks, sum=386 test_idle leaked [130, 130, 130, 130] references, sum=520 test_idle leaked [60, 62, 62, 62] memory

[issue11783] email parseaddr and formataddr should be IDNA aware

2014-06-11 Thread Milan Oberkirch
Milan Oberkirch added the comment: Ping :) -- nosy: +zvyn ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11783 ___ ___ Python-bugs-list mailing

[issue21709] logging.__init__ assumes that __file__ is always set

2014-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11a920a26f13 by Vinay Sajip in branch '3.4': Issue #21709: Remove references to __file__ when part of a frozen application. http://hg.python.org/cpython/rev/11a920a26f13 New changeset 149cc6364180 by Vinay Sajip in branch 'default': Closes #21709:

[issue12989] Consistently handle path separator in Py_GetPath on Windows

2014-06-11 Thread STINNER Victor
STINNER Victor added the comment: Hum, it would be nice to have a unit test for this change. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12989 ___

[issue21703] IDLE: Test UndoDelegator

2014-06-11 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: It was WidgetRedirector which was leaking. cls.percolator.redir.close() added in tearDownClass fixes the leak. saimadhav@debian:~/dev/34-cpython$ ./python -m test -R :: -uall test_idle [1/1] test_idle beginning 9 repetitions 123456789 . 1 test OK.

[issue21716] 3.4.1 download page link for OpenPGP signatures has no sigs

2014-06-11 Thread grossdm
Changes by grossdm m...@douglasmgross.com: -- components: Windows nosy: grossdm priority: normal severity: normal status: open title: 3.4.1 download page link for OpenPGP signatures has no sigs type: enhancement versions: Python 3.4 ___ Python

[issue21703] IDLE: Test UndoDelegator

2014-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great. I will review the next patch (with the change in the comment) tomorrow. The ttk theme changed message comes up often. I believe it is specific to debug builds. Perhaps you could keep track of when it occurs so we can make a guess at the cause. I

[issue20577] IDLE: Remove FormatParagraph's width setting from config dialog

2014-06-11 Thread Tal Einat
Tal Einat added the comment: What do you mean with the comment regarding pep8? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20577 ___ ___

[issue21709] logging.__init__ assumes that __file__ is always set

2014-06-11 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Hi Vinaj, thanks for the patch, but it doesn't really help outside of py2exe. The sys.frozen flag is not an official Python API and it's unlikely to become one, since you can freeze the whole application or just parts of it, which sys.frozen would not be

[issue11783] email parseaddr and formataddr should be IDNA aware

2014-06-11 Thread Milan Oberkirch
Changes by Milan Oberkirch milan...@oberkirch.org: -- nosy: +jesstess Added file: http://bugs.python.org/file35565/issue11783.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11783 ___

[issue21709] logging.__init__ assumes that __file__ is always set

2014-06-11 Thread Vinay Sajip
Vinay Sajip added the comment: Could you please use a fix that works for Python tools in general? I suggested an alternative implementation altogether in Issue #16778, but it was suggested that we wait for frame annotations. I'm not sure what the schedule for that is. The sys.frozen flag

[issue21709] logging.__init__ assumes that __file__ is always set

2014-06-11 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 11.06.2014 11:25, Vinay Sajip wrote: Vinay Sajip added the comment: Could you please use a fix that works for Python tools in general? I suggested an alternative implementation altogether in Issue #16778, but it was suggested that we wait for

[issue21717] Exclusive mode for ZipFile and TarFile

2014-06-11 Thread Antony Lee
New submission from Antony Lee: I noticed that while lzma and bz2 already support the x (create a new file, raise if it already exists) flag, zipfile and tarfile don't know about it yet. It would be an useful addition, just as it is useful for regular open. A quick look at both modules show

[issue21709] logging.__init__ assumes that __file__ is always set

2014-06-11 Thread Vinay Sajip
Vinay Sajip added the comment: _srcfile is only used to identify the caller's stack frame Not quite. It's also used to indicate whether findCaller() should be called at all: setting it to None avoids calling findCaller(), which might be desirable in some performance-sensitive scenarios. So

[issue21629] clinic.py --converters fails

2014-06-11 Thread Larry Hastings
Larry Hastings added the comment: Confirmed. -- assignee: - larry stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21629 ___

[issue21709] logging.__init__ assumes that __file__ is always set

2014-06-11 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 11.06.2014 12:32, Vinay Sajip wrote: Vinay Sajip added the comment: _srcfile is only used to identify the caller's stack frame Not quite. It's also used to indicate whether findCaller() should be called at all: setting it to None avoids calling

[issue11783] email parseaddr and formataddr should be IDNA aware

2014-06-11 Thread Milan Oberkirch
Milan Oberkirch added the comment: Here comes an updated patch based on 'email_address_idna.patch' without breaking smtplib (as the previous patches did). -- Added file: http://bugs.python.org/file35566/issue11783-rdm-fixed.patch ___ Python tracker

[issue21709] logging.__init__ assumes that __file__ is always set

2014-06-11 Thread Vinay Sajip
Vinay Sajip added the comment: Please also add some comment explaining why this is done in this way. Natürlich :-) it may be worthwhile introducing some generic helper to the stdlib Wouldn't you have to pass in a function (or code object) from a specific module, though? It seems more

[issue21629] clinic.py --converters fails

2014-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b2db7fc17f7 by Larry Hastings in branch '3.4': Issue #21629: Fix Argument Clinic's --converters feature. http://hg.python.org/cpython/rev/6b2db7fc17f7 -- nosy: +python-dev ___ Python tracker

[issue21709] logging.__init__ assumes that __file__ is always set

2014-06-11 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 11.06.2014 13:22, Vinay Sajip wrote: Vinay Sajip added the comment: Please also add some comment explaining why this is done in this way. Natürlich :-) Prima :-) it may be worthwhile introducing some generic helper to the stdlib Wouldn't

[issue21629] clinic.py --converters fails

2014-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8b4b8f5d7321 by Larry Hastings in branch 'default': Issue #21629: Merge from 3.4. http://hg.python.org/cpython/rev/8b4b8f5d7321 -- ___ Python tracker rep...@bugs.python.org

[issue21629] clinic.py --converters fails

2014-06-11 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21629 ___

[issue21520] Erroneous zipfile test failure if the string 'bad' appears in pwd

2014-06-11 Thread Larry Hastings
Larry Hastings added the comment: With this patch applied the test passes. (Patch is against 3.4 branch.) Look good? -- keywords: +patch Added file: http://bugs.python.org/file35567/larry.bad.zipfile.1.diff ___ Python tracker

[issue3068] IDLE - Add an extension configuration dialog

2014-06-11 Thread Tal Einat
Tal Einat added the comment: Ned, many thanks for the review and detailed feedback! Here are responses to your comments 1. Thanks for the code suggestion regarding the menudefs! That's a good catch. I have an OSX box for such testing. 2. I'll check this out. Could you perhaps explain or

[issue21712] fractions.gcd failure

2014-06-11 Thread Mark Dickinson
Mark Dickinson added the comment: Agreed with Tim. Oddly enough[1], remembering that with binary floating-point numbers, what you see is not what you get[2], it turns out that 8.881784197001252e-16 (= Fraction(1, 1125899906842624)) is in fact *exactly* the right answer, in that it's a

[issue13564] ftplib and sendfile()

2014-06-11 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: Added file: http://bugs.python.org/file35568/ftplib-sendfile5.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13564 ___

[issue13564] ftplib and sendfile()

2014-06-11 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Updated patch which uses the newly added socket.sendfile() method (issue 17552). -- assignee: - giampaolo.rodola type: enhancement - performance versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue13559] Use sendfile where possible in httplib

2014-06-11 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Patch in attachment uses the newly added socket.sendfile() method (issue 17552). -- keywords: +patch type: enhancement - performance Added file: http://bugs.python.org/file35569/httplib-sendfile.patch ___ Python

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2014-06-11 Thread mike bayer
New submission from mike bayer: Per DBAPI and pysqlite docs, .description must be available for any SELECT statement regardless of whether or not rows are returned. However, this fails for SELECT statements that aren't simple SELECTs, such as those that use CTEs and therefore start out with

[issue21693] Broken link to Pylons in the HOWTO TurboGears documentation

2014-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9438a8aa3622 by Senthil Kumaran in branch '2.7': #21693 - Fix the broken link for pylons project. http://hg.python.org/cpython/rev/9438a8aa3622 New changeset 08fa17130fb3 by Senthil Kumaran in branch '3.4': #21693 - Fix the broken link for pylons

[issue21693] Broken link to Pylons in the HOWTO TurboGears documentation

2014-06-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed these. Thanks for the report. -- nosy: +orsenthil resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21693

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-11 Thread Ben Hoyt
New submission from Ben Hoyt: I asked recently on python-dev [1] about adding a st_winattrs attribute to stat result objects on Windows, to return the full set of Windows file attribute bits, such as hidden or compressed status. Copying from that thread for a bit more context here: Python's

[issue21720] TypeError: Item in ``from list'' not a string message

2014-06-11 Thread David Szotten
New submission from David Szotten: ``` __import__('fabric.', fromlist=[u'api']) Traceback (most recent call last): File stdin, line 1, in module ``` accidentally ended up with something like this via some module that was using `unicode_literals`. stumped me for a second until i realised

[issue21718] sqlite3 cursor.description seems to rely on incomplete statement parsing for detection

2014-06-11 Thread R. David Murray
R. David Murray added the comment: It is true that the sqlite interface does not support WITH currently. It is an interesting question whether or not we could change this as a bug fix or not...I suppose it depends on whether or not it changes any behavior other than making .description work.

[issue21714] Path.with_name can construct invalid paths

2014-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think raising ValueError is the way to go. Would you like to try writing a patch for it? -- nosy: +pitrou stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org

[issue21721] socket.sendfile() should use TransmitFile on Windows

2014-06-11 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': This is a follow up of issue 17552 which adds a new socket.sendfile() method taking advantage of high-performance os.sendfile() on UNIX. The same thing could be done for Windows by using TransmitFile:

[issue21696] Idle: test syntax of configuration files

2014-06-11 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attaching a patch to test the default configuration files. config-keys.def will be added once the issues related to it[1] are resolved. In this patch, test that the configHandler module can successfully extract the values. For places where numeric values

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: Instead of the somewhat cryptic name winattrs, I suggest to call it st_file_attributes, as it is called in the Windows API (actually, GetFileAttributesEx calls it dwFileAttributes, but st_file_attributes could be considered a Pythonic spelling of that).

[issue21205] Add a name to Python generators

2014-06-11 Thread STINNER Victor
STINNER Victor added the comment: gen_qualname.patch: add a new __qualname__ attribute to generators and change how the name is set: use the name of the function, instead of using the name of the code. Incompatible changes of this patch: - repr(generator) now shows the qualified name instead

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-11 Thread Ben Hoyt
Ben Hoyt added the comment: Fair call -- st_file_attributes sounds good to me, and matches the prefix of the FILE_ATTRIBUTES_* constants better too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21719

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-11 Thread STINNER Victor
STINNER Victor added the comment: Instead of the somewhat cryptic name winattrs, I suggest to call it st_file_attributes (...) On Windows, os.stat() calls GetFileInformationByHandle() which fills a BY_HANDLE_FILE_INFORMATION structure, and this structure has a dwFileAttributes attribute.

[issue21205] Add __qualname__ attribute to Python generators and change default __name__

2014-06-11 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: Add a name to Python generators - Add __qualname__ attribute to Python generators and change default __name__ ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21205

[issue21722] teach distutils upload to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
Martin Dengler added the comment: The attached file is a patch for backporting this fix to 2.7.7. -- Added file: http://bugs.python.org/file35573/cpython2-patch-Lib-distutils-command-upload.py.patch ___ Python tracker rep...@bugs.python.org

[issue19662] smtpd.py should not decode utf-8

2014-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e22213ca275 by R David Murray in branch 'default': #19662: add decode_data to smtpd so you can get at DATA in bytes form. http://hg.python.org/cpython/rev/4e22213ca275 -- nosy: +python-dev ___ Python

[issue21722] teach distutils upload to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
New submission from Martin Dengler: This patch teaches distutils/command/upload.py to return a non-zero exit code when uploading fails. Currently a zero error code is returned (specifically, no Exception is raised by upload.run(...)) regardless of the HTTP response from the server or any

[issue19662] smtpd.py should not decode utf-8

2014-06-11 Thread R. David Murray
R. David Murray added the comment: Thanks, Maciej. I tweaked the patch a bit, you might want to take a look just for your own information. Mostly I fixed the warning stuff, which I didn't explain very well. The idea is that if the default is used (no value is specified), we want there to

[issue21723] Float maxsize is treated as infinity in asyncio.Queue

2014-06-11 Thread Vajrasky Kok
New submission from Vajrasky Kok: import asyncio loop = asyncio.get_event_loop() q = asyncio.Queue(maxsize=1.2, loop=loop) q.put_nowait(1) q.put_nowait(1) q.put_nowait(1) q.put_nowait(1) q.put_nowait(1) and so on It seems counter intuitive for my innocent eyes. As comparison with the

[issue20577] IDLE: Remove FormatParagraph's width setting from config dialog

2014-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: For flowing long blocks of text with fewer structural restrictions (docstrings or comments), the line length should be limited to 72 characters. -- ___ Python tracker rep...@bugs.python.org

[issue21724] resetwarnings doesn't reset warnings registry

2014-06-11 Thread Antoine Pitrou
New submission from Antoine Pitrou: There seems to be no (official) way to reset the warnings registry; in particular, resetwarnings() doesn't reset it. It makes it difficult to get repeatable warning messages, e.g. at the command prompt, because the shortcut path will silence messages which

[issue21723] Float maxsize is treated as infinity in asyncio.Queue

2014-06-11 Thread STINNER Victor
STINNER Victor added the comment: It looks strange to use a float as maxsize. I suggest to raise a TypeError in the constructor if the type is not int, or maybe to cast maxsize parameter to an int. -- ___ Python tracker rep...@bugs.python.org

[issue21205] Add __qualname__ attribute to Python generators and change default __name__

2014-06-11 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21205 ___ ___ Python-bugs-list

[issue19662] smtpd.py should not decode utf-8

2014-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset a6c846ec5fd3 by R David Murray in branch 'default': #19662: Eliminate warnings in other test modules that use smtpd. http://hg.python.org/cpython/rev/a6c846ec5fd3 -- ___ Python tracker

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-11 Thread R. David Murray
New submission from R. David Murray: I thought there was already an issue for this, but I can't find it. This is part of this summer's GSOC work, and involves adding support for the SMTPUTF8 extension to smtpd. -- components: email messages: 220285 nosy: barry, jesstess, pitrou,

[issue20577] IDLE: Remove FormatParagraph's width setting from config dialog

2014-06-11 Thread Tal Einat
Tal Einat added the comment: I'll be damned. 72 it is, then. What about using the 'default' parameter for GetOption() instead of or 72? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20577

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-11 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- hgrepos: +256 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21725 ___ ___ Python-bugs-list

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-11 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +patch Added file: http://bugs.python.org/file35575/80ea1cdf2b23.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21725 ___

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-11 Thread R. David Murray
R. David Murray added the comment: Milan: your patch looks good for the most part. Now that I committed the decode_data patch you should modify it so that SMTPUTF8 implies decode_data=False (otherwise we *don't* have an 8-bit-clean channel). Please either attach the modified patch here or

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-11 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- hgrepos: -256 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21725 ___ ___ Python-bugs-list

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-11 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Removed file: http://bugs.python.org/file35575/80ea1cdf2b23.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21725 ___

[issue14102] argparse: add ability to create a man page

2014-06-11 Thread Oz Tiram
Oz Tiram added the comment: Hi, I have been wanting this feature for quite a long time. IMHO, binaries and scripts should always include a man page. The Debian developers require that. However, man pages have a 'bizarre' format. Long talk, short time. I did implement something. I tested it

[issue21723] Float maxsize is treated as infinity in asyncio.Queue

2014-06-11 Thread Yury Selivanov
Yury Selivanov added the comment: FWIW, this can also be resolved by fixing Queue.full to do self.qsize() = self._maxsize instead of self.qsize() == self._maxsize. I generally don't like implicit casts as they break duck typing. -- ___ Python

[issue21711] Remove site-python support

2014-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks Ned, I'm hoping someone can give it a run under Windows too :) -- nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21711

[issue14758] SMTPServer of smptd does not support binding to an IPv6 address

2014-06-11 Thread R. David Murray
R. David Murray added the comment: Thanks, Milan. I had to fix a couple things: you had left the refactored methods on the SMTPDServerTest, and somehow your new TestFamilyDetection class got indented under SMTPDServerTest in the new version of the patch. (I also had to update it to

[issue21696] Idle: test configuration files

2014-06-11 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- title: Idle: test syntax of configuration files - Idle: test configuration files ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21696 ___

[issue14758] SMTPServer of smptd does not support binding to an IPv6 address

2014-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1efbc86a200a by R David Murray in branch 'default': #14758: add IPv6 support to smtpd. http://hg.python.org/cpython/rev/1efbc86a200a -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue14102] argparse: add ability to create a man page

2014-06-11 Thread Thomas Guettler
Changes by Thomas Guettler guet...@thomas-guettler.de: -- nosy: -guettli ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14102 ___ ___

[issue21536] extension built with a shared python cannot be loaded with a static python

2014-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Martin, what do you think about the aforementioned use case? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21536 ___

[issue21711] Remove site-python support

2014-06-11 Thread Zachary Ware
Zachary Ware added the comment: Seems fine on Windows (especially since it doesn't look like site-python ever meant anything on Windows in the first place)! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21711

[issue21726] Unnecessary line in documentation

2014-06-11 Thread Reid Price
New submission from Reid Price: https://docs.python.org/2/distutils/examples.html#pure-python-distribution-by-package Chrome on Linux The last (parenthetical) sentence is not needed. (Again, the empty string in package_dir stands for the current directory.) because there is no package_dir

[issue19840] shutil.move(): Add ability to use custom copy function to allow to ignore metadata

2014-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0d61a2a50f9f by R David Murray in branch 'default': #19840: Add copy_function to shutil.move. http://hg.python.org/cpython/rev/0d61a2a50f9f -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue19840] shutil.move(): Add ability to use custom copy function to allow to ignore metadata

2014-06-11 Thread R. David Murray
R. David Murray added the comment: Thanks, Claudiu. -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19840 ___

[issue21727] Ambiguous sentence explaining `cycle` in itertools documentation

2014-06-11 Thread Matt Deacalion Stevens
New submission from Matt Deacalion Stevens: https://docs.python.org/3.5/library/itertools.html#itertools.cycle The first sentence sounds a bit ambiguous: Make an iterator returning elements from the iterable and saving a copy of each. Suggestion: Make an iterator that returns elements from

[issue14758] SMTPServer of smptd does not support binding to an IPv6 address

2014-06-11 Thread R. David Murray
R. David Murray added the comment: Hmm. Looks like the IPv6 support is making the FreeBSD and and OSX buildbots unhappy :(. -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14758

[issue21712] fractions.gcd failure

2014-06-11 Thread Pablo Acosta
Pablo Acosta added the comment: Understood and agreed. My bad too for not reading the documentation more carefully. Thank you for the detailed explanation. Pablo On Jun 11, 2014, at 2:52 PM, Tim Peters rep...@bugs.python.org wrote: Tim Peters added the comment: @pacosta, if Mark's

[issue21727] Ambiguous sentence explaining `cycle` in itertools documentation

2014-06-11 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- nosy: +rhettinger versions: -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21727 ___

[issue21712] fractions.gcd failure

2014-06-11 Thread Tim Peters
Tim Peters added the comment: @pacosta, if Mark's answer is too abstract, here's a complete session showing that the result you got for gcd(2.7, 107.3) is in fact exactly correct: import fractions f1 = fractions.Fraction(2.7) f2 = fractions.Fraction(107.3) f1 Fraction(3039929748475085,

[issue14758] SMTPServer of smptd does not support binding to an IPv6 address

2014-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset d8e0fca7cbe3 by R David Murray in branch 'default': #14758: Need to specify the desired socket type in the getaddrinfo call. http://hg.python.org/cpython/rev/d8e0fca7cbe3 -- ___ Python tracker

[issue21716] 3.4.1 download page link for OpenPGP signatures has no sigs

2014-06-11 Thread Ned Deily
New submission from Ned Deily: Can you be more specific as to which page? I see valid links to GPG sigs on this page: https://www.python.org/downloads/release/python-341/ Note that issues with the python.org website should be reported to its tracker:

[issue21520] Erroneous zipfile test failure if the string 'bad' appears in pwd

2014-06-11 Thread Ned Deily
Ned Deily added the comment: Yep -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21520 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21722] teach distutils upload to exit with code != 0 when error occurs

2014-06-11 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- components: +Distutils nosy: +dstufft, eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21722 ___

[issue14758] SMTPServer of smptd does not support binding to an IPv6 address

2014-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9b0d58b0c712 by R David Murray in branch 'default': #14758: Fix the fix (fix getaddrinfo in mock_socket) http://hg.python.org/cpython/rev/9b0d58b0c712 -- ___ Python tracker rep...@bugs.python.org

[issue21713] a mistype comment in PC/pyconfig.h

2014-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 61a00b7eac5d by Zachary Ware in branch '3.4': Issue #21713: Fix typo in a comment. Found by Joseph Shen. http://hg.python.org/cpython/rev/61a00b7eac5d New changeset b94384c4f9d0 by Zachary Ware in branch 'default': Closes #21713: Merge with 3.4

[issue21713] a mistype comment in PC/pyconfig.h

2014-06-11 Thread Zachary Ware
Zachary Ware added the comment: Fixed, thanks for the report! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21713 ___ ___ Python-bugs-list

[issue14758] SMTPServer of smptd does not support binding to an IPv6 address

2014-06-11 Thread R. David Murray
R. David Murray added the comment: OK, I think this is fixed. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14758 ___ ___

[issue21713] a mistype comment in PC/pyconfig.h

2014-06-11 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- assignee: - zach.ware type: compile error - enhancement versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21713 ___

[issue634412] RFC 2387 in email package

2014-06-11 Thread R. David Murray
R. David Murray added the comment: It is a clever idea, and might be worth considering, but it doesn't feel natural to have to specify the attachments before the html. What I'd really like is an API that hides the messy details of the RFC from the library user, and I haven't thought of

[issue20580] IDLE should support platform-specific default config defaults

2014-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not completely sure what you are asking. Config-keys.def has 4 Idle Classic sections, one each for Windows, Unix, Mac (still needed?), and OSX. On my Windows install, the one for Windows is preselected. I have presumed the the appropriate selections are

[issue20577] IDLE: Remove FormatParagraph's width setting from config dialog

2014-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'yes!' meant please do so. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20577 ___ ___ Python-bugs-list

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-11 Thread Milan Oberkirch
Milan Oberkirch added the comment: I merged it into https://bitbucket.org/zvyn/cpython and made a diff from that. (I used bash for this so hopefully its compatible to the review system here.) -- Added file: http://bugs.python.org/file35577/issue21725.patch

[issue21728] Confusing error message when initialising type inheriting object.__init__

2014-06-11 Thread Gerrit Holl
New submission from Gerrit Holl: When I initialise a class that doesn't define its own __init__, but I still pass arguments, the error message is confusing: class A: pass ... A(42) Traceback (most recent call last): File stdin, line 1, in module TypeError: object() takes no parameters

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-11 Thread Milan Oberkirch
Changes by Milan Oberkirch milan...@oberkirch.org: Added file: http://bugs.python.org/file35578/issue21725-fixed.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21725 ___

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-11 Thread Milan Oberkirch
Changes by Milan Oberkirch milan...@oberkirch.org: Removed file: http://bugs.python.org/file35578/issue21725-fixed.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21725 ___

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-11 Thread Milan Oberkirch
Changes by Milan Oberkirch milan...@oberkirch.org: Added file: http://bugs.python.org/file35579/issue21725-fixed.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21725 ___

[issue21722] teach distutils upload to exit with code != 0 when error occurs

2014-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks you for the patch. It may be good to add a unit test for this. Also, for development, it is probably better to use a Mercurial clone instead of trying to generate diffs by hand. See the devguide for more information: https://docs.python.org/devguide/

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2014-06-11 Thread Andrew Barnert
Andrew Barnert added the comment: Hi, Stephan. Sorry, for some reason Yahoo was sending updates from the tracker to spam again, so I missed this. I'd be glad to sign a contributor agreement if it's still relevant, but it looks like there's a later patch that does what mine did and more?

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2014-06-11 Thread Andrew Barnert
Andrew Barnert added the comment: Sorry, Stefan, not Stephan. Anyway, I've signed the agreement. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1820 ___

  1   2   >