[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-06 Thread Csaba Makara
Csaba Makara added the comment: Sorry for the late answer. It was a direct usage of the dir_utils.copy_tree. I absolutely understand you don't want to touch it. -- ___ Python tracker ___

[issue22157] FAIL: test_with_pip (test.test_venv.EnsurePipTest)

2014-08-06 Thread snehal
snehal added the comment: Also ctypes contains following root@beta1:/home/ubuntu/python/Python-3.4.1/Lib/ctypes# ls _endian.py __init__.py macholib __pycache__ test util.py wintypes.py -- ___ Python tracker

[issue22157] FAIL: test_with_pip (test.test_venv.EnsurePipTest)

2014-08-06 Thread snehal
snehal added the comment: When I gave following command, I see no error root@beta1:/home/ubuntu/python/Python-3.4.1# python3.4 -c 'import ctypes' root@beta1:/home/ubuntu/python/Python-3.4.1# I do see ctypes in root@beta1:/home/ubuntu/python/Python-3.4.1/Lib# folder -- _

[issue22142] PEP 465 operators not described in lexical_analysis

2014-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0bc58b4c0562 by Benjamin Peterson in branch 'default': add matrix multiplication operator to correct lists (closes #22142) http://hg.python.org/cpython/rev/0bc58b4c0562 -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: o

[issue22095] Use of set_tunnel with default port results in incorrect post value in host header

2014-08-06 Thread Demian Brecht
Demian Brecht added the comment: Bump for review -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue21308] PEP 466: backport ssl changes

2014-08-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: Doesn't hg accept git diffs? On Wed, Aug 6, 2014, at 21:31, Alex Gaynor wrote: > > Alex Gaynor added the comment: > > I've been doing this work in a git repo, do you know how to generate an > hg-formated diff with git? > > -- > > _

[issue21308] PEP 466: backport ssl changes

2014-08-06 Thread Alex Gaynor
Alex Gaynor added the comment: I've been doing this work in a git repo, do you know how to generate an hg-formated diff with git? -- ___ Python tracker ___ _

[issue22147] PosixPath() constructor should not accept strings with embedded NUL bytes

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

[issue21308] PEP 466: backport ssl changes

2014-08-06 Thread Nick Coghlan
Nick Coghlan added the comment: To help keep the file list clear, I unlinked the older versions of the patch. They're still available in the issue history below. Alex, could you generate a version using the hg diff format (so the review gets generated automatically), or else add it manually to

[issue21308] PEP 466: backport ssl changes

2014-08-06 Thread Nick Coghlan
Changes by Nick Coghlan : Removed file: http://bugs.python.org/file36092/ssl-backport.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21308] PEP 466: backport ssl changes

2014-08-06 Thread Nick Coghlan
Changes by Nick Coghlan : Removed file: http://bugs.python.org/file36142/ssl-backport.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21308] PEP 466: backport ssl changes

2014-08-06 Thread Nick Coghlan
Changes by Nick Coghlan : Removed file: http://bugs.python.org/file36113/ssl-backport.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21308] PEP 466: backport ssl changes

2014-08-06 Thread Nick Coghlan
Changes by Nick Coghlan : Removed file: http://bugs.python.org/file36139/ssl-backport.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21308] PEP 466: backport ssl changes

2014-08-06 Thread Nick Coghlan
Changes by Nick Coghlan : Removed file: http://bugs.python.org/file36089/ssl-backport.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21308] PEP 466: backport ssl changes

2014-08-06 Thread Nick Coghlan
Changes by Nick Coghlan : Removed file: http://bugs.python.org/file36075/ssl-backport.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue22160] Windows installers need to be updated following OpenSSL security release

2014-08-06 Thread Zachary Ware
Zachary Ware added the comment: That is, the build process is updated; installers are not my department :) -- title: Windows installers need to be updated following OpenSSL security reelase -> Windows installers need to be updated following OpenSSL security release

[issue22160] Windows installers need to be updated following OpenSSL security reelase

2014-08-06 Thread Zachary Ware
Zachary Ware added the comment: Update should be complete for Windows. -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list

[issue22160] Windows installers need to be updated following OpenSSL security reelase

2014-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset cbcb10123451 by Zachary Ware in branch '2.7': Issue #22160: Update OpenSSL to 1.0.1i for the Windows build. http://hg.python.org/cpython/rev/cbcb10123451 New changeset 8219664dd2e4 by Zachary Ware in branch '3.4': Issue #22160: Update OpenSSL to 1.0

[issue22118] urljoin fails with messy relative URLs

2014-08-06 Thread Demian Brecht
Demian Brecht added the comment: Update based on review comments, added legacy support, fixed the tests up. -- Added file: http://bugs.python.org/file36296/issue22118_1.patch ___ Python tracker

[issue19217] Calling assertEquals for moderately long list takes too long

2014-08-06 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks Puneeth for the initial tests and Elena for expanding the fix and the tests to cover assertDictEqual too. I reworked a bit Elena's patch to make the checks in case.py more consistent and simplified the tests. With the attached patch, unittest_scse.py work

[issue22160] Windows installers need to be updated following OpenSSL security reelase

2014-08-06 Thread Ned Deily
Ned Deily added the comment: This wouldn't apply to 3.3 since we don't do binary installers for branches in security-fix mode (as discussed recently in Issue21671). Adding Larry as 3.4 release manager. -- nosy: +larry, ned.deily priority: normal -> high versions: -Python 3.3 ___

[issue14373] C implementation of functools.lru_cache

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 06/08/2014 21:19, Raymond Hettinger a écrit : > > I don't think so at all. The LRU cache we have now is plenty > efficient for its intended use cases (caching I/O bound functions and expensive functions). If is only unsuitable for functions that are already bl

[issue14373] C implementation of functools.lru_cache

2014-08-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I think we should increase the priority of this issue. I don't think so at all. The LRU cache we have now is plenty efficient for its intended use cases (caching I/O bound functions and expensive functions). If is only unsuitable for functions that are

[issue22092] Executing some tests inside Lib/unittest/test individually throws Error

2014-08-06 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: michael.foord -> ezio.melotti resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 2.7 ___ Python tracker

[issue22092] Executing some tests inside Lib/unittest/test individually throws Error

2014-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 668f6938fb1c by Ezio Melotti in branch '3.4': #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok. http://hg.python.org/cpython/rev/668f6938fb1c New changeset 09f56fdcacf1 by Ezio Melotti in branch 'default': #22092: merge with 3.

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

2014-08-06 Thread Ezio Melotti
Ezio Melotti added the comment: abstractTestClass/abstractBaseClass were up next in the list of names that I was considering, but they are not too explicit about the fact the the test case will get ignored/skipped (especially if one is not familiar iwth the concept and behavior of abstract cla

[issue15974] Optional compact and colored output for regrest

2014-08-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- dependencies: -move regrtest over to using more unittest infrastructure resolution: -> duplicate status: open -> closed ___ Python tracker ___ __

[issue22160] Windows installers need to be updated following OpenSSL security reelase

2014-08-06 Thread Alex Gaynor
New submission from Alex Gaynor: https://www.openssl.org/news/secadv_20140806.txt -- components: Interpreter Core, Library (Lib) keywords: security_issue messages: 224976 nosy: alex, benjamin.peterson, steve.dower priority: normal severity: normal status: open title: Windows installers n

[issue22116] Weak reference support for C function objects

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: I have committed your patch. Thank you very much for contributing! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue22116] Weak reference support for C function objects

2014-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 87f940e85cb0 by Antoine Pitrou in branch 'default': Issue #22116: C functions and methods (of the 'builtin_function_or_method' type) can now be weakref'ed. Patch by Wei Wu. http://hg.python.org/cpython/rev/87f940e85cb0 -- nosy: +python-dev

[issue22123] Provide a direct function for types.SimpleNamespace()

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed that a PEP would be necessary, even if it ends up sweet and simple. -- nosy: +pitrou ___ Python tracker ___ _

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

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: "abstract_test_class" anyone? (or "abstractTestClass" if that looks more consistent) (not that I would need it myself!) -- ___ Python tracker _

[issue22123] Provide a direct function for types.SimpleNamespace()

2014-08-06 Thread Nick Coghlan
Nick Coghlan added the comment: It's a new builtin, so I think at least a simple PEP is needed for traceability. The existence of types.SimpleNamespace should let us duck 99% of the bikeshedding - it's a new name for an existing type, not a new type. -- _

[issue22123] Provide a direct function for types.SimpleNamespace()

2014-08-06 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Aug 06, 2014, at 09:43 PM, Nick Coghlan wrote: >I'd be +1 on a PEP to also expose it as a "namespace" builtin. Is a PEP necessary? Seems like a rather isolated and simple enhancement. -- ___ Python tracker

[issue16399] argparse: append action with default list adds to list instead of overriding

2014-08-06 Thread paul j3
paul j3 added the comment: In my suggestion I used if 'current_value is default': without going into detail. The use of an 'is' test for integer values is tricky, as discussed in http://bugs.python.org/issue18943 int("42") is 42# True int("257") is 257 # False As with your

[issue22027] RFC 6531 (SMTPUTF8) support in smtplib

2014-08-06 Thread Milan Oberkirch
Changes by Milan Oberkirch : Removed file: http://bugs.python.org/file36159/smtpd_remove_deprecated_attrs_v2.patch ___ Python tracker ___ ___

[issue22158] RFC 6531 (SMTPUTF8) support in smtpd.PureProxy

2014-08-06 Thread Milan Oberkirch
Changes by Milan Oberkirch : -- keywords: +patch Added file: http://bugs.python.org/file36294/pp_smtputf8.patch ___ Python tracker ___ ___

[issue22123] Provide a direct function for types.SimpleNamespace()

2014-08-06 Thread Nick Coghlan
Nick Coghlan added the comment: types.SimpleNamespace was added as an implementation detail of the "sys.implementation" PEP. It's not a builtin yet, solely because we get far fewer arguments about the contents of the types module than we do builtins :) I'd be +1 on a PEP to also expose it as a

[issue22159] smtpd.PureProxy and smtpd.DebuggingServer do not work with decode_data=True

2014-08-06 Thread Milan Oberkirch
New submission from Milan Oberkirch: I fixed this for smtpd.DebuggingServer in the patch for issue 21725 but think it is an independent issue which is resolvable with a small patch. -- components: Library (Lib) files: decode_data_proxy_debugging_server.patch keywords: patch messages: 22

[issue22123] Provide a direct function for types.SimpleNamespace()

2014-08-06 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue22123] Provide a direct function for types.SimpleNamespace()

2014-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: +1 for the 'namespace' builtin. It looks as though whoever wrote `SimpleNamespace.__repr__` anticipated this: >>> ns = types.SimpleNamespace(a=3, b=4) >>> ns namespace(a=3, b=4) -- nosy: +mark.dickinson ___ Python

[issue19217] Calling assertEquals for moderately long list takes too long

2014-08-06 Thread Elena Oat
Elena Oat added the comment: Attached is the patch that tries to solve the issue for the strings, tuples, lists and dictionaries. Tuples, lists and dictionaries use the same value for the threshold. There's a helper method in the tests that is generic to all mentioned types. This issue was di

[issue16399] argparse: append action with default list adds to list instead of overriding

2014-08-06 Thread Yclept Nemo
Yclept Nemo added the comment: Well that won't work. Example: import argparse class TestAction(argparse.Action): def __call__(self, parser, namespace, values, option_string=None): print("default: {}({})\tdest: {}({})".format(self.default, type(self.default), getattr(namespace, self

[issue22158] RFC 6531 (SMTPUTF8) support in smtpd.PureProxy

2014-08-06 Thread Milan Oberkirch
New submission from Milan Oberkirch: This issue depends on issue 21725 for the communication with the client and issue 22027 for communicating with the remote server. I think I can come up with a patch for the default branch which is applicable but will not run without the two other issues beei

[issue21585] Run Tkinter tests with wantobjects=False

2014-08-06 Thread Lita Cho
Lita Cho added the comment: Hi Serhiy, This patch was made while I was learning tkinter. I figured out how to run the tests twice while changing wantobjects variable without creating new tests. Fortunately, all the tests seem to fast when wantobjects is 0 or 1. The only annoying thing is that

[issue10803] ctypes: better support of bytearray objects

2014-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Because it is simpler and more efficient. The buffer API requires the releasing of buffer. Correct tracking the ownership of the buffer requires larger and more complicated patch. Even if support for general buffers will be added, I suppose it will be worth

[issue22060] Clean up ctypes.test, use unittest test discovery

2014-08-06 Thread Zachary Ware
Zachary Ware added the comment: > Serhiy Storchaka added the comment: > It would be good also move tests into the Lib/test/test_ctypes subdirectory > and eliminate Lib/test/test_ctypes.py (may be in separate issue). I plan to do so as part of #10572, if approved (or if there's no vehemently neg

[issue22157] FAIL: test_with_pip (test.test_venv.EnsurePipTest)

2014-08-06 Thread Ned Deily
Ned Deily added the comment: When you built 3.4.1, did the _ctypes module build correctly? What happens when you try to import ctypes? python3.4 -c 'import ctypes' -- nosy: +ned.deily ___ Python tracker

[issue22150] deprecated-removed directive is broken in Sphinx 1.2.2

2014-08-06 Thread Ezio Melotti
Ezio Melotti added the comment: LGTM. -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18844] allow weights in random.choice

2014-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Non-generator weighted_choice() function is purposed to produce exactly one item. This is a use case for such optimization. -- ___ Python tracker ___

[issue22060] Clean up ctypes.test, use unittest test discovery

2014-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Changes look simple and straightforward. LGTM. It would be good also move tests into the Lib/test/test_ctypes subdirectory and eliminate Lib/test/test_ctypes.py (may be in separate issue). And may be move initialization and verbose printinting in setUpModule

[issue10803] ctypes: better support of bytearray objects

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Why not use the buffer API instead? -- assignee: theller -> nosy: +pitrou, skrah ___ Python tracker ___ ___

[issue18844] allow weights in random.choice

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: The setup cost of RW2 should always be within a small constant multiplier of RW's, so I'm not sure it's worth the hassle to complicate things. But it's your patch :) -- ___ Python tracker

[issue18844] allow weights in random.choice

2014-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: "Roulette Wheel 2" has twice slower initializations than "Roulette Wheel", but then generates every new item twice faster. It is possible to implement hybrid generator, which yields first item using "Roulette Wheel", and then rescales cumulative_dist and con

[issue21965] Add support for Memory BIO to _ssl

2014-08-06 Thread Glyph Lefkowitz
Glyph Lefkowitz added the comment: I don't have a whole lot to add. I strongly recommended that this be done this way twice, once when ssl was added to Python and once when ssl was added to tulip, so I'm glad to see it's happening now. Regarding the specific implementation I am unlikely to h

[issue20056] Got deprecation warning when running test_shutil.py on Windows NT 6

2014-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is this the only place in tests which emits deprecation warnings on Windows? -- assignee: -> serhiy.storchaka stage: -> patch review ___ Python tracker

[issue18615] sndhdr.whathdr could return a namedtuple

2014-08-06 Thread Claudiu Popa
Claudiu Popa added the comment: Thanks. -- Added file: http://bugs.python.org/file36290/issue18615_2.patch ___ Python tracker ___ ___

[issue18844] allow weights in random.choice

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't want to speak for Raymond, but the proposed API looks good, and it seems "Roulette Wheel 2" should be the implementation choice given its characteristics (simple, reasonably good and balanced performance). -- __

[issue18615] sndhdr.whathdr could return a namedtuple

2014-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The documentation says: """ When these functions are able to determine what type of sound data is stored in a file, they return a :func:`~collections.namedtuple`, containing five attributes: (``type``, ``sampling_rate``, ``channels``, ``frames``, ``bits_per_sa

[issue18844] allow weights in random.choice

2014-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Raymond, what is your opinion? -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Pyt

[issue21585] Run Tkinter tests with wantobjects=False

2014-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10803] ctypes: better support of bytearray objects

2014-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +needs review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue16314] Support xz compression in distutils

2014-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +needs review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue14061] Misc fixes and cleanups in archiving code in shutil and test_shutil

2014-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka type: -> behavior versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ _

[issue5411] Add xz support to shutil

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Serhiy! You need to fix the version number in the "versionchanged". -- ___ Python tracker ___ _

[issue5411] Add xz support to shutil

2014-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, my fault. Thank you Antoine! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue21039] pathlib strips trailing slash

2014-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka resolution: rejected -> type: -> behavior versions: +Python 3.5 ___ Python tracker ___

[issue5411] Add xz support to shutil

2014-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset a47996c10579 by Serhiy Storchaka in branch 'default': Issue #5411: Fixed version number. http://hg.python.org/cpython/rev/a47996c10579 -- ___ Python tracker ___

[issue5411] Add xz support to shutil

2014-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset e57db221b6c4 by Serhiy Storchaka in branch 'default': Issue #5411: Added support for the "xztar" format in the shutil module. http://hg.python.org/cpython/rev/e57db221b6c4 -- nosy: +python-dev ___ Python

[issue21039] pathlib strips trailing slash

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Isaac, thanks for the reference. I'm reopening the issue for discussion (although I'm still not convinced this would be actually a good thing). May I ask you to post on the python-dev mailing-list for further feedback? -- status: closed -> open ___

[issue5411] Add xz support to shutil

2014-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka dependencies: -Misc fixes and cleanups in archiving code in shutil and test_shutil ___ Python tracker ___ ___

[issue18004] test_list.test_overflow crashes Win64

2014-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka stage: needs patch -> commit review ___ Python tracker ___ ___ Python-

[issue14373] C implementation of functools.lru_cache

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think a lock is still needed for cache misses. The dict operations (set and del) can release the GIL (as well as course as the PyObject_Call()), therefore you might end up with duplicate list links for a given key. (and given cache misses are supposed to be

[issue18004] test_list.test_overflow crashes Win64

2014-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 217485e80a32 by Serhiy Storchaka in branch '2.7': Issue #18004: test_overflow in test_list by mistake consumed 40 GiB of memory http://hg.python.org/cpython/rev/217485e80a32 -- nosy: +python-dev ___ Pytho

[issue14373] C implementation of functools.lru_cache

2014-08-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: low -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue16465] dict creation performance regression

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch adds complication to the already complicated memory management of dicts. It increases maintenance burden in critical code. Have we found any case where it makes a tangible difference? (I'm not talking about timeit micro-benchmarks) -- nosy: +

[issue14373] C implementation of functools.lru_cache

2014-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Raymond, do you have time for the review? It will be easier to support both implementation at the same time, than change only Python implementation and asynchronously update the patch with the risk to lost changes in C implementation. I think we should incr

[issue16465] dict creation performance regression

2014-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Antoine, are you still oppose to this patch? -- assignee: -> serhiy.storchaka ___ Python tracker ___

[issue22035] Fatal error in dbm.gdbm

2014-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +needs review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue21975] Using pickled/unpickled sqlite3.Row results in segfault rather than exception

2014-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue21975] Using pickled/unpickled sqlite3.Row results in segfault rather than exception

2014-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset c46ad743bcb4 by Serhiy Storchaka in branch '2.7': Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular http://hg.python.org/cpython/rev/c46ad743bcb4 New changeset c1ca1c4c131b by Serhiy Storchaka in branch '3.4': Issue #2197

[issue20056] Got deprecation warning when running test_shutil.py on Windows NT 6

2014-08-06 Thread Vajrasky Kok
Vajrasky Kok added the comment: Okay, here is the patch based on Serhiy's suggestion. -- keywords: +patch Added file: http://bugs.python.org/file36289/silent_warning_shutil_rmtree.patch ___ Python tracker _

[issue22080] Add windows_helper module helper

2014-08-06 Thread Claudiu Popa
Claudiu Popa added the comment: The new patch fixes the issues found by Zachary. Thanks for the review! -- ___ Python tracker ___ ___

[issue22080] Add windows_helper module helper

2014-08-06 Thread Claudiu Popa
Changes by Claudiu Popa : Added file: http://bugs.python.org/file36288/issue22080.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue22148] frozen.c should #include instead of "importlib.h"

2014-08-06 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue2527] Pass a namespace to timeit

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Would still be nice to have something like this. The timeit module API is still crippled, especially now that "from __main__ import *" doesn't work in a function anymore. -- stage: patch review -> needs patch versions: +Python 3.5 -Python 3.3

[issue6422] timeit called from within Python should allow autoranging

2014-08-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: amaury.forgeotdarc -> versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bug

[issue21965] Add support for Memory BIO to _ssl

2014-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Perhaps Glyph wants to chime in :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue22157] FAIL: test_with_pip (test.test_venv.EnsurePipTest)

2014-08-06 Thread snehal
snehal added the comment: I have libffi installed on system root@beta1:/home/ubuntu/python/Python-3.4.1# dpkg -l | grep libffi ii libffi-dev:ppc64el 3.1~rc1+r3.0.13-12 ppc64el Foreign Function Interface library (development

[issue22157] FAIL: test_with_pip (test.test_venv.EnsurePipTest)

2014-08-06 Thread snehal
New submission from snehal: On ppc64le architecture I see following error with TAR : https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tar.xz == FAIL: test_with_pip (test.test_venv.EnsurePipTest) --

[issue22138] patch.object doesn't restore function defaults

2014-08-06 Thread Michael Foord
Michael Foord added the comment: And yes, there's deliberate proxy object support in mock.patch (django settings being one specific use-case). -- ___ Python tracker ___

[issue18841] math.isfinite fails with Decimal sNAN

2014-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: Mark: it's not really ready for a patch, since there's no agreement yet on how best to solve this. In fact, I'm tempted to close as "wont fix": the argument is that the math module consists for the most part only of thin wrappers around the platform math libr

[issue22156] Fix compiler warnings

2014-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +Extension Modules, Interpreter Core nosy: +serhiy.storchaka stage: -> patch review type: -> compile error ___ Python tracker ___ _

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

2014-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> needs patch versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22150] deprecated-removed directive is broken in Sphinx 1.2.2

2014-08-06 Thread Berker Peksag
Berker Peksag added the comment: Sorry, I forgot to explain that part of the patch. See broken-deprecated-removed.png. The "Deprecated since version 3.5, will be removed in 3.6" paragraph should be in the first line, not in the second line (like the deprecated directive). --

[issue21965] Add support for Memory BIO to _ssl

2014-08-06 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue21965] Add support for Memory BIO to _ssl

2014-08-06 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Please do *not* add me to the nosy list of any issues. -- ___ Python tracker ___ ___ Python-bug

[issue22156] Fix compiler warnings

2014-08-06 Thread STINNER Victor
New submission from STINNER Victor: The issue #22110 enabled more compiler warnings. Attached patch tries to fix most of them on Linux. -- files: fix_warnings.patch keywords: patch messages: 224924 nosy: haypo, neologix priority: normal severity: normal status: open title: Fix compiler

[issue22120] Return converter code generated by Argument Clinic has a warning for unsigned types

2014-08-06 Thread STINNER Victor
STINNER Victor added the comment: Since my argument clinic patch hijacked this issue, I created a new one for fix_warnings.patch: issue #22156. -- ___ Python tracker ___ ___

[issue3638] Remove module level functions in _tkinter that depend on TkappObject

2014-08-06 Thread Martin Panter
Martin Panter added the comment: See Issue 22155 for fixing the createfilehandler FAQ documentation -- nosy: +vadmium ___ Python tracker ___ __

  1   2   >