[issue9548] locale can be imported at startup but relies on too many library modules

2013-10-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 This seems like a reasonable solution. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue18577] lru_cache enhancement: lru_timestamp helper function

2013-10-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please publish this outside the standard library so it can mature and get user feedback. I think it would be premature to add it right now. The subject of cache entry invalidation or expiration is broad. I'm not sure this is the best way to do it.

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-10-09 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 249ba942a6d4 by Raymond Hettinger in branch '3.3': Issue #19005: Fix documentation for PyIter_Next(). http://hg.python.org/cpython/rev/249ba942a6d4 -- ___ Python tracker

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0820e8394d96 by Raymond Hettinger in branch '2.7': Issue #19005: Fix documentation for PyIter_Next(). http://hg.python.org/cpython/rev/0820e8394d96 -- nosy: +python-dev ___ Python tracker

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-10-09 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- components: +Documentation -Interpreter Core type: crash -> versions: +Python 2.7, Python 3.4 ___ Python tracker ___ __

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-10-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a documentation bug. As you noted, the input must be an iterator. It is up to the C programmer to assure this precondition is met. -- ___ Python tracker __

[issue15475] Correct __sizeof__ support for itertools

2013-10-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Serhiy, you can make the decision on whether this goes into 3.4 or gets closed. I don't think any actual user has ever expressed interest in this functionality and it is hard to meaningfully reason about the real memory cost because we don't have a way to i

[issue5907] repr of time.struct_time type does not eval

2013-10-09 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue19188] Add PySet_CheckExact()

2013-10-09 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19187] Use a set for interned strings

2013-10-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Based on the discussion so far, I'm going to close this one. I don't think it is an appropriate use of sets (they are about membership testing, not about looking up values). The upside is minimal. The downside is hacking up the set implementation and ma

[issue19150] IDLE shell fails: "ModifiedInterpreter instance has no attribute 'interp'"

2013-10-09 Thread Martin
Martin added the comment: Thank you very much for your help. Specification of error : In python 2.7.3 for Ubuntu 12.04 32-bit It creates a program with the following line of code : Python is a programming language That lets you work more quickly and integrate your systems more effectively.

[issue9548] locale can be imported at startup but relies on too many library modules

2013-10-09 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue19201] lzma and 'x' mode open

2013-10-09 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Looks good. Being strict this would be 3.4 material, but patch is trivial and looks like a oversight. We should check other compression modules like gzip, bzip2, etc. -- nosy: +jcea ___ Python tracker

[issue19199] Remove PyThreadState.tick_counter field

2013-10-09 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

[issue16805] when building docs on Debian 7 --> ERROR: Error in "note" directive

2013-10-09 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: BTW, these patches still apply, one to 2.7 and another to 3.3 and 3.4. They are pretty much harmless, so do not be afraid to accept them. -- ___ Python tracker _

[issue16805] when building docs on Debian 7 --> ERROR: Error in "note" directive

2013-10-09 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : Removed file: http://bugs.python.org/file28482/remove-directives-warnings-3.2.diff ___ Python tracker ___ _

[issue18177] Incorect quote marks in code section-headers in PDF version of docs

2013-10-09 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: A work-around: http://stackoverflow.com/a/16164658/321731. -- versions: +Python 2.7 ___ Python tracker ___ ___

[issue19210] Unicode Objects in Tuples

2013-10-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, this is a feature, even though it may seem an odd one. -- nosy: +pitrou resolution: -> invalid status: open -> closed ___ Python tracker __

[issue19213] platform.linux_distribution detects Oracle Linux as Red Hat Enterprise Linux

2013-10-09 Thread R. David Murray
R. David Murray added the comment: You might expect that, but platform.linux_distribution is basing its report on what is in /etc/xxx-version or xxx-release. Most likely this is an Oracle "bug", although they might be providing both their own version file and the version file for the RH relea

[issue17748] Condition.wait timeout can't be set to more than 50 ms

2013-10-09 Thread Bill Sobel
Bill Sobel added the comment: I'd like to suggest a easy fix here (I saw this was closed, but the posters were asking for a behavior change). With this fix there is no behavior change to callers or new parameters to the API. if remaining >= 4.0: maxDelay = 1 else: maxDelay = .05 dela

[issue19212] Spam

2013-10-09 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed title: Invitation to connect on LinkedIn -> Spam ___ Python tracker ___ ___ Pyt

[issue19212] Invitation to connect on LinkedIn

2013-10-09 Thread R. David Murray
Changes by R. David Murray : -- Removed message: http://bugs.python.org/msg199343 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14984] netrc module allows read of non-secured .netrc file

2013-10-09 Thread R. David Murray
R. David Murray added the comment: Nothing stops us from have a post-mortem discussion on a closed issue :) The rationale for only doing the check for .netrc is that that is backward-compatibility-wise fairly safe, because other tools will already be insisting on the same security. But for ar

[issue18890] Add a raw_data_manager content manager to the email package.

2013-10-09 Thread R. David Murray
R. David Murray added the comment: Closing in favor of the master patch issue 18891. -- resolution: -> out of date stage: patch review -> committed/rejected status: open -> closed superseder: -> Master patch for content manager addtion to email package. ___

[issue18860] Add content manager API to email package

2013-10-09 Thread R. David Murray
R. David Murray added the comment: Closing in favor of the master patch issue 18891. -- resolution: -> out of date stage: patch review -> committed/rejected status: open -> closed superseder: -> Master patch for content manager addtion to email package. ___

[issue18785] Add get_body and iter_attachments to provisional email API

2013-10-09 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue18785] Add get_body and iter_attachments to provisional email API

2013-10-09 Thread R. David Murray
R. David Murray added the comment: Serhiy's review comments were addressed by changes made on the master patch issue. Closing this one in favor of that one. -- resolution: -> out of date stage: patch review -> committed/rejected superseder: -> Master patch for content manager addtion

[issue9548] locale can be imported at startup but relies on too many library modules

2013-10-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file32025/bootlocale2.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9548] locale can be imported at startup but relies on too many library modules

2013-10-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Updated patch for 3.4. -- nosy: +benjamin.peterson, christian.heimes versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___

[issue19213] platform.linux_distribution detects Oracle Linux as Red Hat Enterprise Linux

2013-10-09 Thread Alexander Boyd
New submission from Alexander Boyd: Tested on 3.3.2 and 2.6.6. On Oracle Linux, platform.linux_distribution detects the current distribution as Red Hat Enterprise Linux: >>> import platform >>> platform.linux_distribution() ('Red Hat Enterprise Linux Server', '6.2', 'Santiago') I would have e

[issue19212] Invitation to connect on LinkedIn

2013-10-09 Thread Caitlin Potter
New submission from Caitlin Potter: LinkedIn Python, I'd like to add you to my professional network on LinkedIn. - Caitlin Caitlin Potter Freelance Developer at freelance software developer "self employed" Toronto, Canada Area Confirm that you know Caitlin Potter: https://www.li

[issue14984] netrc module allows read of non-secured .netrc file

2013-10-09 Thread bruno Piguet
bruno Piguet added the comment: I apologise for coming back to this issue lately, after its closing. I must have misconfigured something in my tracking system. Thank-you everybody for the work done, especiallly the careful handling and documenting of the case "only if password is present in fil

[issue18891] Master patch for content manager addtion to email package.

2013-10-09 Thread R. David Murray
R. David Murray added the comment: Updating the patch to address Stephen's review comments (thanks, Stephen!). The biggest change is adding a MIMEPart class, and renaming MIMEMessage to EmailMessage. Other significant changes are: only moving 'Content-*' headers in 'make' methods, adding 'cl

[issue17134] Use Windows' certificate store for CA certs

2013-10-09 Thread Christian Heimes
Christian Heimes added the comment: The current implementation doesn't check the trust settings and purpose of certs. CertGetCertificateContextProperty() with CERT_ENHKEY_USAGE_PROP_ID returns a ASN.1 structure. I just have to figure out how to parse the CTL_USAGE struct ... http://msdn.micro

[issue16355] inspect.getcomments() does not work in the interactive shell

2013-10-09 Thread R. David Murray
R. David Murray added the comment: Looking at the source, the suppression of errors is clearly intentional. Looking at the change that added the TypeError check, we see this from Jeremy Hilton in March 2002 (9c2ca37bdeec): It appears that getcomments() can get called for classes defined i

[issue19185] Allow multiprocessing Pool initializer to return values

2013-10-09 Thread Richard Oudkerk
Richard Oudkerk added the comment: > These functions are compliant with POSIX standards and the return values > are actually useful, they return the previously set masks and handlers, > often are ignored but in complex cases it's good to know their previous > state. Yes. But my point was tha

[issue19187] Use a set for interned strings

2013-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I afraid that adding new parameter to the set_contains_key function will slow down other set operations. It will be better return a key as the result of the function (NULL if not found). -- ___ Python tracker

[issue19187] Use a set for interned strings

2013-10-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > In embedded systems, every byte of memory counts It is not just embedded systems. The range 192 KB to 1.5 MB is where typical L2 cache sizes are these days. I would expect that the intern dictionary is accessed very often and much more often than th

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't think we should tangent code for such tiny benefit. copyreg is lightweight module specially designed to break coupling of the code. -- ___ Python tracker ___

[issue19145] Inconsistent behaviour in itertools.repeat when using negative times

2013-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Raymond's patch looks even more cumbersome than previous code. And it doesn't work in some cases: >>> it = itertools.cycle([-2, -1]) >>> class Index: ... def __index__(self): return next(it) ... >>> itertools.repeat(42, times=Index()) repeat(42, -1) ---

[issue19209] Remove import copyreg from os module

2013-10-09 Thread STINNER Victor
STINNER Victor added the comment: os_no_copyreg.patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Christian Heimes
Christian Heimes added the comment: The speedup is minimal but it's a start. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue19187] Use a set for interned strings

2013-10-09 Thread STINNER Victor
STINNER Victor added the comment: Raymond> FWIW, I'm dubious that there will be any benefit from this at all. The savings of one-pointer is the dictionary is likely to be insignificant compared to the size of the string object themselves. As I wrote in python-dev, the dictionary is usually th

[issue19187] Use a set for interned strings

2013-10-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue19185] Allow multiprocessing Pool initializer to return values

2013-10-09 Thread Matteo Cafasso
Matteo Cafasso added the comment: On 07/10/13 13:32, Richard Oudkerk wrote: > Richard Oudkerk added the comment: > > I think "misuse" is an exageration. Various functions change some state and > return a value that is usually ignored, e.g. os.umask(), signal.signal(). These functions are compli

[issue19205] Don't import re and sysconfig in site.py

2013-10-09 Thread Christian Heimes
Christian Heimes added the comment: The site and sysconfig module are too intermingled to remove the import of sysconfig from the site module. However the sysconfig module doesn't use the re module in most cases anymore. The parsing functions for Makefile and pyconfig.h are only used by distut

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: How much this speed up the startup of the interpreter? Proposed patch looks contrary to purpose of the copyreg module. -- ___ Python tracker

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Georg Brandl
Georg Brandl added the comment: I don't see a problem with that. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19211] from relative_module import seems to import wrong module

2013-10-09 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Christian Heimes
Christian Heimes added the comment: Exactly, the pickle module depends on the copyreg module. It's a submodule that acts as a registry for pickle-related lookups and hooks. My patch just moves the registration of these hooks out of the os module into the copyreg module. -- ___

[issue19158] BoundedSemaphore.release() subject to races

2013-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 369fabf9b2ba by Tim Peters in branch '3.3': Issue 19158: a rare race in BoundedSemaphore could allow .release() too often. http://hg.python.org/cpython/rev/369fabf9b2ba New changeset 9ddc33174ddf by Tim Peters in branch 'default': Issue 19158: a r

[issue19211] from relative_module import seems to import wrong module

2013-10-09 Thread Ethan Glasser-Camp
Ethan Glasser-Camp added the comment: Thanks for the explanation. I had a feeling I was overlooking something obvious but couldn't figure out what it was. Feel free to close as invalid. -- ___ Python tracker _

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Georg Brandl
Georg Brandl added the comment: But for pickling something, you have to import pickle, which always imports copyreg anyway, doesn't it? -- ___ Python tracker ___ ___

[issue19211] from relative_module import seems to import wrong module

2013-10-09 Thread R. David Murray
R. David Murray added the comment: I believe that this is because once you execute the first line, 'a' exists as a name in the 'lib' namespace, so 'from . import a' sees that 'a' already exists, and does nothing. The same import sequence in abc.py will put 'a' into the 'abc' namespace, but 'f

[issue19209] Remove import copyreg from os module

2013-10-09 Thread STINNER Victor
STINNER Victor added the comment: Can't we modify the qualified name instead? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue19210] Unicode Objects in Tuples

2013-10-09 Thread Eric V. Smith
Eric V. Smith added the comment: This isn't strictly related to printing a tuple. It's the difference between str() and repr(): >>> print (u"äöü") # uses str äöü >>> print repr(u"äöü") u'\xe4\xf6\xfc' When the tuple is printed, it uses the repr of its constituent parts. -- _

[issue19211] from relative_module import seems to import wrong module

2013-10-09 Thread Ethan Glasser-Camp
New submission from Ethan Glasser-Camp: I have a library lib. lib/__init__.py does the following: from .subdir import a from . import a import sys print(sys.modules['lib.a']) This code fails with a KeyError. It seems that despite the second line, lib.a does not get imported. P

[issue19187] Use a set for interned strings

2013-10-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The first reference above should have been to #1507011. -- ___ Python tracker ___ ___ Python-b

[issue19187] Use a set for interned strings

2013-10-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This exact issue was discussed in #19187 and #7224 many years ago. -- nosy: +belopolsky ___ Python tracker ___ ___

[issue1507011] Use a set to keep interned strings

2013-10-09 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- superseder: -> Use a set for interned strings ___ Python tracker ___ ___ Python-bugs-list mail

[issue19208] Bas64.decodestring() returns data instead of throwing exception

2013-10-09 Thread R. David Murray
R. David Murray added the comment: You are looking for the (new in Python 3) 'validate' option of b64decode: >>> base64.b64decode(b"GET >>> http://www.google.com.hk/search?q=hotels+near+airport&pws=1&igu=1&ip=0.0.0.0&safe=images&gl=CN&gll=39.913889,116.391667&near=china&hl=zh-CN";, >>> validat

[issue19210] Unicode Objects in Tuples

2013-10-09 Thread Peter Otten
Peter Otten added the comment: Be aware that for a 1-tuple the trailing comma is mandatory: >>> print (u"äöü") # this is a string despite the suggestive parens äöü >>> print (u"äöü",) # this is a tuple (u'\xe4\xf6\xfc',) -- nosy: +peter.otten ___ Pyt

[issue9548] locale can be imported at startup but relies on too many library modules

2013-10-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19205] Don't import re and sysconfig in site.py

2013-10-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19202] Additions to docs

2013-10-09 Thread Georg Brandl
Georg Brandl added the comment: What about def reduce(function, iterable, initializer=None): it = iter(iterable) if initializer is None: value = next(it) else: value = initializer for element in it: value = function(value, element) return value Rememb

[issue19210] Unicode Objects in Tuples

2013-10-09 Thread Eric V. Smith
Eric V. Smith added the comment: Can you provide some code which demonstrates this? It's easier to address this if we have known working (or non-working) examples. Thanks. -- nosy: +eric.smith ___ Python tracker

[issue19202] Additions to docs

2013-10-09 Thread Esa Peuha
Esa Peuha added the comment: How would you give a single definition of reduce() that helps people to understand both 2-arg and 3-arg variants? The way it is implemented in C is impossible to duplicate in pure Python; the best you could do is a hack that works unless someone *tries* to break it

[issue18716] Deprecate the formatter module

2013-10-09 Thread Brett Cannon
Brett Cannon added the comment: Need to add a note to PEP 4. -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mai

[issue19097] bool(cgi.FieldStorage(...)) may be False unexpectedly

2013-10-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Addressing storchaka's review comments. Here is the updated patch. -- Added file: http://bugs.python.org/file32021/19092-v2.diff ___ Python tracker ___

[issue19165] Change formatter warning to DeprecationWarning in 3.5

2013-10-09 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +Deprecate the formatter module ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue19097] bool(cgi.FieldStorage(...)) may be False unexpectedly

2013-10-09 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- versions: +Python 3.3, Python 3.4 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19165] Change formatter warning to DeprecationWarning in 3.5

2013-10-09 Thread Brett Cannon
Brett Cannon added the comment: Esa is right; this is a placeholder bug to remind me to do this in Python 3.5. And Esa is also right about adding formatter to PEP 4; I'll reopen the original bug to remind me to do that. -- ___ Python tracker

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Christian Heimes
Christian Heimes added the comment: You can still pickle and unpickle the objects but the result is no longer platform-independent as it refers to "posix" or "nt" instead of "os". >>> import os, pickle, pickletools >>> pickletools.dis(pickle.dumps(os.stat("."))) 0: \x80 PROTO 3 2:

[issue19210] Unicode Objects in Tuples

2013-10-09 Thread Stephen Tucker
New submission from Stephen Tucker: If a tuple consists of a single unicode object with non-ASCII characters in it, the printing of the tuple causes the non-ASCII characters to appear correctly as characters. If the tuple contains such a unicode object and anything else (even if it contains n

[issue19201] lzma and 'x' mode open

2013-10-09 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What will happen when do not register stat_result and statvfs_result at all? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Christian Heimes
Christian Heimes added the comment: >>> import os >>> import pickle >>> pickle.dumps(os.stat(".")) b"\x80\x03cos\n_make_stat_result\nq\x00(M\xfdAJ\x84\xa0k\x00M\x00\xfcK\x13M\xe8\x03M\xe8\x03M\x00`J\x9chURJ\xbdgURJ\xbdgURtq\x01}q\x02(X\x08\x00\x00\x00st_ctimeq\x03GA\xd4\x95Y\xefW\x04\xc1X\x07\x00

[issue19209] Remove import copyreg from os module

2013-10-09 Thread STINNER Victor
STINNER Victor added the comment: I don't know the copyreg module! Does it have a unit test for the registered os objects? If not, how can it be tested manually? -- nosy: +haypo ___ Python tracker

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Georg Brandl
Georg Brandl added the comment: +1 -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue19209] Remove import copyreg from os module

2013-10-09 Thread Christian Heimes
New submission from Christian Heimes: The patch removes "import copyreg" from the os module and moves the registration of the hooks to copyreg. This speeds up the startup of the interpreter a tiny bit. -- files: os_no_copyreg.patch keywords: patch messages: 199303 nosy: christian.heime

[issue18758] Fix internal references in the documentation

2013-10-09 Thread Georg Brandl
Georg Brandl added the comment: OK then -- so much the better. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue18758] Fix internal references in the documentation

2013-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No. BytesWarning is related only to bytes and bytearray. -- ___ Python tracker ___ ___ Python-bugs

[issue18758] Fix internal references in the documentation

2013-10-09 Thread Georg Brandl
Georg Brandl added the comment: Looks good, except that buffer doesn't really correspond to bytearray. No memoryview involved there? -- ___ Python tracker ___ _

[issue18758] Fix internal references in the documentation

2013-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And here is a patch with small changes which doesn't worth separated issue. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file32019/refs.patch ___ Python tracker

[issue19208] Bas64.decodestring() returns data instead of throwing exception

2013-10-09 Thread Tymoteusz Paul
New submission from Tymoteusz Paul: What happens (and how to reproduce): import base64 str = """GET http://www.google.com.hk/search?q=hotels+near+airport&pws=1&igu=1&ip=0.0.0.0&safe=images&gl=CN&gll=39.913889,116.391667&near=china&hl=zh-CN HTTP/1.0\nContent-Length: 0\nUser-Agent: Opera/9.80 (X

[issue19200] grammar in forkserver docs

2013-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset c0f3d18d79fd by Georg Brandl in branch 'default': Closes #19200: small grammar fix in multiprocessing docs. Thanks to Elazar Gershuni. http://hg.python.org/cpython/rev/c0f3d18d79fd -- nosy: +python-dev resolution: -> fixed stage: -> commi

[issue18758] Fix internal references in the documentation

2013-10-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Improve cross-references in os documentation ___ Python tracker ___ ___ Python-bugs-li

[issue19207] Improve cross-references in os documentation

2013-10-09 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a patch which fixes internal references in the documentation of the os, os.path and posix modules. -- assignee: docs@python components: Documentation files: refs.os.patch keywords: patch messages: 199296 nosy: docs@python, loewis, serhiy.sto

[issue19205] Don't import re and sysconfig in site.py

2013-10-09 Thread Christian Heimes
Changes by Christian Heimes : -- keywords: +patch Added file: http://bugs.python.org/file32017/site_no_re.patch ___ Python tracker ___ ___

[issue19205] Don't import re and sysconfig in site.py

2013-10-09 Thread Christian Heimes
New submission from Christian Heimes: The site module is loaded at every startup. Nowadays it imports the re and the sysconfig modules. The re module is used for venv config parsing and inside sysconfig. sysconfig is loaded to find the location of the user's site-packages directory. Suggestio

[issue19206] Support disabling file I/O when doing traceback formatting

2013-10-09 Thread Itamar Turner-Trauring
New submission from Itamar Turner-Trauring: In certain situations it is best to avoid doing file I/O. For example, a program that runs in an event loop may wish to avoid any potentially blocking operations; reading from a file usually is fast, but can sometimes take arbitrary long. Another exa

[issue19205] Don

2013-10-09 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: christian.heimes priority: normal severity: normal status: open title: Don ___ Python tracker ___ _

[issue19199] Remove PyThreadState.tick_counter field

2013-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ce0102e4c1f by Victor Stinner in branch 'default': Close #19199: Remove ``PyThreadState.tick_counter`` field http://hg.python.org/cpython/rev/3ce0102e4c1f -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open

[issue19204] Improve cross-references in urllib documentation

2013-10-09 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a patch which fixes internal references in the documentation of the urllib package. -- assignee: docs@python components: Documentation files: refs.urllib.patch keywords: patch messages: 199292 nosy: docs@python, orsenthil, serhiy.storchaka p

[issue18758] Fix internal references in the documentation

2013-10-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Improve cross-references in urllib documentation ___ Python tracker ___ ___ Python-bug

[issue19203] Improve cross-references in curses howto

2013-10-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file32015/refs.curses-howto.patch ___ Python tracker ___ ___ Python-bugs-list

[issue19203] Improve cross-references in curses howto

2013-10-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file32014/refs.curses-howto.patch ___ Python tracker ___ ___ Python-bugs-li

[issue18758] Fix internal references in the documentation

2013-10-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Improve cross-references in curses howto ___ Python tracker ___ ___ Python-bugs-list m

  1   2   >