[issue22961] ctypes.WinError OSError

2014-11-28 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22961 ___

[issue22947] Enable 'imageop' - Multimedia Srvices Feature module for 64-bit platform

2014-11-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22947 ___ ___

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Bernard Spil
Bernard Spil added the comment: When configure is called with correct LDFLAGS and CPPFLAGS for LibreSSL these patches to configure, Modules/_ssl.c and Lib/_ssl.py will detect not having RAND_egd support in OpenSSL and make the build succeed. -- Added file:

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Bernard Spil
Changes by Bernard Spil pyt...@bachfreund.nl: Added file: http://bugs.python.org/file37300/patch-Lib_ssl.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21356 ___

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Bernard Spil
Changes by Bernard Spil pyt...@bachfreund.nl: Added file: http://bugs.python.org/file37301/patch-Modules__ssl.c ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21356 ___

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Bernard Spil
Changes by Bernard Spil pyt...@bachfreund.nl: Removed file: http://bugs.python.org/file37242/patch-Modules__ssl.c ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21356 ___

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: patch-configure.ac: -AC_DEFINE(__BSD_VISIBLE, 1, [Define on FreeBSD to activate all library features]) Why do you remove this define? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21356

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: I thikn RAND_egd() should probably raise NotImplementedError if the function isn't exposed by the ssl library. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21356

[issue22962] ipaddress: Add optional prefixlen argument to ip_interface and ip_network

2014-11-28 Thread Gary van der Merwe
New submission from Gary van der Merwe: Currently if one has an ip address in int or IPv4Address/IPv6Address form, it is not possilbe to create a ip_interface or ip_network from that with specific prefix length, without first converting the address into string form, and then appending the

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Bernard Spil
Bernard Spil added the comment: Victor: That is a change that has been implemented in the downstream port to fix wxPython, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192365 this ended up in this patch as my primary objective was to fix it for the FreeBSD port. Antoine: Sorry, I'm

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: Victor: That is a change that has been implemented in the downstream port to fix wxPython, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192365 this ended up in this patch as my primary objective was to fix it for the FreeBSD port. It looks

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Bernard Spil
Bernard Spil added the comment: Remove https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192365 patch from this patch-set -- Added file: http://bugs.python.org/file37302/patch-configure.ac ___ Python tracker rep...@bugs.python.org

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Bernard Spil
Changes by Bernard Spil pyt...@bachfreund.nl: Removed file: http://bugs.python.org/file37299/patch-configure.ac ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21356 ___

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: I thikn RAND_egd() should probably raise NotImplementedError if the function isn't exposed by the ssl library. I would prefer to follow the model of the os module: don't declare a function if it is not supported by the OS. --

[issue22961] ctypes.WinError OSError

2014-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: No, OSError.errno is converted from the Windows error code. There is a translation map (see PC/errmap.h, built with the _dosmaperr() function) and the default value is EINVAL. It's working as intended. What was the winerror code? do you think it should

[issue22961] ctypes.WinError OSError

2014-11-28 Thread Simon Zack
Simon Zack added the comment: Ok, my bad, I was creating my own OSErrors so I was just testing it out. I just found the default to be rather confusing as I thought None would not be mapped to anything. -- ___ Python tracker rep...@bugs.python.org

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would prefer to follow the model of the os module: don't declare a function if it is not supported by the OS. I don't have any strong feelings, so let's do it like that. RAND_egd() isn't useful anyway. -- ___

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6f23bc5d480e by Victor Stinner in branch 'default': Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The https://hg.python.org/cpython/rev/6f23bc5d480e -- nosy: +python-dev ___ Python

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: Ok, here is a first commit to try to support LibreSSL in Python 3.5. Can someone please test to compile Python 3.5 with LibreSSL and run the test suite (at least test_ssl) to check that everything is fine? If you confirm that the change is correct, I will

[issue22922] asyncio: call_soon() should raise an exception if the event loop is closed

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: call_soon_after_close.diff looks good but also incomplete: call_later, call_at and run_in_executor should also raise an exception if the event loop is closed. You should also add call_soon_threadsafe to the test. So for consistency this patch should grow

[issue22926] asyncio: raise an exception when called from the wrong thread

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: Here is a patch without unit: - modify get_event_loop() to always raise a RuntimeError if the thread has no event loop. Before an AssertionError was not raised if python runs with -O option - modify BaseEventLoop._assert_is_current_event_loop() to fail if the

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Bernard Spil
Bernard Spil added the comment: FAILED (failures=2, errors=2, skipped=5) That is OK, as these 2 tests should fail with LibreSSL since SSLv2 and SSLv3 support has been removed from LibreSSL. ERROR: test_protocol_sslv23 (__main__.ThreadedTests) ERROR: test_protocol_sslv3 (__main__.ThreadedTests)

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: That is OK, as these 2 tests should fail with LibreSSL since SSLv2 and SSLv3 support has been removed from LibreSSL. See the issue #22935. I prefer to wait until this issue is fixed in Python 3.5, and that test_ssl pass on your PC, before backporting this

[issue22935] Disabling SSLv3 support

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: FYI LibreSSL also disabled SSLv2 and SSLv3. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22935 ___

[issue22935] Disabling SSLv3 support

2014-11-28 Thread Matthias Klose
Matthias Klose added the comment: maybe it's time to generalise this one, still found on all branches: # Issue #9415: Ubuntu hijacks their OpenSSL and forcefully disables SSLv2 def skip_if_broken_ubuntu_ssl(func): -- nosy: +doko ___ Python tracker

[issue22914] Rewrite of Python 2/3 porting HOWTO

2014-11-28 Thread Brett Cannon
Brett Cannon added the comment: I addressed Serhiy's comments and added in some bits that I initially took off (-bb, -3, str.__mod__, io.open). Also clarified a couple of things. -- Added file: http://bugs.python.org/file37305/pyporting.diff ___

[issue22896] Don't use PyObject_As*Buffer() functions

2014-11-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22896 ___ ___

[issue22906] PEP 479: Change StopIteration handling inside generators

2014-11-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ ___

[issue22348] Documentation of asyncio.StreamWriter.drain()

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: Sorry for the delay, I pushed asyncio-streams-drain-doc-water-limits.patch, thanks for your contribution Martin. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22348

[issue22348] Documentation of asyncio.StreamWriter.drain()

2014-11-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8224253ef4b7 by Victor Stinner in branch '3.4': Closes #22348: Rephrase asyncio.StreamWriter.drain() documentation https://hg.python.org/cpython/rev/8224253ef4b7 New changeset 1cad9e4bba40 by Victor Stinner in branch 'default': (Merge 3.4) Closes

[issue21998] asyncio: a new self-pipe should be created in the child process after fork

2014-11-28 Thread Martin Richard
Martin Richard added the comment: Hi, Actually, closing and creating a new loop in the child doesn't work either, at least on Linux. When, in the child, we call loop.close(), it performs: self.remove_reader(self._ssock) (in selector_events.py, _close_self_pipe() around line 85) Both the

[issue22394] Update documentation building to use venv and pip

2014-11-28 Thread Brett Cannon
Brett Cannon added the comment: Attached is a patch against Doc/Makefile to add a venv command to create a venv that can be used to build the documentation. Georg, can you give me an LGTM so I can commit this? -- assignee: brett.cannon - georg.brandl keywords: +patch nosy:

[issue22685] memory leak: no transport for pipes by create_subprocess_exec/shell

2014-11-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 737355f61ba2 by Victor Stinner in branch '3.4': Issue #22685: Debug test_pause_reading() on FreeBSD https://hg.python.org/cpython/rev/737355f61ba2 -- ___ Python tracker rep...@bugs.python.org

[issue22394] Update documentation building to use venv and pip

2014-11-28 Thread Georg Brandl
Georg Brandl added the comment: Sure. (The PyPI name is uppercased, but I guess it doesn't matter.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22394 ___

[issue22936] traceback module has no way to show locals

2014-11-28 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22936 ___ ___ Python-bugs-list

[issue22951] unexpected return from float.__repr__() for inf, -inf, nan

2014-11-28 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22951 ___ ___ Python-bugs-list

[issue22931] cookies with square brackets in value

2014-11-28 Thread Demian Brecht
Changes by Demian Brecht demianbre...@gmail.com: -- nosy: +demian.brecht ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22931 ___ ___

[issue22961] ctypes.WinError OSError

2014-11-28 Thread eryksun
eryksun added the comment: the default value is EINVAL. Should that be specified in the docs? Currently it states that [t]he errno attribute is then an approximate translation, in POSIX terms, of that native error code. https://docs.python.org/3/library/exceptions.html#OSError --

[issue19105] pprint doesn't use all width

2014-11-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Antoine for your review. But first variant of the patch doesn't affect an example at the top of this issue, it doesn't change string formatting. The second variant makes string formatting use all free space at the right. With the patch: import

[issue22963] type in PEP 102

2014-11-28 Thread Harsh Gupta
New submission from Harsh Gupta: In PEP 102 [1], the link to PEP 101 is broken. [1]: https://www.python.org/dev/peps/pep-0102/ -- components: Devguide messages: 231825 nosy: ezio.melotti, hargup priority: normal severity: normal status: open title: type in PEP 102 type: behavior

[issue22906] PEP 479: Change StopIteration handling inside generators

2014-11-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: FYI: I applied these two changes right after Guido pronounced on PEP 479: https://mail.python.org/pipermail/python-checkins/2014-November/133252.html https://mail.python.org/pipermail/python-checkins/2014-November/133253.html Also, I'm submitting a patch

[issue22963] broken link in PEP 102

2014-11-28 Thread Harsh Gupta
Changes by Harsh Gupta gupta.hars...@gmail.com: -- title: type in PEP 102 - broken link in PEP 102 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22963 ___

[issue22963] broken link in PEP 102

2014-11-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. This has already been reported at https://github.com/python/pythondotorg/issues/510. -- nosy: +berker.peksag resolution: - third party stage: - resolved status: open - closed ___ Python

[issue22906] PEP 479: Change StopIteration handling inside generators

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: FYI: I applied these two changes right after Guido pronounced on PEP 479: Extract of emails: changeset: 93542:9eb0d0eb0992 parent: 93540:23f8a511050a user:Raymond Hettinger python at rcn.com date:Sat Nov 22 21:56:23 2014 -0800 PEP

[issue22962] ipaddress: Add optional prefixlen argument to ip_interface and ip_network

2014-11-28 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +ncoghlan, pmoody versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22962 ___

[issue22676] _pickle's whichmodule() is slow

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: On Windows with Visual Studio, I got a compiler warning. In whichmodule(), get_dotted_path() is called with module whereas module is not initialiazed: dotted_path = get_dotted_path(module, global_name, allow_qualname); --

[issue22389] Add contextlib.redirect_stderr()

2014-11-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7f12c9c09fb6 by Berker Peksag in branch 'default': Issue #22389: Add contextlib.redirect_stderr(). https://hg.python.org/cpython/rev/7f12c9c09fb6 -- nosy: +python-dev ___ Python tracker

[issue22389] Add contextlib.redirect_stderr()

2014-11-28 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- assignee: rhettinger - berker.peksag resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22389

[issue22955] Pickling of methodcaller, attrgetter, and itemgetter

2014-11-28 Thread Zachary Ware
Zachary Ware added the comment: Note that pickling of the pure Python version of methodcaller works as expected: Python 3.4.2 (default, Nov 20 2014, 12:40:10) [GCC 4.8.3] on linux Type help, copyright, credits or license for more information. import sys sys.modules['_operator'] = None

[issue22685] memory leak: no transport for pipes by create_subprocess_exec/shell

2014-11-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0dd91298eb17 by Victor Stinner in branch 'default': Issue #22685, asyncio: mock also resume_reading in test_pause_reading() https://hg.python.org/cpython/rev/0dd91298eb17 -- ___ Python tracker

[issue22685] memory leak: no transport for pipes by create_subprocess_exec/shell

2014-11-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 276515d2ceed by Victor Stinner in branch 'default': Issue #22685, asyncio: resume_reading() must also be called in test_pause_reading() https://hg.python.org/cpython/rev/276515d2ceed -- ___ Python

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

2014-11-28 Thread Demian Brecht
Changes by Demian Brecht demianbre...@gmail.com: Added file: http://bugs.python.org/file37309/issue22095_1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22095 ___

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

2014-11-28 Thread Demian Brecht
Demian Brecht added the comment: Thanks Serhiy, new patch addresses your comments. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22095 ___ ___

[issue22964] dbm.open(..., x)

2014-11-28 Thread Antony Lee
New submission from Antony Lee: It would be nice if dbm.open() supported the x flag that open() now supports (create a new db, failing if it already exists). -- components: Library (Lib) messages: 231835 nosy: Antony.Lee priority: normal severity: normal status: open title:

[issue22676] _pickle's whichmodule() is slow

2014-11-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- Added file: http://bugs.python.org/file37310/whichmodule_error.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22676 ___

[issue22964] dbm.open(..., x)

2014-11-28 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag stage: - needs patch type: - enhancement versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22964

[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: Here is a patch using getentropy() if available. I tested it on OpenBSD 5.6 (the only OS implementing this function...). The patch prepares also random.c to support Linux getrandom(): issue #22181. -- keywords: +patch Added file:

[issue16113] SHA-3 (Keccak) support may need to be removed before 3.4

2014-11-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 21257f916668 by Ned Deily in branch '3.4': Issue #16113: Also remove test_case_sha3_224_huge https://hg.python.org/cpython/rev/21257f916668 New changeset bd97eab25c70 by Ned Deily in branch 'default': Issue #16113: Also remove

[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

2014-11-28 Thread Bernard Spil
Bernard Spil added the comment: Merged the patch from haypo back into the FreeBSD port for 2.7 at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192511 In the process I discovered during test_ssl that I had to patch Lib/socket.py as well to make RAND_egd conditional --

[issue22429] asyncio: pending call to loop.stop() if a coroutine raises a BaseException

2014-11-28 Thread STINNER Victor
STINNER Victor added the comment: Here is a simple patch which fixes this specific issue. -- keywords: +patch Added file: http://bugs.python.org/file37312/run_until_complete_baseexception.patch ___ Python tracker rep...@bugs.python.org

[issue22955] Pickling of methodcaller, attrgetter, and itemgetter

2014-11-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 for adding pickling support to Python 3.5. I don't see much of a need for any revision to 3.4. -- nosy: +rhettinger versions: -Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue22912] urlretreive locks up in 2.7.8

2014-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I altered the code to print the return value and ran from Idle 2.7.8 on Win7. It takes about a minute and prints ('chromedriver_win32.zip', httplib.HTTPMessage instance at 0x02E3FE08). When I tried to end the pause with ^C, it was ignored and several

[issue22918] Doc for __iter__ makes inexact comment about dict.__iter__

2014-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since .iterkeys is gone, I thing the ', and' part should just be dropped. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22918 ___

[issue22922] asyncio: call_soon() should raise an exception if the event loop is closed

2014-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Adding minimal code checks to make multiple tests pass sounds good to me. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22922 ___

[issue21998] asyncio: a new self-pipe should be created in the child process after fork

2014-11-28 Thread Guido van Rossum
Guido van Rossum added the comment: Martin, what is the magic call to make in the child (or in the parent pre-fork???) to disable the epoll object in the child without disabling it in the parent? (Perhaps just closing the selector and letting the unregister calls fail would work?)

[issue22951] unexpected return from float.__repr__() for inf, -inf, nan

2014-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Enhancements are only possible in 3.5 or beyond. I agree with Mark. There is no compelling reason to break code with this change. Hence it should be rejected. Float is an odd duck. All ints and all non-recursive lists, for instance, have a literal

[issue22931] cookies with square brackets in value

2014-11-28 Thread Demian Brecht
Demian Brecht added the comment: There could be some history behind this that I'm unaware of that I'm not familiar with. From what I can tell, this issue is simply due to the [ character not being in _LegalCharsPatt (http/cookies.py). _LegalCharsPatt actually seems quite a bit more

[issue22955] Pickling of methodcaller, attrgetter, and itemgetter

2014-11-28 Thread Josh Rosenberg
Josh Rosenberg added the comment: I've made a patch that I believe should cover all three cases, including tests. In addition to the pickling behavior, I've made two other changes: 1. methodcaller verifies during construction that the name is a string (PyUnicode), and interns it; attrgetter

[issue22955] Pickling of methodcaller, attrgetter, and itemgetter

2014-11-28 Thread Josh Rosenberg
Changes by Josh Rosenberg shadowranger+pyt...@gmail.com: -- versions: -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22955 ___ ___

[issue22955] Pickling of methodcaller, attrgetter, and itemgetter

2014-11-28 Thread Josh Rosenberg
Josh Rosenberg added the comment: Don't bother reviewing just yet. There is an issue with attrgetter's pickling (which the unit tests caught), and I need to update the pure Python modules to match. -- ___ Python tracker rep...@bugs.python.org

[issue22955] Pickling of methodcaller, attrgetter, and itemgetter

2014-11-28 Thread Josh Rosenberg
Josh Rosenberg added the comment: Okay, this one passes the tests for the built-in module. I'm not sure what's going wrong with the pure Python module. I'm getting the error: _pickle.PicklingError: Can't pickle class 'operator.attrgetter': it's not the same object as operator.attrgetter

[issue22955] Pickling of methodcaller, attrgetter, and itemgetter

2014-11-28 Thread Josh Rosenberg
Changes by Josh Rosenberg shadowranger+pyt...@gmail.com: Removed file: http://bugs.python.org/file37313/pickle_getter_and_caller.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22955 ___

[issue22955] Pickling of methodcaller, attrgetter, and itemgetter

2014-11-28 Thread Josh Rosenberg
Josh Rosenberg added the comment: Ah, solved it (I think). The bootstrapper used to import the Python and C versions of the module leaves sys.modules unpopulated (Does pickle itself may populate it when it finds no module of that name?). I added a setUp method to the unittest class for