[issue19005] PyIter_Next crashes if passed a non-iterator
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19005 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14894] distutils.LooseVersion fails to compare number and a word
Sam Lai added the comment: I have a more realistic example of this bug. In the docstring for distutils.LooseVersion, it says '1.5.1' and '3.2.p10' are both valid version numbers. If instead of '3.2.p10', we use '1.5.p10', the following occurs - v1 = LooseVersion('1.5.1') v2 = LooseVersion('1.5.p10') v1v2 Traceback (most recent call last): File stdin, line 1, in module File C:\Python33\Lib\distutils\version.py, line 70, in __gt__ c = self._cmp(other) File C:\Python33\Lib\distutils\version.py, line 343, in _cmp if self.version other.version: TypeError: unorderable types: int() str() v1.version [1, 5, 1] v2.version [1, 5, 'p', 10] The reason it occurs is pretty clear when the .version list is printed. (That's also explains why I had to use 1.5.p10 instead because otherwise the comparison would not proceed past the first element of both lists.) In my real-life example, I'm trying to compare '1.1.0-3' and '1.1.0-beta-10'. v3=LooseVersion(ll[0]) v4=LooseVersion(ll[1]) v3v4 Traceback (most recent call last): File stdin, line 1, in module File C:\Python33\Lib\distutils\version.py, line 70, in __gt__ c = self._cmp(other) File C:\Python33\Lib\distutils\version.py, line 343, in _cmp if self.version other.version: TypeError: unorderable types: int() str() v3.version [1, 1, 0, '-', 3] v4.version [1, 1, 0, '-', 'beta', '-', 10] -- nosy: +samuel.lai ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14894 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18981] Typo in the ctypes tests
Changes by Anoop Thomas Mathew atm...@gmail.com: -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18981 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18986] Add a case-insensitive case-preserving dict
Antoine Pitrou added the comment: Serhiy, any benchmarks for your implementation? Does it slow down regular dicts? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18986 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18683] Core dumps on CentOS
Marc Schlaich added the comment: Yes, I could reproduce segfaults on Python 2.7 (looks like it is even worse than on 2.6 where it appeared only randomly). I was not quite accurate in my initial comment. I don't use any custom C extensions but I'm using pygtk/gobject so it might be a bug there. However, my library contains a coroutine scheduler similar to tulip so it is very likely that this is related to #14432. I'll try that patch and keep you posted. -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18683 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18999] Robustness issues in multiprocessing.{get, set}_start_method
Changes by Lars Buitinck larsm...@gmail.com: -- nosy: +jnoller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18999 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18999] Robustness issues in multiprocessing.{get, set}_start_method
Lars Buitinck added the comment: I don't really see the benefit of a context manager over an argument. It's a power user feature anyway, and context managers (at least to me) signal cleanup actions, rather than construction options. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18999 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18683] Core dumps on CentOS
STINNER Victor added the comment: I'll try that patch and keep you posted. Cool, thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18683 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14432] Bug in generator if the generator in created in a C thread
STINNER Victor added the comment: ping? (for myself :-)) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14432 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18683] Core dumps on CentOS
Marc Schlaich added the comment: The generator.patch from #14432 didn't help. The other couldn't be applied to 2.7. I have a core dump, should I upload it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18683 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18683] Core dumps on CentOS
STINNER Victor added the comment: I have a core dump, should I upload it? The coredump is not useful if we cannot analyze it. Please open it in gdb, type thread all apply where and copy/paste in a file and attach the file. You may use set pagination off for easier copy/paste. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18683 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18999] Robustness issues in multiprocessing.{get, set}_start_method
Richard Oudkerk added the comment: By context I did not really mean a context manager. I just meant an object (possibly a singleton or module) which implements the same interface as multiprocessing. (However, it may be a good idea to also make it a context manager whose __enter__() method starts the helper processes, and whose __exit__() method shuts them down.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18999 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18999] Robustness issues in multiprocessing.{get, set}_start_method
Olivier Grisel added the comment: The process pool executor [1] from the concurrent futures API would be suitable to explicitly start and stop the helper process for the `forkserver` mode. [1] http://docs.python.org/3.4/library/concurrent.futures.html#concurrent.futures.ProcessPoolExecutor The point would be to have as few state as possible encoded in the multiprocessing module (and its singletons) and move that state information to be directly managed by multiprocessing Process and Pool class instances so that libraries could customize the behavior (start_method, executable, ForkingPIckler reducers registry and so on) without mutating the state of the multiprocessing module singletons. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18999 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18986] Add a case-insensitive case-preserving dict
Ethan Furman added the comment: On 09/11/2013 02:39 PM, Tim Delaney wrote on PyDev: I would think that retrieving the keys from the dict would return the transformed keys (I'd call them canonical keys). The more I think about this the more I agree. A canonicaldict with a key function that simply stored the transformed key and it's value would seem to be a lot simpler: - no need to store a separate presentation key - no confusion about which of the first key/last key seen is stored - no mistakes with the first key not being added before real data and getting the presentation key wrong Further, in order to store the non-canonical keys a separate list must be kept of the keys to preseed the canonicaldict; if we store the canonical keys a separate list must be kept for presentation purposes -- so worst case scenario we're keeping the same amount of information and best-case scenario the presentation of the keys doesn't matter and we just saved ourselves an extra data structure. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18986 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18986] Add a case-insensitive case-preserving dict
Ethan Furman added the comment: True, but how big a deal is that? For one, it seems questionable to have the presentation portion of the data be part of the key. For two, when presentation is important a separate list must be kept anyway to preseed the dict; so just use that list to cycle through the canonicaldict: -- some_dict = some_function_that_returns_a_conanicaldict() -- presentation_list = ['IBM','Intel','AMD'] -- for company in presentation_list: ... key = some_dict.key[company] # demo purposes only ... value = some_dict[company] ... print(key, company, value) ibm IBM 2172 intel Intel 3210 amd AMD 4399 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18986 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18987] distutils.utils.get_platform() for 32-bit Python on a 64-bit machine
Antoine Pitrou added the comment: Hello, To discover a 32-bit interpreter running on a 64-bit system, we could use platform.architecture(), which returns platform.architecture() ('32bit', 'ELF') Just use (sys.maxsize 2**32). What then, though? How do you turn '32bit' to 'linux-i386'? I don't know. How does distutils normally do? :-) -- title: distutils.utils.get_platform() for 32-bit Python on a 64-bit machine - distutils.utils.get_platform() for 32-bit Python on a64-bit machine ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18987 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails
Lukas Wunner added the comment: *ping* Anybody, please consider applying the patch I've submitted August 8th so that this issue gets fixed in Python 2.7's urllib.py. Thanks so much. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1424152 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18999] Robustness issues in multiprocessing.{get, set}_start_method
Olivier Grisel added the comment: Richard Oudkerk: thanks for the clarification, that makes sense. I don't have the time either in the coming month, maybe later. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18999 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18986] Add a case-insensitive case-preserving dict
R. David Murray added the comment: It would be simpler, but it would also be useless for the actual use case for which this issue was opened. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18986 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18986] Add a case-insensitive case-preserving dict
Antoine Pitrou added the comment: R. David Murray added the comment: You are conceptualizing this very differently. In our view, this data structure is for cases where the original key is the most important piece of information (about the keys). The transformation in the lookup process is entirely in the service of looking up the value paired with that original key when there is more than one possible representation of that key. It is the original key that is critical when re-serializing the data or otherwise making use of the keys for anything other than lookup. So this is about making the data structure succinctly model the problem domain, which is what OO is supposed to be good at :) Thanks for putting it much more convincingly than my python-dev response :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18986 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18990] Remove unnecessary API inconsistency from ElementTree.XMLPullParser.close()
Stefan Behnel added the comment: ping - I would like to see this fixed for alpha3, which is due in two weeks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18990 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17797] Visual C++ 11.0 reports fileno(stdin) == 0 for non-console program
Amaury Forgeot d'Arc added the comment: 2. _PyVerify_fd(fd) is always true. Given the current definition: #define _PyVerify_fd(fd) (_get_osfhandle(fd) = 0) for those values of fd _get_osfhandle(fd) = 0, always. Hum, are you sure this is the selected implementation? - this code is only in 2.7 http://hg.python.org/cpython/file/v2.7/Include/fileobject.h#l73 - it's protected by #if statements. In your case the first case should be selected, can you verify if it's the case, and if not, why? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17797 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18986] Add a case-insensitive case-preserving dict
Antoine Pitrou added the comment: Ethan, please don't post the same message *both* on the tracker and on the mailing-list. I'm sure most people here also read the ML thread. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18986 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19007] precise time.time() under Windows 8
STINNER Victor added the comment: time.time() is sometimes used in performance critical code. Is GetSystemTimePreciseAsFileTime() as fast as GetSystemTimeAsFileTime()? Linux has the opposite: CLOCK_REALTIME_COARSE. This clock is less accurate but may be faster. http://lwn.net/Articles/342018/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19007 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19007] precise time.time() under Windows 8
Antoine Pitrou added the comment: GetSystemTimePreciseAsFileTime() has very little overhead; the new function is even a little faster than GetSystemTimeAsFileTime(), a call takes a few ten nanoseconds. from http://www.windowstimestamp.com/description#C_2 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19007 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18844] allow weights in random.choice
Serhiy Storchaka added the comment: Thank you Neil. It is interesting. Vose's alias method has followed disadvantages (in comparison with the roulette wheel selection proposed above): 1. It operates with probabilities and uses floats, therefore it can be a little less accurate. 2. It consumes two random number (an integer and a float) for generating one sample. It can be fixed however (in the cost of additional precision lost). 3. While it has same time and memory O(n) cost for initialization, it has larger multiplication, Vose's alias method requires several times larger time and memory for initialization. 4. It requires more memory in process of generating samples. However it has an advantage. It really has constant time cost to generate each sample. Here are some benchmark results. Roulette Wheel is proposed above implementation. Roulette Wheel 2 is its modification with normalized cumulative sums. It has twice more initialization time, but 1.5-2x faster generates each sample. Vose's Alias is an implementation of Vose's alias method directly translated from Java. Vose's Alias 2 is optimized implementation which uses Python specific. Second column is a size of distribution, third column is initialization time (in milliseconds), fourth column is time to generate each sample (in microseconds), fifth column is a number of generated samples after which this method will overtake Roulette Wheel (including initialization time). Roulette Wheel 10 0.059 7.165 0 Roulette Wheel 210 0.076 4.105 5 Vose's Alias10 0.12913.206 - Vose's Alias 2 10 0.105 6.50169 Roulette Wheel 100 0.128 8.651 0 Roulette Wheel 2 100 0.198 4.63017 Vose's Alias 100 0.69112.839 - Vose's Alias 2 100 0.441 6.547 148 Roulette Wheel1000 0.71910.949 0 Roulette Wheel 2 1000 1.458 5.177 128 Vose's Alias 1000 6.61413.052 - Vose's Alias 21000 3.704 6.531 675 Roulette Wheel 1 7.49513.249 0 Roulette Wheel 2 114.961 6.051 1037 Vose's Alias 169.93713.830 - Vose's Alias 2 137.017 6.746 4539 Roulette Wheel 1073.98816.180 0 Roulette Wheel 210 148.176 8.182 9275 Vose's Alias10 690.09913.808259716 Vose's Alias 2 10 391.367 7.095 34932 Roulette Wheel 100 743.41519.493 0 Roulette Wheel 2 100 1505.409 8.930 72138 Vose's Alias 100 7017.66913.798 1101673 Vose's Alias 2 100 4044.746 7.152267507 As you can see Vose's alias method has very large initialization time. Non-optimized version will never overtake Roulette Wheel with small distributions (10), and even optimized version will never overtake Roulette Wheel with small distributions (10). Only with very large distributions Vose's alias method has an advantage (when you needs very larger number of samples). Because for generating only one sample we need a method with fastest initialization we need Roulette Wheel implementation. And because large distributions are rare, I think there is no need in alternative implementation. In worst case for generating 100 samples from 100-elements distribution the difference between Roulette Wheel and Vose's Alias 2 is a difference between 20 and 11 seconds. -- Added file: http://bugs.python.org/file31734/wcg_bench.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18844 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18993] There is an overshadowed and invalid test in testmock.py
Michael Foord added the comment: Although I'm not certain the first test is invalid. It's testing a different case than the second test. So if the first test passes it should be renamed rather than removed. If it *fails* then I'd like to look at the behaviour and specify (test) that. -- assignee: - michael.foord versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18993 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18993] There is an overshadowed and invalid test in testmock.py
Michael Foord added the comment: Good catch - thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18993 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15873] datetime: add ability to parse RFC 3339 dates and times
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15873 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8713] multiprocessing needs option to eschew fork() under Linux
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net: -- nosy: +piotr.dobrogost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8713 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13107] Text width in optparse.py can become negative
Serhiy Storchaka added the comment: Here is less ugly patch (for argparse and optparse). Instead of prohibiting wrapping at all for small width, it limits minimal width of formatted text. It try first decrease the indent for help. -- stage: test needed - patch review Added file: http://bugs.python.org/file31735/argparse_less_ugly.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13107 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18999] Robustness issues in multiprocessing.{get, set}_start_method
Richard Oudkerk added the comment: There are lots of things that behave differently depending on the currently set start method: Lock(), Semaphore(), Queue(), Value(), ... It is not just when creating a Process or Pool that you need to know the start method. Passing a context or start_method argument to all of these constructors would be very awkward, which is why I think it is better to treat the context as an object with methods Process(), Pool(), Lock(), Semaphore(), etc. Unfortunately, I do not have time to work on this just now... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18999 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18993] There is an overshadowed and invalid test in testmock.py
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +ezio.melotti, michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18993 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19007] precise time.time() under Windows 8
New submission from Antoine Pitrou: For whoever is interested: Windows 8 apparently has a new API named GetSystemTimePreciseAsFileTime which returns the system API with a much better resolution than GetSystemTimeAsFileTime does (The GetSystemTimePreciseAsFileTime function retrieves the current system date and time with the highest possible level of precision (1us)). http://msdn.microsoft.com/en-us/library/windows/desktop/hh706895%28v=vs.85%29.aspx (spawned from this topic on the tulip mailing-list: https://groups.google.com/forum/#!topic/python-tulip/vX9vOZB1FOI ) -- components: Library (Lib), Windows messages: 197538 nosy: belopolsky, haypo, lemburg, pitrou, tim.peters priority: low severity: normal status: open title: precise time.time() under Windows 8 type: enhancement versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19007 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18986] Add a case-insensitive case-preserving dict
R. David Murray added the comment: You are conceptualizing this very differently. In our view, this data structure is for cases where the original key is the most important piece of information (about the keys). The transformation in the lookup process is entirely in the service of looking up the value paired with that original key when there is more than one possible representation of that key. It is the original key that is critical when re-serializing the data or otherwise making use of the keys for anything other than lookup. So this is about making the data structure succinctly model the problem domain, which is what OO is supposed to be good at :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18986 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18986] Add a case-insensitive case-preserving dict
Ethan Furman added the comment: Right, sorry. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18986 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18993] There is an overshadowed and invalid test in testmock.py
Vajrasky Kok added the comment: The first test fails. I already tested it. I think they test the same thing, what happens to the attribute of mock instance if you delete it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18993 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17087] Improve the repr for regular expression match objects
Serhiy Storchaka added the comment: What about such output? re.search('p((a)|(b))(c)?', 'unpack') SRE Match object: [2: 5]: 'p'(('a')())('c') Or may be ('p', [['a'], []], ['c']) if you prefer legal Python expression. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17087 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18744] pathological performance using tarfile
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: -serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18744 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18682] [PATCH] remove bogus codepath from pprint._safe_repr
Serhiy Storchaka added the comment: Antoine, what you say? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18682 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18784] minor uuid.py loading optimization
Serhiy Storchaka added the comment: LGTM. -- assignee: - serhiy.storchaka stage: - commit review versions: +Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18784 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18784] minor uuid.py loading optimization
Roundup Robot added the comment: New changeset 7aaba721ebc0 by Serhiy Storchaka in branch '3.3': Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL, http://hg.python.org/cpython/rev/7aaba721ebc0 New changeset 66ec8431032d by Serhiy Storchaka in branch 'default': Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL, http://hg.python.org/cpython/rev/66ec8431032d New changeset 6d8a5cbb94c9 by Serhiy Storchaka in branch '2.7': Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL, http://hg.python.org/cpython/rev/6d8a5cbb94c9 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18784 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18784] minor uuid.py loading optimization
Serhiy Storchaka added the comment: Thank you for your contribution Evgeny. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18784 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14678] Update zipimport to support importlib.invalidate_caches()
Gregory P. Smith added the comment: Brett wrote a pure python zipimporter in http://bugs.python.org/issue17630 :) FWIW, the zipimport.c implementation (in 2.7) causes us serious pain when we've got the stdlib in a .zip file and need to update that while there are running python processes (which have cached the central directory of that .zip file but do not also keep a fd to the zip file open or even attempt to stat the file to see if it has changed [racy but it'd still be better than the nothing that is done now]). -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14678 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com