[issue3982] support .format for bytes

2014-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: http://legacy.python.org/dev/peps/pep-0461/ adds % formatting for bytes and bytes array. Nick, I have the impression that there was a decision to not add bytes.format. Correct? If so, this issue should be closed. If not, what, if anything, has been decided? -

[issue22068] test_gc fails after test_idle

2014-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: ConfigDialog is a good guess as I added a minimal test this month. I will try to revise to not create loops in the first place. -- ___ Python tracker __

[issue22047] argparse improperly prints mutually exclusive options when they are in a group

2014-07-25 Thread paul j3
paul j3 added the comment: This patch adds a class TestMutuallyExclusiveGroupErrors test_invalid_add_group() test, closely modeled on test_invalid_add_argument() I'm using ValueError in group add methods (maintaining the similarity with add_argument errors). I haven't c

[issue1152248] Add support for reading records with arbitrary separators to the standard IO stack

2014-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

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

2014-07-25 Thread Glenn Linderman
Glenn Linderman added the comment: This bug deserves to stay open with its high priority (for whatever good that does these last seven years, although I appreciate all the efforts put forth, and have been making heavy use of the workarounds in the patches), because when working with Unicode da

[issue22075] Lambda, Enumerate and List comprehensions crash

2014-07-25 Thread Ned Deily
Ned Deily added the comment: It may be hard to see what's going on with the code written as a list comprehension. We could expand it out to something roughly equivalent and print the first n iterations: def main(): lista =[1, 4, 5 , 5, 6 , 3 ,1] def ins(x): return lista.insert

[issue22075] Lambda, Enumerate and List comprehensions crash

2014-07-25 Thread wilson campusano
wilson campusano added the comment: SO: Ubuntu 14.04 When i run this code my pc crash -- Added file: http://bugs.python.org/file36099/test_c.py ___ Python tracker ___ __

[issue22075] Lambda, Enumerate and List comprehensions crash

2014-07-25 Thread wilson campusano
Changes by wilson campusano : -- title: Lambda, enumerate and list comprehensins crash -> Lambda, Enumerate and List comprehensions crash ___ Python tracker ___

[issue1152248] Add support for reading records with arbitrary separators to the standard IO stack

2014-07-25 Thread Akira Li
Akira Li added the comment: To make the discussion more specific, here's a patch that adds support for alternative newlines in _pyio.TextIOWrapper. It aslo updates the documentation and adds more io tests. It does not provide C implementation or the extended newline support for binary files. As

[issue22075] Lambda, enumerate and list comprehensins crash

2014-07-25 Thread wilson campusano
New submission from wilson campusano: SO: Ubuntu 14.04 When i run this code my pc crash -- components: Interpreter Core files: test_c.py messages: 224015 nosy: wilsoncampusano priority: normal severity: normal status: open title: Lambda, enumerate and list comprehensins crash type: cras

[issue12319] [http.client] HTTPConnection.putrequest not support "chunked" Transfer-Encodings to send data

2014-07-25 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +demian.brecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue12319] [http.client] HTTPConnection.putrequest not support "chunked" Transfer-Encodings to send data

2014-07-25 Thread Adam Tauno Williams
Changes by Adam Tauno Williams : -- nosy: +whitemice ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2014-07-25 Thread Matt Behrens
Matt Behrens added the comment: Here is a 3.5 fix based on Lars Gustäbel's, with test. -- nosy: +zigg versions: +Python 3.5 Added file: http://bugs.python.org/file36096/issue21987_py3.5_with_test.patch ___ Python tracker

[issue15858] tarfile missing entries due to omitted uid/gid fields

2014-07-25 Thread Adam Tauno Williams
Adam Tauno Williams added the comment: test fails for me with provided bad.tar [as described in comment] but test passed after applying patch to tarfile. -- nosy: +whitemice ___ Python tracker

[issue22063] asyncio: sock_xxx() methods of event loops should check ath sockets are non-blocking

2014-07-25 Thread STINNER Victor
Changes by STINNER Victor : -- title: asyncio: sock_xxx() methods of event loops should make the socket non-blocking -> asyncio: sock_xxx() methods of event loops should check ath sockets are non-blocking ___ Python tracker

[issue19884] Importing readline produces erroneous output

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: The test fails also on OpenBSD: http://buildbot.python.org/all/builders/x86%20OpenBSD%205.5%203.x/builds/671/steps/test/logs/stdio == FAIL: test_init (test.test_readline.TestReadline) -

[issue22074] Lib/test/make_ssl_certs.py fails with NameError

2014-07-25 Thread Alex Gaynor
New submission from Alex Gaynor: This is on default: $ python3 Lib/test/make_ssl_certs.py creating cert for localhost Generating a 1024 bit RSA private key .++ ++ writing new private key to '/var/folders/fm/57qdjdrx6gzgcq1zlym0xwfc000

[issue22074] Lib/test/make_ssl_certs.py fails with NameError

2014-07-25 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou ___ Python tracker ___ ___ Python-bugs

[issue22047] argparse improperly prints mutually exclusive options when they are in a group

2014-07-25 Thread paul j3
paul j3 added the comment: ArgumentGroups and MutuallyExclusiveGroups, as currently defined, won't give you that kind of usage. I have appended a script that uses UsageGroups, which I am developing for http://bugs.python.org/issue11588, to solve this. It defines 2 'mxg' groups (groups with t

[issue22049] argparse: type= doesn't honor nargs > 1

2014-07-25 Thread paul j3
paul j3 added the comment: What you want is a custom Action rather than a custom Type. from the documentation: >>> class FooAction(argparse.Action): ... def __call__(self, parser, namespace, values, option_string=None): ... print('%r %r %r' % (namespace, values, option

[issue21862] cProfile command-line should accept "-m module_name" as an alternative to script path

2014-07-25 Thread Gennadiy Zlobin
Gennadiy Zlobin added the comment: I added runpy import mechanism -- nosy: +gennad Added file: http://bugs.python.org/file36094/21862.patch ___ Python tracker ___ ___

[issue22044] Premature Py_DECREF while generating a TypeError in call_tzinfo_method

2014-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the patch. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue22044] Premature Py_DECREF while generating a TypeError in call_tzinfo_method

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01c6d2893092 by Raymond Hettinger in branch '3.4': Issue #22044: Fixed premature DECREF in call_tzinfo_method. http://hg.python.org/cpython/rev/01c6d2893092 -- nosy: +python-dev ___ Python tracker

[issue21574] Port image types detections from PIL to the imghdr module

2014-07-25 Thread Claudiu Popa
Claudiu Popa added the comment: No, I didn't start any work on this and right now, with EuroPython, I don't have that much time to start, so feel free to take it and write a patch. -- ___ Python tracker __

[issue22047] argparse improperly prints mutually exclusive options when they are in a group

2014-07-25 Thread paul j3
paul j3 added the comment: Here's a preliminary patch that raises an error if there's an attempt to nest a mutually exclusive group in another, or there's an attempt to add an argument group to either kind of group. It still needs test_argparse.py and argparse.rst changes I'm raising a ValueE

[issue22044] Premature Py_DECREF while generating a TypeError in call_tzinfo_method

2014-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger versions: -Python 3.3 ___ Python tracker ___ ___ Python-

[issue22065] Update turtledemo menu creation

2014-07-25 Thread Ned Deily
Ned Deily added the comment: Nice insight, Serhly! The patch addresses the menu concern I brought up in msg223631 of Issue21933. I evaluated the patch with all three OS X Tk variants (Cocoa, Carbon, and X11) and it looked good to me. The only review comment I have is that ideally, with Coco

[issue21574] Port image types detections from PIL to the imghdr module

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Claudiu, are you working on this issue? If not, I'll start writing a patch. -- ___ Python tracker ___

[issue21585] Run Tkinter tests with wantobjects=False

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Lita, but I think it would be better if all Tkinter tests will automatically run in both wantobjects=0 and wantobjects=1 modes. As for your patch, ttk.Button() creates default root with current wantobjects value, this default root can be unintentional

[issue21802] Reader of BufferedRWPair is not closed if writer's close() fails

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Antoine, what do you think about this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22033] Subclass friendly reprs

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Raymond for the review. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue20188] ALPN support for TLS

2014-07-25 Thread Mark Nottingham
Mark Nottingham added the comment: HTTP/2 requires ALPN, BTW. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22033] Subclass friendly reprs

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 42276ad3acef by Serhiy Storchaka in branch 'default': Issue #22033: Reprs of most Python implemened classes now contain actual http://hg.python.org/cpython/rev/42276ad3acef -- nosy: +python-dev ___ Python

[issue17083] can't specify newline string for readline for binary files

2014-07-25 Thread Akira Li
Akira Li added the comment: Related issue #1152248: Add support for reading records with arbitrary separators to the standard IO stack It suggests to extend the newline support for both text and binary files. -- nosy: +akira ___ Python tracker

[issue21308] PEP 466: backport ssl changes

2014-07-25 Thread Alex Gaynor
Alex Gaynor added the comment: Try #3: This fixes a bug with NPN (I hadn't tested with an OpenSSL that supports NPN, I have now), and cherry-picks the typo fixes from 967311e6c0d2 -- Added file: http://bugs.python.org/file36092/ssl-backport.diff ___

[issue563491] Add separator argument to readline()

2014-07-25 Thread Akira Li
Akira Li added the comment: Reincarnation: issue #1152248: Add support for reading records with arbitrary separators to the standard IO stack -- nosy: +akira ___ Python tracker ___

[issue22073] Reference links in PEP466 are broken

2014-07-25 Thread Ned Deily
Ned Deily added the comment: Fixed, thanks! -- nosy: +ned.deily resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue22073] Reference links in PEP466 are broken

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3b3dc5fafb82 by Ned Deily in branch 'default': Issue #22073: fix footnote references. http://hg.python.org/peps/rev/3b3dc5fafb82 -- nosy: +python-dev ___ Python tracker

[issue21958] Allow python 2.7 to compile with Visual Studio 2013

2014-07-25 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch, I've committed it. For future reference, the devguide should answer any questions you may have about how to contribute to Python, or you can ask on any of the various mailing lists (where you'll either get an answer or be pointed to a list

[issue21958] Allow python 2.7 to compile with Visual Studio 2013

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset cb2e1b3a395f by Zachary Ware in branch '2.7': Issue #21958: Define HAVE_ROUND when building with VS 2013 and above. http://hg.python.org/cpython/rev/cb2e1b3a395f New changeset 1c35cefd25b7 by Zachary Ware in branch '3.4': Issue #21958: Define HAVE_R

[issue18093] Move main functions to a separate Programs directory

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 413017768dde by Ned Deily in branch 'default': Issue #18093: Create Programs directory in build location for http://hg.python.org/cpython/rev/413017768dde -- ___ Python tracker

[issue22033] Subclass friendly reprs

2014-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 These all look worthwhile and correct. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue22045] Python make issue

2014-07-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue22058] datetime.datetime() should accept a datetime.date as init parameter

2014-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: [David] > There is already a spelling for that operation, and it is d.date() [Tim] Alexander, I don't see a need to make everything a one-liner [Facundo] > So, unless anyody wants to pursue with this, I'll close the issue. Marking as closed, rejected for th

[issue10291] Clean-up turtledemo in-package documentation

2014-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the explanation. I will re-delete the file after copying 3.4 version to docstring and marking the original .txt as frozen. I will do same with other files deleted in 3.5. -- ___ Python tracker

[issue22073] Reference links in PEP466 are broken

2014-07-25 Thread Alex Gaynor
New submission from Alex Gaynor: Specifically, the links in the "Acknowledgements" section http://legacy.python.org/dev/peps/pep-0466/#acknowledgements -- messages: 223985 nosy: alex, ncoghlan priority: normal severity: normal status: open title: Reference links in PEP466 are broken __

[issue22072] Fix typos in SSL's documentation

2014-07-25 Thread Zachary Ware
Zachary Ware added the comment: Thanks, Alex! -- nosy: +zach.ware versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list ma

[issue22072] Fix typos in SSL's documentation

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1c7567ec6292 by Zachary Ware in branch '3.4': Issue #22072: Fix a couple of SSL doc typos. Patch by Alex Gaynor. http://hg.python.org/cpython/rev/1c7567ec6292 New changeset 967311e6c0d2 by Zachary Ware in branch 'default': Closes #22072: Merge typo

[issue21990] saxutils defines an inner class where a normal one would do

2014-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue22072] Fix typos in SSL's documentation

2014-07-25 Thread Alex Gaynor
New submission from Alex Gaynor: Attached patch fixes a pair of typos. -- assignee: docs@python components: Documentation files: ssl-docs.diff keywords: easy, needs review, patch messages: 223982 nosy: alex, docs@python priority: normal severity: normal status: open title: Fix typos in S

[issue19875] test_getsockaddrarg occasional failure

2014-07-25 Thread Charles-François Natali
Charles-François Natali added the comment: Should be fixed now, thanks! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue19875] test_getsockaddrarg occasional failure

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 897c9e6ddb1a by Charles-François Natali in branch '3.4': Issue #19875: Fix random test_getsockaddrarg() failure. http://hg.python.org/cpython/rev/897c9e6ddb1a New changeset 619feea86ce4 by Charles-François Natali in branch 'default': Issue #19875: F

[issue3982] support .format for bytes

2014-07-25 Thread Derek Wilson
Derek Wilson added the comment: sorry, terry's patch does handle padding - just with the caveats i listed later. i should have removed that bullet. -- ___ Python tracker ___

[issue22047] argparse improperly prints mutually exclusive options when they are in a group

2014-07-25 Thread Sam Kerr
Sam Kerr added the comment: I fat fingered the example, sorry: [ [ -opt1 | -opt2 | -opt3 ] | [ [-opt4] [-opt5] [-opt6] ] ] Note the new pipe between the 2 subgroups -- ___ Python tracker ___

[issue22018] Add a new signal.set_wakeup_socket() function

2014-07-25 Thread Charles-François Natali
Charles-François Natali added the comment: > It doesn't answer to my complain: I don't want to support file descriptors on > Windows anymore because file descriptors cannot be configured in non-blocking > mode. I think it does : if an exception is raised if an FD/handler is not in non-blocking

[issue3982] support .format for bytes

2014-07-25 Thread Derek Wilson
Derek Wilson added the comment: First off, +1 for this feature. It's not just for twisted, but anyone doing anything with binary data (storage, compression, encryption and networking for me) with python since 2.6 will very likely have been using .format for building messages. I know I have and

[issue22049] argparse: type= doesn't honor nargs > 1

2014-07-25 Thread Chris Bruner
Chris Bruner added the comment: Yes, I know. My function just sees '1', but I think it should see '1 2 3' so that it can figure out what to do. That's impossible (well, impossible without saving state between calls) when it sees the arguments piecemeal. Sent from my iPhone > On Jul 24, 2014,

[issue22047] argparse improperly prints mutually exclusive options when they are in a group

2014-07-25 Thread Sam Kerr
Sam Kerr added the comment: What I was going for was the ability to have a group contain a mutually exclusive group and a non-exclusive group, but using the mutually exclusive group meant you could not use the non-exclusive group. Such as: [ [ -opt1 | -opt2 | -opt3 ] [ [-opt4] [-opt5] [-opt

[issue21990] saxutils defines an inner class where a normal one would do

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset a5cb10f2dbaa by Raymond Hettinger in branch '2.7': Issue #21990: Cleanup unnecessary inner class definition in saxutils. http://hg.python.org/cpython/rev/a5cb10f2dbaa -- nosy: +python-dev ___ Python trac

[issue22047] argparse improperly prints mutually exclusive options when they are in a group

2014-07-25 Thread paul j3
paul j3 added the comment: On further thought, I think group2 = group1.add_mutually_exclusive_group() should have raised an error, stating that a group (argument or mutually exclusive) cannot be added to a mutually exclusive group. Also an argument group should not be added to another argu

[issue21990] saxutils defines an inner class where a normal one would do

2014-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

2014-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for noticing this. Do you want to propose a patch? -- assignee: docs@python -> rhettinger nosy: +rhettinger stage: -> needs patch versions: -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker

[issue22070] Use the _functools module to speed up functools.total_ordering

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Fixing the lookup semantics should arguably be a bug report in its own right, but yes, if the C implementation uses _PyType_LookupSpecial, then the Python version should definitely be changed to match. -- ___ Python tra

[issue22071] Remove long-time deprecated attributes from smtpd

2014-07-25 Thread Milan Oberkirch
New submission from Milan Oberkirch: I made a patch removing deprecated attributes from smtpd (as suggested by r.david.murray). -- components: Library (Lib) files: smtpd_remove_deprecated_attrs.patch keywords: patch messages: 223969 nosy: jesstess, pitrou, r.david.murray, zvyn priority:

[issue22070] Use the _functools module to speed up functools.total_ordering

2014-07-25 Thread Alex Gaynor
Alex Gaynor added the comment: If you're going to fix the semantics of the method lookup to go via the type, can you please do that for the pure python version as well? When the C and Python versions diverge on semantics, it becomes a real pain for alternate implementations which are perfectly

[issue22070] Use the _functools module to speed up functools.total_ordering

2014-07-25 Thread Nick Coghlan
New submission from Nick Coghlan: Getting functools.total_ordering to handle NotImplemented correctly in issue 10042 came at the cost of slowing it down dramatically, as the simple use of normal operator syntax had to be replaced by explicit method calls. It also introduced the quirk of going

[issue11271] concurrent.futures.ProcessPoolExecutor.map() doesn't batch function arguments by chunks

2014-07-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you for posting this, I'm reopening the issue. -- nosy: +sbt resolution: out of date -> status: closed -> open ___ Python tracker ___ ___

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2014-07-25 Thread Akira Li
New submission from Akira Li: TextIOWrapper(b, newline="\n", line_buffering=True) object calls flush() while writing "\r". See test_line_buffering() method in Lib/test/test_io.py:2114 The documentation says [1]: > If line_buffering is True, flush() is implied when a call to write contains > a

[issue21308] PEP 466: backport ssl changes

2014-07-25 Thread Alex Gaynor
Alex Gaynor added the comment: New version of this patch fixes a bunch of versionadded and changeds in the docs that referred to the wrong version. -- Added file: http://bugs.python.org/file36089/ssl-backport.diff ___ Python tracker

[issue22068] test_gc fails after test_idle

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed, there are a lot of small reference loops in ConfigDialog. Tk variables save reference to the dialog and the dialog saves references to variables. Either variables should be created with different argument (i.e. self.parent), or they should be deleted

[issue22003] BytesIO copy-on-write

2014-07-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue22003] BytesIO copy-on-write

2014-07-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It doesn't seem likely this patch would introduce severe performance troubles > elsewhere, but I'd like to trying it out with some example heavy BytesIO > consumers (any suggestions? Some popular template engine?) I don't have any specific suggestions, but y

[issue21867] Turtle returns TypeError when undobuffer is set to 0 (aka no undo is allowed)

2014-07-25 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___ ___ Python-bugs-lis

[issue22068] test_gc fails after test_idle

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: regrtest_tracemalloc.patch: my patch for regrtest.py to dump the traceback where garbage objects where allocated using tracemalloc. http://pytracemalloc.readthedocs.org/ (Note: you need to recompile Python to use tracemalloc on Python < 3.4.) -- keywor

[issue22068] test_gc fails after test_idle

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: It looks like test_idle leaks uncollectable objects. I modified regrtest to use tracemalloc, I attach the output: tracemalloc.txt. Good luck to find the leaks ;-) -- nosy: +haypo Added file: http://bugs.python.org/file36087/tracemalloc.txt ___

[issue14534] Add method to mark unittest.TestCases as "do not run".

2014-07-25 Thread Victor Zhong
Victor Zhong added the comment: Hi Zach, I've pulled from the default branch. Please find attached the diff for "hg diff -r default Lib/unittest" in the attached "issue14534.v3.diff". Victor -- hgrepos: +266 Added file: http://bugs.python.org/file36086/issue14534.v3.diff

[issue22068] test_gc fails after test_idle

2014-07-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: $ ./python -m test.regrtest -ugui -v test_idle test_gc ... == FAIL: test_saveall (test.test_gc.GCTests) -- Traceback (most

[issue21591] "exec(a, b, c)" not the same as "exec a in b, c" in nested functions

2014-07-25 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue18436] Add mapping of symbol to function to operator module

2014-07-25 Thread Zachary Ware
Zachary Ware added the comment: With no one (including me) clamoring for this, I'm going to go ahead and reject it. If someone in the future does really want this, I'd be happy to review a new patch. -- resolution: -> rejected stage: -> resolved status: open -> closed versions: +Pyt

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Demian Brecht
Demian Brecht added the comment: Sorry Alejandro, I should have clarified: The attached patch is for dev, so the failure you're seeing when attempting to apply the patch against 3.3 is expected. It effectively does the same thing as explicitly setting the port as you have already attempted. A

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Demian Brecht
Demian Brecht added the comment: To add a little more detail, from what I gather, CONNECT support may be unsupported or limited (i.e. only allowing SSL connections) on various proxy servers. If the code snippet in my previous post solves your issue, then I would assume that to be the case with

[issue22067] time_test fails after strptime()

2014-07-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: time_test fails when running after any test which uses strptime(). The bug can be easily reproduced by running test_time twice: $ TZ=Europe/Kiev ./python -m test.regrtest -ugui -v test_time test_time ... =

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2014-07-25 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue18093] Move main functions to a separate Programs directory

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 766570a5d607 by Zachary Ware in branch 'default': Issue #18093: Give the Windows build _testembed.c's new location. http://hg.python.org/cpython/rev/766570a5d607 -- ___ Python tracker

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

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Changing targets to Python 3.5, since this is almost certainly going to be too invasive for a maintenance release. -- versions: +Python 3.5 -Python 3.3, Python 3.4 ___ Python tracker

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

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Based on Steve's last post, the main challenge is that the IO model assumes a bytes-based streaming API - it isn't really set up to cope with a UTF-16 buffering layer. However, that's not substantially different from the situation when the standard streams are

[issue22066] subprocess.communicate() does not receive full output from the called process.

2014-07-25 Thread juj
New submission from juj: When Python 2.7 executes a Node .js application that prints to stdout and subsequently exits, Python does not capture full output printed by that application. Steps to repro: 1. Download and unzip http://clb.demon.fi/bugs/python_proc_bug.zip 2. Run run_test.bat Observ

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

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: > The poor interaction with the Windows command line is still a bug in CPython > - we could mark it closed/later but I don't see any value in doing so. I don't see any value in keeping the issue open since nobody worked on it last 7 years. I just want to make

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

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: The poor interaction with the Windows command line is still a bug in CPython - we could mark it closed/later but I don't see any value in doing so. I see Drekin's win_unicode_console module as similar to my own contextlib2 - used to prove the concept, and perhap

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

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: Since there is now an external project fixing the support of Windows console, I suggest to close this issue as "wontfix". In a few months, if we get enough feedback on this project, we may reconsider integrating it into Python. What do you think? https://pypi

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

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Hmm, I'm not sure if that would be a bug in cxFreeze or CPython - I don't think we've tried freezing or zipimporting namespace packages... (either way, adding the __init__.py to win_unicode_console would likely be the quickest fix) -- __

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

2014-07-25 Thread Mark Summerfield
Mark Summerfield added the comment: I used pip to install the win_unicode_console package on windows 7 python 3.3. It works but wouldn't freeze with cx_freeze because there's no __init__.py file in the win_unicode_console directory. -- ___ Python tr

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-25 Thread Nick Coghlan
Changes by Nick Coghlan : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks for the patch Clement! Could I also please request that you sign the Contributor License Agreement at https://www.python.org/psf/contrib/contrib-form/ While we have some discretion to accept "small" patches without one, a signed CLA helps assure that we

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2ae5709692ef by Nick Coghlan in branch 'default': Issue #21947: handle generator-iterator objects in dis http://hg.python.org/cpython/rev/2ae5709692ef -- nosy: +python-dev ___ Python tracker

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2014-07-25 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue22018] Add a new signal.set_wakeup_socket() function

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: Charles-François wrote: > I don't think we should set it non-blocking automatically, but rather check that it's non-blocking. > The first reason I can think of is that the user passing a blocking FD could be a sign of a bug (e.g. if the other end is in blocking

[issue18093] Move main functions to a separate Programs directory

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Zach, regarding the Windows executables - up to you if you want to open an issue to move them. These ones I particularly wanted to move because I found having them in Modules to be genuinely confusing when working on the startup code. -- __

[issue22018] Add a new signal.set_wakeup_socket() function

2014-07-25 Thread Charles-François Natali
Charles-François Natali added the comment: > In the issue #22042, I would like to make automatically the file desscriptor > or socket handler in non-blocking mode. The problem is that you cannot make a > file descriptor in non-blocking mode on Windows. I don't think we should set it non-blocki

[issue18093] Move main functions to a separate Programs directory

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Prompted to finally get back to this by the python-dev discussion about PEP 432 (as separating these out helps keep the moving parts clear when working on the startup sequence) In response to Eric's question, Modules/main.c is part of the CPython runtime, rathe

  1   2   >