[issue20683] [doc] Ease comprehension of section 9.2 of docs for Python 2 and 3 with example

2014-02-19 Thread Karl Richter
New submission from Karl Richter: The explanation of namespaces in section 9.2 in documentation (http://docs.python.org/3/tutorial/classes.html#python-scopes-and-namespaces) is just so complicated without (at least one tiny) example. The example would ease the comprehension of the section by a

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-19 Thread STINNER Victor
STINNER Victor added the comment: changeset: 89269:9cfb3d1cf0d1 tag: tip user:Victor Stinner date:Wed Feb 19 13:32:34 2014 +0100 files: Doc/library/asyncio-eventloop.rst description: asyncio: document new create_unix_connection() and create_unix_server() methods o

[issue20684] inspect.getfullargspec (etc) incorrectly follow __wrapped__ chains

2014-02-19 Thread Nick Coghlan
New submission from Nick Coghlan: In a comment on issue 17482, Mike Bayer pointed out a backwards incompatibility resulting from changing inspect.getfullargspec (etc) to rely on inspect.signature: they now follow __wrapped__ chains, where previously they ignored them. This means that instead

[issue17482] functools.update_wrapper mishandles __wrapped__

2014-02-19 Thread Nick Coghlan
Nick Coghlan added the comment: New release blocker created as issue 20684 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue20631] python readline module crashing on NULL access

2014-02-19 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list m

[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on "x86 Tiger 3.x"

2014-02-19 Thread STINNER Victor
STINNER Victor added the comment: > Looking at a man page for getsockname on Mac OS X (10.9): > BUGS: Names bound to sockets in the UNIX domain are inaccessible; > getsockname() returns a zero-length address. test_asyncio pass on Mac OS 10.6 (Snow Leopard) and 10.9 (Maverick). The issue looks

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-19 Thread daniel hahler
daniel hahler added the comment: Please note that I have noticed this not because of setting it via `os.environ`, but because a program using `os.environ.clear()` crashed: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1281086 I cannot say how this unusual entry was added to the environm

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-19 Thread STINNER Victor
STINNER Victor added the comment: "Please note that I have noticed this not because of setting it via `os.environ`, but because a program using `os.environ.clear()` crashed: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1281086"; The bug is not os.environ.clear(), but that os.environ co

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Nick Coghlan
Nick Coghlan added the comment: Attached patch moves the signature to an internal helper that takes an additional flag - whether or not to follow wrapper chains. getfullargspec() now calls this with the flag turned off, and that is passed down to any recursive calls. I'll be offline again unt

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-19 Thread daniel hahler
daniel hahler added the comment: > It would help to know if the key was set manually by apport, or if it comes > from the real environment. The environment looks correct: It comes from the real environment. I wanted to use apport, but could not from the current shell, because of this bug. I

[issue19748] test_time failures on AIX

2014-02-19 Thread STINNER Victor
STINNER Victor added the comment: > which is what I would expect based on the patch and the new AIX-specific > error message. What did you expect? No, mktime() and ctime() should both raise OverflowError. It looks like mktime() doesn't fail. Can you please try the following examples on AIX? E

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-19 Thread STINNER Victor
STINNER Victor added the comment: > It comes from the real environment. Oh. It looks possible to define an environment variable with an empty key, but not to remove it: $ env -i =value python -c 'import pprint, os; pprint.pprint(os.environ); del os.environ[""]' environ({'': 'value'}) Tracebac

[issue19744] test_venv and installation fail if SSL/TLS is not available

2014-02-19 Thread Nick Coghlan
Nick Coghlan added the comment: Issue 20685 created to cover inclusion in 3.4.0, already committed to default, so closing this one. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-19 Thread STINNER Victor
STINNER Victor added the comment: By the way, Python allows also to set an environment with a name containing "=", whereas getenv/setenv/unsetenv doesn't. $ env -i python -c 'import pprint, posix, os; os.environ["a="]="1"; print(os.environ); posix.unsetenv("a=")' environ({'a=': '1'}) Tracebac

[issue20685] 3.4 cherry pick: 9f76adbac8b7 better handling of missing SSL/TLS in ensurepip

2014-02-19 Thread Nick Coghlan
New submission from Nick Coghlan: This change ensures make install and make altinstall still work in builds without SSL/TLS. New changeset 9f76adbac8b7 by Nick Coghlan in branch 'default': Issue #19744: Handle missing SSL/TLS in ensurepip http://hg.python.org/cpython/rev/9f76adbac8b7 -

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- Removed message: http://bugs.python.org/msg211621 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are there supported platforms on which setenv() is not supported? When we will migrate to setenv(), an argument check will be not needed. In any case I think we should wrap unsetenv() in os.environ.clear() so that it should try to remove all environment vari

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are there supported platforms on which setenv() is not supported. -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue20660] Starting a second multiprocessing.Manager causes INCREF on all object created by the first one.

2014-02-19 Thread mythsmith
mythsmith added the comment: Thanks Richard. The set_start_method() call will affect any process started from that time on? Is it possible to change idea at some point in the future? Anyway, I cannot upgrade right now. Would it be an option to subclass BaseProxy, override the _after_fork method

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-19 Thread STINNER Victor
STINNER Victor added the comment: In fact, there is also a clearenv() function which could be used by os.environ.clear(). "The clearenv() function clears the environment of all name-value pairs and sets the value of the external variable environ to NULL." It looks like supported names depends

[issue20510] Test cases in test_sys don't match the comments

2014-02-19 Thread Zachary Ware
Zachary Ware added the comment: I considered doing a test like that, but figured it was pretty well covered by the assert_python_ok no-arg test. On the other hand, it looks like we document that the default value of SystemExit().code is None, so it should be tested. I'll add it in. Thanks,

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: changeset: 89270:186f6f56f4bc tag: tip user:Yury Selivanov date:Wed Feb 19 11:10:52 2014 -0500 files: Lib/asyncio/transports.py Lib/test/test_asyncio/test_transports.py description: asyncio: WriteTransport.set_write_buffer_size to

[issue20686] Confusing statement

2014-02-19 Thread Daniel U. Thibault
New submission from Daniel U. Thibault: Near the end of 3.1.3 http://docs.python.org/2/tutorial/introduction.html#unicode-strings you can read: "When a Unicode string is printed, written to a file, or converted with str(), conversion takes place using this default encoding." This can be inte

[issue20635] Fix the grid geometry manager and add tests for geometry managers

2014-02-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Unfortunately new tests emit on 3.3 and 2.7 same warnings as in issue20567. So I have committed only the fix, without tests. -- ___ Python tracker __

[issue20635] Fix the grid geometry manager and add tests for geometry managers

2014-02-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Changesets 857ddbaff14e (2.7), 6227b0ecb5fb (3.3) and b6df5f8f86d3 (default). -- ___ Python tracker ___ __

[issue20510] Test cases in test_sys don't match the comments

2014-02-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 292cac3afca6 by Zachary Ware in branch '2.7': Issue #20510: Confirm that the code attribute of the SystemExit http://hg.python.org/cpython/rev/292cac3afca6 New changeset 71411d5f3c8b by Zachary Ware in branch '3.3': Issue #20510: Confirm that the co

[issue20672] test_list() of test_tarfile fails on

2014-02-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset b508cbc29acf by Serhiy Storchaka in branch '3.3': Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales. http://hg.python.org/cpython/rev/b508cbc29acf New changeset 13d27bad7393 by Serhiy Storchaka in branch 'default': Issue #20672: Fixe

[issue20672] test_list() of test_tarfile fails on

2014-02-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker ___ _

[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on "x86 Tiger 3.x"

2014-02-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6016fffc894 by Victor Stinner in branch 'default': Close #20682: Fix UNIX sockets tests of test_asyncio on Mac OS X Tiger http://hg.python.org/cpython/rev/e6016fffc894 -- resolution: -> fixed stage: -> committed/rejected status: open -> c

[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on "x86 Tiger 3.x"

2014-02-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 07cdce316b1d by Victor Stinner in branch 'default': Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit) http://hg.python.org/cpython/rev/07cdce316b1d -- ___ Python t

[issue16997] subtests

2014-02-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: We just discovered that this change breaks testtools. I will file a new bug on that. -- ___ Python tracker ___ __

[issue20686] Confusing statement

2014-02-19 Thread R. David Murray
R. David Murray added the comment: It seems to me the statement is correct as written. What experiments indicate otherwise? -- nosy: +r.david.murray ___ Python tracker ___

[issue20687] Change in expectedFailure breaks testtools

2014-02-19 Thread Barry A. Warsaw
New submission from Barry A. Warsaw: The change for issue #16997 82844:5c09e1c57200 introduced a regression with testtools. See attached file and instructions for reproducing it (it requires the testtools package). -- components: Library (Lib) files: test_expected_failure.py keywords:

[issue16997] subtests

2014-02-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: See issue #20687 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue20686] Confusing statement

2014-02-19 Thread Georg Brandl
Georg Brandl added the comment: The only problem I can see is that "print" uses the console encoding. For files and str(), the comment is correct for Python 2. -- nosy: +georg.brandl ___ Python tracker ___

[issue20687] Change in expectedFailure breaks testtools

2014-02-19 Thread Thomi Richards
Changes by Thomi Richards : -- nosy: +thomir ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue20687] Change in expectedFailure breaks testtools

2014-02-19 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +rbcollins ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue20687] Change in expectedFailure breaks testtools

2014-02-19 Thread Robert Collins
Robert Collins added the comment: I concur that this is a regression - " unittest.expectedFailure() Mark the test as an expected failure. If the test fails when run, the test is not counted as a failure. " is in the public docs for the unittest module, and depending on a private att

[issue20687] Change in expectedFailure breaks testtools

2014-02-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Bumping to release blocker so Larry can make a determination. -- nosy: +larry priority: normal -> release blocker ___ Python tracker ___ __

[issue6143] IDLE - an extension to clear the shell window

2014-02-19 Thread Tal Einat
python.org/file34145/taleinat.20140219.IDLE_ClearWindow_extension.patch ___ Python tracker <http://bugs.python.org/issue6143> ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue6143] IDLE - an extension to clear the shell window

2014-02-19 Thread Tal Einat
o reinsert them if the 'clear' operation is undone. This patch also updates the relevant ClearWindow tests as well as adding new tests to check the new functionality. -- Added file: http://bugs.python.org/file34146/taleinat.20140219.IDLE_ClearWindow_Squeez

[issue1529353] Squeezer - squeeze large output in the interpreter

2014-02-19 Thread Tal Einat
Tal Einat added the comment: Serhiy, which warnings? Some of the tests use Tk GUI elements, so they include "requires('gui')". You need to run the tests with a proper environment so that these tests are run; otherwise you get a warning that the 'gui' resource in unavailable. -- _

[issue1529353] Squeezer - squeeze large output in the interpreter

2014-02-19 Thread Tal Einat
Tal Einat added the comment: See related issue6143 "IDLE - an extension to clear the shell window", where special support for Squeezer is required in that extension (patch included there). -- ___ Python tracker

[issue1529353] Squeezer - squeeze large output in the interpreter

2014-02-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The test emits a lot of warnings. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue6143] IDLE - an extension to clear the shell window

2014-02-19 Thread Tal Einat
Tal Einat added the comment: Regarding the last patch, see issue1529353 which proposes adding the Squeezer IDLE extension (including patches). -- ___ Python tracker ___ _

[issue20687] Change in expectedFailure breaks testtools

2014-02-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, michael.foord, pitrou type: -> behavior ___ Python tracker ___ ___ Python-bugs-list

[issue1529353] Squeezer - squeeze large output in the interpreter

2014-02-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Mainly deprecation warnings about assertEquals(). Run ./python -Wall -b -m test.regrtest -vuall test_idle -- ___ Python tracker ___ ___

[issue20629] Python ctypes BigEndianStructure bitfield assignment misbehavior in Linux

2014-02-19 Thread Rob Gaddi
Rob Gaddi added the comment: I was just working on similar things, and found the same problem. I can confirm failure on both Python 2.7.4 and Python 3.3.1 running on 64-bit Linux, and that the Windows builds do not have this problem. My code: from __future__ import print_function from ctypes

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: Nick, thanks for writing this patch! > That's probably OK though - previously those wouldn't report signatures at > all. I honestly don't think it is OK. I think we should stick to the behaviour of old 'getfullargspec' consistently, to make its behaviour alwa

[issue20269] Inconsistent behavior in pdb when pressing Ctrl-C

2014-02-19 Thread Steven Downum
Changes by Steven Downum : -- nosy: +Steven.Downum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Nick Coghlan
Nick Coghlan added the comment: Your version looks good to me, Yury (and good idea to add the second flag). -- ___ Python tracker ___

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks, Nick. Do you want me to commit the patch? (Larry will x-ray the patch before including it in 3.4rc2) -- ___ Python tracker ___ _

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, I think push this (with NEWS etc) for 3.4.1, then create the cherry pick patch for Larry. -- ___ Python tracker ___

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Larry Hastings
Larry Hastings added the comment: My only question: do they need to be independent flags? ISTM that they're always either both True or both False. -- ___ Python tracker ___ ___

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: > My only question: do they need to be independent flags? ISTM that they're > always either both True or both False. I'd keep them independent solely to make the code easier to read/audit. As, for instance, a combined argument won't make sense for someone who

[issue20654] Pydoc (and help) fails with socket.AddressFamily

2014-02-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8a3e896f0681 by Serhiy Storchaka in branch 'default': Issue #20654: Fixed pydoc for enums with zero value. Patch by Vajrasky Kok. http://hg.python.org/cpython/rev/8a3e896f0681 -- nosy: +python-dev ___ Py

[issue20654] Pydoc (and help) fails with socket.AddressFamily

2014-02-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Vajrasky! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker ___

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Nick Coghlan
Nick Coghlan added the comment: I think in 3.5 it may actually make sense to expose these as options (perhaps with different names), so yeah, I think separate flags is reasonable. The only plausible combined name would also be something like "legacy", and that would need to be assigned to more m

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: Committed in 65fb95578f94 .. forgot to add the issue # in the commit message :( -- ___ Python tracker ___ _

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue20688] 3.4 cherry-pick: 65fb95578f94 inspect: Fix getfullargspec() to not to follow __wrapped__ chains

2014-02-19 Thread Yury Selivanov
New submission from Yury Selivanov: Larry, please consider cherry-picking this in 3.4.0. The main motivation to have this in 3.4.0 is to avoid introducing a backwards incompatible change in inspect.getfullargspec() and inspect.getargspec() semantics. changeset: 89284:65fb95578f94 user:

[issue6815] UnicodeDecodeError in os.path.expandvars

2014-02-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset d11ca14c9a61 by Serhiy Storchaka in branch '2.7': Issue #6815: os.path.expandvars() now supports non-ASCII Unicode environment http://hg.python.org/cpython/rev/d11ca14c9a61 -- ___ Python tracker

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: Issue #20688 to track cherry-picking this into 3.4.0 -- ___ Python tracker ___ ___ Python-bugs-list

[issue20689] socket.AddressFamily is absent in html pydoc

2014-02-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The documentation for socket.AddressFamily (unlike to SocketType) isn't generated in html page by pydoc. May be issue20654 is similar to this issue. -- components: Library (Lib) messages: 211662 nosy: serhiy.storchaka priority: normal severity: nor

[issue6143] IDLE - an extension to clear the shell window

2014-02-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have not looked Idle issues in the last few days because I am working on the unmaintained (since 2006 and 8), embarrassing (~5 bugs in 70 lines), disfunctional mess that tokenize.untokenize has been. It will take me a few more days to finish. Clearing the s

[issue20690] IDLE Indents convert to spaces and then throws error

2014-02-19 Thread Justin Barker
New submission from Justin Barker: When I add some lines to my module code, some of the tabs that I enter convert to spaces. This throws an inconsistency error and I can't get it to stop! -- components: IDLE files: test.py messages: 211664 nosy: Justin.Barker priority: normal severity:

[issue20660] Starting a second multiprocessing.Manager causes INCREF on all object created by the first one.

2014-02-19 Thread Richard Oudkerk
Richard Oudkerk added the comment: > Thanks Richard. The set_start_method() call will affect any process > started from that time on? Is it possible to change idea at some point in > the future? You can use different start methods in the same program by creating different contexts: spawn_c

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-19 Thread STINNER Victor
STINNER Victor added the comment: changeset: 89288:dbf13a7d3987 tag: tip user:Victor Stinner date:Wed Feb 19 23:15:02 2014 +0100 files: Doc/library/asyncio-dev.rst Doc/library/asyncio-eventloop.rst Doc/using/cmdline.rst Lib/asyncio/bas description: asyncio, Tulip

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: > I think in 3.5 it may actually make sense to expose these as options > (perhaps with different names), so yeah, I think separate flags is > reasonable. +1 on thinking about exposing your 'follow_wrapper_chains' option in 3.5. I'll create an issue. --

[issue20691] inspect.signature: Consider exposing 'follow_wrapper_chains' option in public API

2014-02-19 Thread Yury Selivanov
New submission from Yury Selivanov: In the issue #20684, Nick had an idea of exposing 'follow_wrapper_chains' option to the public API. This might be actually very useful. -- assignee: yselivanov messages: 211668 nosy: larry, ncoghlan, yselivanov priority: normal severity: normal statu

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-19 Thread STINNER Victor
STINNER Victor added the comment: changeset: 89283:07cdce316b1d user:Victor Stinner date:Wed Feb 19 18:32:03 2014 +0100 files: Lib/test/test_asyncio/test_events.py description: Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit) ch

[issue20692] Tutorial section 9.4

2014-02-19 Thread Jon Shemitz
New submission from Jon Shemitz: The tutorial says "Each value is an object, and therefore has a class (also called its type). It is stored as object.__class__." So, I tried >>> 3.__class__ File "", line 1 3.__class__ ^ SyntaxError: invalid syntax Yet, "foo".__cl

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset e301a515f8f4 by Benjamin Peterson in branch 'default': update magic number for #20625 http://hg.python.org/cpython/rev/e301a515f8f4 -- ___ Python tracker _

[issue20676] 3.4 cherry-pick: a63327162063 Mangle __parameters in __annotations__ dict properly

2014-02-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: Also, e301a515f8f4 -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailin

[issue6676] expat parser throws Memory Error when parsing multiple files

2014-02-19 Thread David H. Gutteridge
David H. Gutteridge added the comment: Updating to reflect the Python 3.4 documentation is now also relevant to this discussion. Perhaps someone could commit a change something like my suggestion in msg143295? -- versions: +Python 3.4 ___ Python tra

[issue20692] Tutorial section 9.4

2014-02-19 Thread R. David Murray
R. David Murray added the comment: It's actually almost a FAQ at this point. The answer is that because of the way the parser works (it's a relatively simple parser, and we want to keep it that way), the tokenizer sees the '.' as making the token a float, and '3.__class__' is not a valid floa

[issue20693] Sidebar scrolls down 2x as fast as page content

2014-02-19 Thread Nick Timkovich
New submission from Nick Timkovich: When scrolling down in the Python 3.4 docs (e.g. http://docs.python.org/3.4/library/index.html ) the Sphinx sidebar's top value increases twice as fast as the user moves down the page, resulting in it "running away". I don't know sufficient JS to identify t

[issue20692] Tutorial section 9.4

2014-02-19 Thread Jon Shemitz
Jon Shemitz added the comment: That makes sense. Perhaps, then, the tutorial should include the FAQ? (I can't be the only person who thought to try this.) On Wed, Feb 19, 2014 at 3:59 PM, R. David Murray wrote: > > R. David Murray added the comment: > > It's actually almost a FAQ at this point.

[issue20694] asyncio.docs: Document subprocess_exec and subprocess_shell

2014-02-19 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: docs@python components: Documentation nosy: docs@python, gvanrossum, haypo, larry, yselivanov priority: release blocker severity: normal status: open title: asyncio.docs: Document subprocess_exec and subprocess_shell type: enhancement versions: Py

[issue20694] asyncio.docs: Document subprocess_exec and subprocess_shell

2014-02-19 Thread Yury Selivanov
New submission from Yury Selivanov: (I'd document this myself, but I lack the experience of working with these functions) -- ___ Python tracker ___ _

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-19 Thread STINNER Victor
STINNER Victor added the comment: changeset: 89290:549f451aa4c3 tag: tip user:Victor Stinner date:Thu Feb 20 01:44:10 2014 +0100 files: Doc/library/asyncio-dev.rst Doc/library/asyncio-eventloop.rst description: asyncio doc: remove reference to _DEBUG (now replaced

[issue20695] test_urllibnet.urlretrieveNetworkTests fails due to new python.org website

2014-02-19 Thread Eric Naeseth
New submission from Eric Naeseth: The www.python.org website was just redesigned, and apparently is running on some new infrastructure which always responds to `GET /` requests with a body using `Content-Encoding: gzip`. Python's test suite includes some tests which fetch http://www.python.org

[issue20695] test_urllibnet.urlretrieveNetworkTests fails due to new python.org website

2014-02-19 Thread Eric Naeseth
Eric Naeseth added the comment: In addition, the test_reporthook and test_data_header tests try to retrieve a Python logo image from http://www.python.org/community/logos/python-logo-master-v3-TM.png. That is now a 404. -- ___ Python tracker

[issue20696] asyncio.docs: Document StreamReader an other streams module APIs

2014-02-19 Thread Yury Selivanov
New submission from Yury Selivanov: Patch is attached, please review. -- assignee: yselivanov components: Documentation files: asyncio_docs_streams_01.patch keywords: patch messages: 211681 nosy: gvanrossum, haypo, larry, yselivanov priority: release blocker severity: normal stage: patch

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: Some documentation. changeset: 89291:58fd64e55b29 tag: tip user:Yury Selivanov date:Wed Feb 19 20:58:44 2014 -0500 files: Doc/library/asyncio-eventloop.rst description: asyncio.docs: Document Error Handling API and asyncio.Handle

[issue20570] Bundle pip 1.5.3 in Python 3.4rc2

2014-02-19 Thread Donald Stufft
Donald Stufft added the comment: Just a FYI I'm going to be cutting this release sometime in the next 6-12 hours and I'll commit it to the CPython repository and make the cherry-pick request. -- ___ Python tracker

[issue20687] Change in expectedFailure breaks testtools

2014-02-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20676] 3.4 cherry-pick: a63327162063 Mangle __parameters in __annotations__ dict properly

2014-02-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20695] test_urllibnet.urlretrieveNetworkTests fails due to new python.org website

2014-02-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0199bff14c5c by Benjamin Peterson in branch '2.7': update logo url (#20695) http://hg.python.org/cpython/rev/0199bff14c5c New changeset d4b9692ac75f by Benjamin Peterson in branch '3.1': update logo url (#20695) http://hg.python.org/cpython/rev/d4b9

[issue20695] test_urllibnet.urlretrieveNetworkTests fails due to new python.org website

2014-02-19 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue20697] cherry-pick 0399e842073a

2014-02-19 Thread Benjamin Peterson
New submission from Benjamin Peterson: Otherwise people's tests won't pass, which will lead to general sadness. -- assignee: larry components: Tests messages: 211685 nosy: benjamin.peterson, larry priority: release blocker severity: normal status: open title: cherry-pick 0399e842073a ver

[issue20697] cherry-pick 0399e842073a

2014-02-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- versions: +Python 3.4 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mail

[issue20697] cherry-pick 0399e842073a

2014-02-19 Thread Larry Hastings
Larry Hastings added the comment: Ok, I don't want general sadness. I prefer the sadness I sow to be highly specifically targeted. -- ___ Python tracker ___ ___

[issue20693] Sidebar scrolls down 2x as fast as page content

2014-02-19 Thread Zachary Ware
Zachary Ware added the comment: I noticed this earlier today as well, but didn't have a chance to report. I also happened to have a week-old doc page still loaded in the next tab over (which didn't have the problem), and noticed that it was marked as being built by Sphinx 1.2, whereas today's

[issue20693] Sidebar scrolls down 2x as fast as page content

2014-02-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20697] 3.4 cherry-pick: 0399e842073a

2014-02-19 Thread Larry Hastings
Larry Hastings added the comment: Title fix because *some* people can't follow directions, thus breaking my search. -- title: cherry-pick 0399e842073a -> 3.4 cherry-pick: 0399e842073a ___ Python tracker __

[issue20687] Change in expectedFailure breaks testtools

2014-02-19 Thread Larry Hastings
Changes by Larry Hastings : -- priority: release blocker -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20687] Change in expectedFailure breaks testtools

2014-02-19 Thread Larry Hastings
Larry Hastings added the comment: So here's the thing. It only works in Python 3.3 because testtools depends on internal implementation details of unittest, specifically a private exception ("unittest.case._UnexpectedSuccess"). The public interface still works fine. So I don't think this is

  1   2   >