[issue20627] Add context manager support to xmlrpc.client.ServerProxy

2014-03-17 Thread Claudiu.Popa
Claudiu.Popa added the comment: Now that the 3.5 branch is the default, can this feature be committed? -- ___ Python tracker ___ ___ P

[issue19385] dbm.dumb should be consistent when the database is closed

2014-03-17 Thread Claudiu.Popa
Claudiu.Popa added the comment: Can this patch be committed, now that 3.5 is active? -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue20853] pdb "args" crashes when an arg is not printable

2014-03-17 Thread Jurjen N.E. Bos
Jurjen N.E. Bos added the comment: I did figure it out. It almost works, except when a argument lost its value, and the same name exists in the global context. To be more specific: I simplified do_args to the following code (that obviously ugly by explicitly evaluating repr in context, but that

[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-03-17 Thread Éric Araujo
Éric Araujo added the comment: If you want to provide two patches for the two major lines, that’d be ideal. Please post both on this one ticket though. Thank you! -- nosy: +eric.araujo ___ Python tracker ___

[issue20265] Bring Windows docs up to date

2014-03-17 Thread Mark Lawrence
Mark Lawrence added the comment: IIRC PTVS can't be used with the express editions so please mention this. -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich
New submission from Marc Schlaich: Steps to reproduce: - clone pytest-cov at https://bitbucket.org/schlamar/pytest-cov/commits/ac14225a67d715b6649f8158e05d2389b78620d2 - remove `@pytest.mark.skipif` from `test_multiprocessing_subprocess` in test_pytest_cov.py - run: `tox --develop -e py27 -- -

[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich
Marc Schlaich added the comment: Patch added. -- keywords: +patch Added file: http://bugs.python.org/file34453/Issue20954.patch ___ Python tracker ___ ___

[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-17 Thread Ned Deily
Ned Deily added the comment: Here are patches to change network use of www.python.org to www.example.com so that the tests should pass even if the interpreter is built without SSL support. It turns out that there are references to www.python.org in unexpected places (like test_site) so, while

[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-17 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file34456/issue20939_all_32.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-17 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file34455/issue20939_all_31.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-17 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file34457/issue20939_all_33.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue20218] Add methods to `pathlib.Path`: `write_text`, `read_text`, `write_bytes`, `read_bytes`

2014-03-17 Thread Ram Rachum
Changes by Ram Rachum : -- title: Add `pathlib.Path.write` and `pathlib.Path.read` -> Add methods to `pathlib.Path`: `write_text`, `read_text`, `write_bytes`, `read_bytes` ___ Python tracker __

[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-17 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file34458/issue20939_all_3x.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich
Marc Schlaich added the comment: This comes from http://bugs.python.org/issue12098. Python 3.3 is affected, too. Reproduction can be minimized by running the following script: import multiprocessing def main(): p = multiprocessing.Process(target=lambda: None) p.start() p.join()

[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich
Marc Schlaich added the comment: Added TestCase. -- Added file: http://bugs.python.org/file34459/20954_test.patch ___ Python tracker ___ _

[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich
Marc Schlaich added the comment: BTW, patches are for 2.7 branch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich
Marc Schlaich added the comment: Merged test case and fix in a single commit/patch. -- Added file: http://bugs.python.org/file34460/Issue20954.patch ___ Python tracker ___ __

[issue20955] Unexpected behavior in sqlite3.Connection.set_progress_handler

2014-03-17 Thread cheeleong
New submission from cheeleong: I discovered this bug accidentally when i'm trying to test the Python 3.4 package $ make test I've encountered the unittest assertion error at CheckOpcodeCount with the message, 5 is not greater than 5. at line 144 here http://hg.python.org/cpython/file/04f7147

[issue11949] Make float('nan') unorderable

2014-03-17 Thread Marc Schlaich
Changes by Marc Schlaich : -- nosy: -schlamar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue20955] Unexpected behavior in sqlite3.Connection.set_progress_handler

2014-03-17 Thread cheeleong
cheeleong added the comment: Found out about this is a duplicate http://bugs.python.org/issue20901 -- resolution: -> duplicate ___ Python tracker ___ ___

[issue20955] Unexpected behavior in sqlite3.Connection.set_progress_handler

2014-03-17 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> committed/rejected status: open -> closed superseder: -> test_sqlite fails with SQLite 3.8.4 ___ Python tracker ___

[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

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

[issue20956] tokenize module claims generate_tokens returns namedtuple, but it doesn't

2014-03-17 Thread Curtis Maloney
New submission from Curtis Maloney: Although 3.x does yield a named-tuple, 2.x does not, despite the documentation: The exact type can be determined by checking the token string field on the named tuple returned from tokenize.tokenize() for the character sequence that identifies a specific

[issue20956] tokenize module claims generate_tokens returns namedtuple, but it doesn't

2014-03-17 Thread Eric V. Smith
Eric V. Smith added the comment: The 2.x documentation says generate_tokens returns a 5-tuple, not a namedtuple: http://docs.python.org/2/library/tokenize.html "The generator produces 5-tuples with these members: ..." The section you quote is talking about tokenize.tokenize, and I think that d

[issue20957] test_smptnet Fail instead of Skip if SSL-port is unavailable

2014-03-17 Thread Lukas Lueg
New submission from Lukas Lueg: If the SSL-port is unavailable due to firewall settings (or the host simply being down), the SSL-tests in test_smtpnet.py fail instead of being skipped. The tests should be skipped if the smtp.google.com can't be reached and fail only in case of unexpected behav

[issue20956] tokenize module claims tokenize.tokenize returns namedtuple, but it doesn't

2014-03-17 Thread Curtis Maloney
Curtis Maloney added the comment: Corrected title. And, yeah, figured it wouldn't be added as a new feature, hence reporting this as a Documentation bug. -- title: tokenize module claims generate_tokens returns namedtuple, but it doesn't -> tokenize module claims tokenize.tokenize ret

[issue20957] test_smptnet Fail instead of Skip if SSL-port is unavailable

2014-03-17 Thread Lukas Lueg
Lukas Lueg added the comment: Diff the make test_smtpnet pass if the network-resource is available but smtp.google.com's ssl-port can't be reached. Most probably there is a better way to do this. -- keywords: +patch Added file: http://bugs.python.org/file34462/cpython_hg_89810_to_89811

[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Jovik
Jovik added the comment: As requested I did extra tests with extension. Same result as before: >>> proc = subprocess.Popen("plink.exe", stdout=subprocess.PIPE, >>> cwd="c:\\python33\\workspace") >>> proc = subprocess.Popen(".\plink.exe", stdout=subprocess.PIPE, >>> cwd="c:\\python33\\workspace"

[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Eric V. Smith
Eric V. Smith added the comment: Where is plink.exe? If it's not in cwd (c:\python33\workspace), note that the documentation for cwd says: "If cwd is not None, the function changes the working directory to cwd before executing the child. In particular, the function looks for executable (or for

[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Jovik
Jovik added the comment: plink.exe is located in c:\python33\workspace. I'm aware of the docstring difference between Python 2 and 3, thus submitted the bug for Python 3 only. -- ___ Python tracker ___

[issue20958] Undefined behavior flagged by Clang 3.4 (Python 3.4.0)

2014-03-17 Thread Jeffrey Walton
New submission from Jeffrey Walton: Python 3.4.0 downloaded from website (https://www.python.org/download/releases/3.4.0/). Objects/dictobject.c:756:5: runtime error: left shift of negative value -2 Objects/funcobject.c:907:5: runtime error: left shift of negative value -2 Objects/funcobject.c:

[issue20627] Add context manager support to xmlrpc.client.ServerProxy

2014-03-17 Thread Brett Cannon
Brett Cannon added the comment: Yes it can. I do my Python work typically on Fridays so I will get to it then. -- ___ Python tracker ___ _

[issue20265] Bring Windows docs up to date

2014-03-17 Thread Kathleen Weaver
Kathleen Weaver added the comment: There is also a separate version of the Python Tools depending on which version of Visual Studio. I'm testing this out, and may add it to the current patch. -- ___ Python tracker

[issue20958] Undefined behavior flagged by Clang 3.4 (Python 3.4.0)

2014-03-17 Thread Zachary Ware
Zachary Ware added the comment: Unless I'm mistaken, this was already fixed in #20929. Since 3.4.0 was in RC stage when you reported #20929 and the fix was not release-critical, it was not cherry-picked into 3.4.0 final. It will be fixed in 3.4.1 and 3.5. If I'm wrong and this is unrelated t

[issue10203] sqlite3.Row doesn't support sequence protocol

2014-03-17 Thread Claudiu.Popa
Claudiu.Popa added the comment: What can be done to move this forward? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Eric V. Smith
Eric V. Smith added the comment: I think the 2.7 documentation is correct: the current directory when the call is made, and not cwd, is included in the search path. I'd suggest specifying args as ["c:\\python33\\workspace\\plink.exe"]. I think I may have mislead you earlier on the search path.

[issue19643] shutil rmtree fails on readonly files in Windows

2014-03-17 Thread Jovik
Jovik added the comment: This could be at least part of docs; I found that people tend to avoid shutil.rmtree(...) on Windows because of such issues. Some of them call subprocess("rmdir /S /Q ") to get desired behavior. -- nosy: +Jovik ___ Python tr

[issue10203] sqlite3.Row doesn't support sequence protocol

2014-03-17 Thread Mark Lawrence
Mark Lawrence added the comment: I've changed the versions, hope I've got them correct. -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.4 ___ Python tracker ___ ___

[issue20959] print gives wrong error when printing *generator

2014-03-17 Thread Jurjen N.E. Bos
New submission from Jurjen N.E. Bos: One of the more interesting ways to use print is printing output of a generator, as print(*generator()). But if the generator generates a typeError, you get a very unhelpful error message: >>> #the way it works OK >>> def f(): yield 'a'+'b' ... >>> print(*f(

[issue20960] Fix usage of the versionchanged directive in the sys.hash_info documentation

2014-03-17 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: docs@python components: Documentation files: sys-versionchanged.diff keywords: patch nosy: berker.peksag, docs@python priority: normal severity: normal stage: patch review status: open title: Fix usage of the versionchanged directive in the sys.has

[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Jovik
Jovik added the comment: Why this feature works on Posix systems, but not Windows? If my memory is correct, it didn't work anywhere when I used Python 2.7 (according with docs). -- ___ Python tracker _

[issue20961] Fix usages of the note directive in the documentation

2014-03-17 Thread Berker Peksag
New submission from Berker Peksag: Here's a patch to fix all "ERROR: Error in "note" directive: invalid option block." errors in the stdlib documentation. -- assignee: docs@python components: Documentation files: fix-note-directive.diff keywords: patch messages: 213871 nosy: berker.peksa

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-17 Thread Anastasia.Filatova
Anastasia.Filatova added the comment: Thank you, David, for review! I understood your point of view, an updated patch will be added soon. -- ___ Python tracker ___ _

[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Eric V. Smith
Eric V. Smith added the comment: The underlying APIs are very different. It's debatable how much of a shim we should provide to make all platforms look alike. I think first we should understand what it currently takes to make something work in both environments. Then we can talk about how or i

[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-03-17 Thread Max Naumov
Max Naumov added the comment: Wouldn't this be more correct? --- Lib/distutils/msvc9compiler.py 2013-08-03T16:17:08+04:00 +++ Lib/distutils/msvc9compiler.py 2014-03-17T18:36:50.078672+04:00 @@ -411,7 +411,11 @@ '/Z7', '/D_DEBUG'] sel

[issue20960] Fix usage of the versionchanged directive in the sys.hash_info documentation

2014-03-17 Thread Roundup Robot
New submission from Roundup Robot: New changeset a2fd7e452167 by R David Murray in branch '3.4': closes #20960 http://hg.python.org/cpython/rev/a2fd7e452167 New changeset 3a3a5467baa9 by R David Murray in branch 'default': Merge fix for #20960 http://hg.python.org/cpython/rev/3a3a5467baa9 -

[issue10203] sqlite3.Row doesn't support sequence protocol

2014-03-17 Thread Éric Araujo
Éric Araujo added the comment: Thanks Mark. There will be a last 3.3 release with bugfixes before it switches to security fixes only. -- versions: +Python 3.3 ___ Python tracker __

[issue10203] sqlite3.Row doesn't support sequence protocol

2014-03-17 Thread Éric Araujo
Éric Araujo added the comment: I would like another core developer more intimate with C to review the patch. -- stage: patch review -> commit review ___ Python tracker ___ __

[issue19903] Idle: Use inspect.signature for calltips

2014-03-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have not decided yet whether to apply to 3.4. -- versions: +Python 3.5 -Python 3.3 ___ Python tracker ___

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2014-03-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Calltips will be rewritten for 3.5, maybe 3.4 in #19903, to use inspect.signature. Once that is done, I would like to revisit this issue, as I agree that it would be useful, and it should be fairly easy. I though of being able to rightclick on the calltip box

[issue10203] sqlite3.Row doesn't support sequence protocol

2014-03-17 Thread Éric Araujo
Éric Araujo added the comment: Ah, 3.3 won’t follow that custom given that it had a bugfix release very recently. -- versions: -Python 3.3 ___ Python tracker ___ __

[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-03-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: What is the procedure to test this patch? Under what circumstances exactly is it needed? -- ___ Python tracker ___ ___

[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-03-17 Thread Max Naumov
Max Naumov added the comment: It allows to install numpy on windows python 3.4. Just like the patch in the original post. Actually my patch is merely the original patch refactored. -- ___ Python tracker __

[issue18615] sndhdr.whathdr could return a namedtuple

2014-03-17 Thread Claudiu.Popa
Changes by Claudiu.Popa : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20962] Rather modest chunk size in gzip.GzipFile

2014-03-17 Thread Skip Montanaro
New submission from Skip Montanaro: I've had the opportunity to use the seek() method of the gzip.GzipFile class for the first time in the past few days. Wondering why it seemed my processing times were so slow, I took a look at the code for seek() and read(). It seems like the chunk size for

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-17 Thread Anastasia.Filatova
Changes by Anastasia.Filatova : Removed file: http://bugs.python.org/file34389/Issue20112_py27.patch ___ Python tracker ___ ___ Python-bugs-li

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-17 Thread Anastasia.Filatova
Changes by Anastasia.Filatova : Removed file: http://bugs.python.org/file34391/Issue20112_py34.patch ___ Python tracker ___ ___ Python-bugs-li

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-17 Thread Anastasia.Filatova
Changes by Anastasia.Filatova : Removed file: http://bugs.python.org/file34390/Issue20112_py33.patch ___ Python tracker ___ ___ Python-bugs-li

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-17 Thread Anastasia.Filatova
Changes by Anastasia.Filatova : Added file: http://bugs.python.org/file34467/Issue20112_py27.patch ___ Python tracker ___ ___ Python-bugs-list

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-17 Thread Anastasia.Filatova
Changes by Anastasia.Filatova : Added file: http://bugs.python.org/file34468/Issue20112_py33.patch ___ Python tracker ___ ___ Python-bugs-list

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-17 Thread Anastasia.Filatova
Changes by Anastasia.Filatova : Added file: http://bugs.python.org/file34469/Issue20112_py34.patch ___ Python tracker ___ ___ Python-bugs-list

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-17 Thread Anastasia.Filatova
Anastasia.Filatova added the comment: So new patch is updated. Could someone please give me feedback on it? -- ___ Python tracker ___

[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-17 Thread Éric Araujo
Éric Araujo added the comment: Thanks, the doc is much clearer now. Could you also address my comments? (If you did not get email, the comments can be accessed with the “review” link in the list of files attached to this report.) -- nosy: +eric.araujo ___

[issue18931] new selectors module should support devpoll on Solaris

2014-03-17 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: We missed 3.4 :-(. Targeting Python 3.5 now. Giampaolo, could you possibly refresh your patch?. Thanks. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker _

[issue16853] add a Selector to the select module

2014-03-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue16754] Incorrect shared library extension on linux

2014-03-17 Thread Éric Araujo
Éric Araujo added the comment: Amaury’s questions are still unanswered: > So sysconfig.get_config_var('SO') will change in a micro release? > Won't this break working user code? Give unexpected file names? -- ___ Python tracker

[issue20916] ssl.enum_certificates() will not return all certificates trusted by Windows

2014-03-17 Thread Adam Goodman
Adam Goodman added the comment: What Martin said is correct, IMO. The actual problem I'd like to correct is: If I - for example - create an HTTPSConnection with cert validation enabled, and set to use the default OS trust mechanism, then the validation process should trigger Windows' root CA

[issue16754] Incorrect shared library extension on linux

2014-03-17 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: There were already 5 releases of Python 3.3 (starting with 3.3.1) with this change included. The number of affected applications was rather small. I had seen only NumPy. -- status: open -> closed ___

[issue16754] Incorrect shared library extension on linux

2014-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ccb679e5ae0e by Éric Araujo in branch 'default': Update SOABI PEP to reflect config var change (#16754). http://hg.python.org/peps/rev/ccb679e5ae0e -- ___ Python tracker

[issue20963] side_effects swapped in Mock example

2014-03-17 Thread chris-buccella
New submission from chris-buccella: http://docs.python.org/3.4/library/unittest.mock-examples.html Section 26.5.3.9. Mocking a dictionary with MagicMock In the Note area: >>> mock.__setitem__ = Mock(side_effect=getitem) >>> mock.__getitem__ = Mock(side_effect=setitem) I think these are swapp

[issue20890] Miscellaneous PEP 101 additions

2014-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 414a7e2067b2 by Éric Araujo in branch 'default': Update branch names after 3.4.0 release (ref #20890) http://hg.python.org/devguide/rev/414a7e2067b2 -- nosy: +python-dev ___ Python tracker

[issue20963] side_effects swapped in Mock example

2014-03-17 Thread Éric Araujo
Éric Araujo added the comment: Thanks, will fix. -- assignee: docs@python -> eric.araujo nosy: +eric.araujo ___ Python tracker ___ ___

[issue20963] side_effects swapped in Mock example

2014-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset e725de5a2760 by Éric Araujo in branch '3.4': Fix typo in example (#20963) http://hg.python.org/cpython/rev/e725de5a2760 -- nosy: +python-dev ___ Python tracker ___

[issue20963] side_effects swapped in Mock example

2014-03-17 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Pyth

[issue20637] Support key-sharing dictionaries in subclasses

2014-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset afae24cb81d9 by Benjamin Peterson in branch '3.4': correct the fix for #20637; allow slot descriptor inheritance to take place before creating cached keys http://hg.python.org/cpython/rev/afae24cb81d9 -- ___

[issue20915] Add "pip" section to experts list in devguide

2014-03-17 Thread Donald Stufft
Donald Stufft added the comment: I'm sure y'all know my name already but since Eric asked on the pip tracker for us, I'm dstufft :) -- ___ Python tracker ___ ___

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

2014-03-17 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: Hi David, I would like to work on this bug. Can you give some more insights about the main issue? As far as I understood, the smtp server is now decoding the incoming bytes as UTF-8. Why do you say that it is not the right way? Can you give some idea ab

[issue18931] new selectors module should support devpoll on Solaris

2014-03-17 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Sorry for not being able to rewrite the patch in time for 3.4. I will provide an updated patch (I need to setup an Open Solaris box first though). The code for poll(), epoll() and /dev/poll will have many similarities, so I think it makes sense to refactor i

[issue20265] Bring Windows docs up to date

2014-03-17 Thread Kathleen Weaver
Kathleen Weaver added the comment: I just figured out why Windows 8 isn't behaving the way the documentation says. You have to use Command Prompt (Admin). Command Prompt (the first option IGNORES the path) Now it's time to have a discussion with a Windows Project Manager. -- __

[issue18931] new selectors module should support devpoll on Solaris

2014-03-17 Thread Guido van Rossum
Guido van Rossum added the comment: I actually prefer some code duplication in this case. Makes the review easier. On Mar 17, 2014 2:17 PM, "Giampaolo Rodola'" wrote: > > Giampaolo Rodola' added the comment: > > Sorry for not being able to rewrite the patch in time for 3.4. > I will provide an

[issue18931] new selectors module should support devpoll on Solaris

2014-03-17 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: OK, I will provide a patch soon. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue20879] base64 module of Python 3.4 uses 920 kB of memory

2014-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7093d5758954 by Victor Stinner in branch '3.4': Issue #20879: Delay the initialization of encoding and decoding tables for http://hg.python.org/cpython/rev/7093d5758954 New changeset 06d646935c9a by Victor Stinner in branch 'default': (Merge 3.4) Is

[issue20879] base64 module of Python 3.4 uses 920 kB of memory

2014-03-17 Thread STINNER Victor
STINNER Victor added the comment: Thanks Serhiy, I merged your last patch with mine. This issue should now be fixed. As Martin wrote, an enhancement would be to reimplement these functions in C without such table. -- resolution: -> fixed status: open -> closed __

[issue19640] Drop _source attribute of namedtuple

2014-03-17 Thread STINNER Victor
STINNER Victor added the comment: > As an alternative, how about turning _source into a property? A class or an instance property? A class property requires a metaclass. I guess that each namedtuple type requires its own metaclass, right? -- ___ Pyt

[issue20574] Implement incremental decoder for cp65001

2014-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 08f9b881f78c by Victor Stinner in branch 'default': Issue #20574: Implement incremental decoder for cp65001 code http://hg.python.org/cpython/rev/08f9b881f78c -- nosy: +python-dev ___ Python tracker

[issue20574] Implement incremental decoder for cp65001

2014-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 85b87789f048 by Victor Stinner in branch 'default': Issue #20574: Add more tests for cp65001 http://hg.python.org/cpython/rev/85b87789f048 -- ___ Python tracker __

[issue20879] base64 module of Python 3.4 uses 920 kB of memory

2014-03-17 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20574] Implement incremental decoder for cp65001

2014-03-17 Thread STINNER Victor
STINNER Victor added the comment: > Could you please also add test_partial for CP65001 (if this will make sense)? I added CP65001Test which inherit from UTF8Test and so runs all UTF-8 tests on cp65001 codec. I'm surprised that the test pass. -- ___

[issue20574] Implement incremental decoder for cp65001

2014-03-17 Thread STINNER Victor
STINNER Victor added the comment: I don't feel the need to backport the new feature, so I'm closing the issue. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue18931] new selectors module should support devpoll on Solaris

2014-03-17 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: BDFL talked :-). I can test the patch on a Solaris box, and Python has OpenSolaris buildbots. -- ___ Python tracker ___ __

[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue20941] pytime.c:184 and pytime.c:218: runtime error, outside the range of representable values of type 'long'

2014-03-17 Thread STINNER Victor
STINNER Victor added the comment: > Shouldn't a range test based on TIME_T_MAX with an epsilon occur first? What is this constant? I don't see it in Python source code. -- ___ Python tracker __

[issue17110] sys.argv docs should explaining how to handle encoding issues

2014-03-17 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: You are right. Instead of running ./python inside the python directory, I ran the default python of older version! Based on the stackoverflow link given, I tried to make some documentation. I am attaching the patch! -- keywords: +patch Added file:

[issue20915] Add "pip" section to experts list in devguide

2014-03-17 Thread Marcus Smith
Marcus Smith added the comment: ok, add me. -- nosy: +Marcus.Smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue20915] Add "pip" section to experts list in devguide

2014-03-17 Thread Éric Araujo
Éric Araujo added the comment: Nick, can you give Donald and Marcus sufficient rights for bug triage, or should we ask RDM? -- ___ Python tracker ___ ___

[issue20910] Make sleep configurable in tests

2014-03-17 Thread STINNER Victor
STINNER Victor added the comment: I created #20964 to add the support.check_time_delta() function. -- ___ Python tracker ___ ___ Pytho

[issue20915] Add "pip" section to experts list in devguide

2014-03-17 Thread Éric Araujo
Éric Araujo added the comment: BTW, what about adding a “pip” component to the tracker with some auto-nosy list? -- ___ Python tracker ___ __

[issue20964] Add support.check_time_delta()

2014-03-17 Thread STINNER Victor
New submission from STINNER Victor: Follow-up of issue #20910: add a support.check_time_delta() function an a --check-time-delta command line option for Lib/test/regrtest.py. By default, the function tolerate a difference of 500 ms for the maximum delta. The idea is to set the --check-time-del

[issue20964] Add support.check_time_delta()

2014-03-17 Thread STINNER Victor
STINNER Victor added the comment: I ran test_time and test_asyncio on Linux and Windows with --check-time-delta=1e-9 and the tests passed. -- ___ Python tracker ___

[issue20915] Add "pip" section to experts list in devguide

2014-03-17 Thread Paul Moore
Paul Moore added the comment: I've been around here for a while, but yeah, I'll keep an eye out for pip stuff now, too. Good thought. -- nosy: +pmoore ___ Python tracker ___ ___

  1   2   >