[issue17546] Document the circumstances where the locals() dict gets updated

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: locals() being useful to the majority of Python software is news to me... -- nosy: +georg.brandl ___ Python tracker ___ __

[issue17565] segfaults during serialization

2013-03-28 Thread Daniele Raimondi
Daniele Raimondi added the comment: I'll try ASAP. unfortunately I'm pretty busy trying to overcome this problem On Thu, Mar 28, 2013 at 1:51 AM, STINNER Victor wrote: > > STINNER Victor added the comment: > > ModelSettings.py requires globalSettings which is not attached. > > -- > nosy

[issue17559] str.is* implementation seem suboptimal for single character strings

2013-03-28 Thread Gaëtan de Menten
Gaëtan de Menten added the comment: Argl. I know I should have used 3.4... but that is what I thought I did. I used http://hg.python.org/cpython then "browse", and assumed it was the default branch... I know realize that since the last commit at that time was on the 2.7 branch, that is what I

[issue5752] xml.dom.minidom does not escape CR, LF and TAB characters within attribute values

2013-03-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: minidom may be broken, but what's the issue with ElementTree? >>> import xml.etree.cElementTree as etree >>> doc = etree.fromstring('') >>> doc.set('attr', "multiline\nvalue") >>> etree.tostring(doc) '' -- nosy: +amaury.forgeotdarc __

[issue17556] os.path.join() converts None to '' by default

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Since most other os.path functions also choke (intentionally) on None values, I agree and would point out that if you want this behavior, it's easy to do the "or ''" dance on the caller side. -- nosy: +georg.brandl resolution: -> rejected status: open -

[issue1379984] HP-UX: Can't shl_load() a library containing Thread Local

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing this old pending issue due to lack of response. -- status: pending -> closed ___ Python tracker ___

[issue17559] str.is* implementation seem suboptimal for single character strings

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Benjamin, if that comment means there's still something to be done, please reopen. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker

[issue9800] Fast path for small int-indexing of lists and tuples

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing this old pending issue due to lack of activity. -- keywords: +needs review -patch nosy: +georg.brandl resolution: -> rejected status: pending -> closed ___ Python tracker ___

[issue3862] test_array fails on FreeBSD7 amd64

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing this old pending issue due to lack of activity. -- nosy: +georg.brandl status: pending -> closed ___ Python tracker ___ ___

[issue813453] restrictions in _tkinter built with threaded tk undocumented

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing this due to lack of activity. -- nosy: +georg.brandl status: pending -> closed ___ Python tracker ___ ___

[issue6671] webbrowser doesn't respect xfce default browser

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing to due to lack of a better way to detect Xfce. -- assignee: georg.brandl -> resolution: -> rejected status: open -> closed ___ Python tracker ___

[issue5633] fix for timeit when the statement is a string and the setup is not (and tests)

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue9633] pdb go stack up/down

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue5993] python produces zombie in webbrowser.open

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue8478] tokenize.untokenize first token missing failure case

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue10799] Improve webbrowser (.open) doc and behavior

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue3290] python-config --cflags includes irrelevant flags

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> doko nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue15019] String termination on Linux

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of response. -- nosy: +georg.brandl resolution: -> works for me status: pending -> closed ___ Python tracker ___

[issue16767] Cannot install Python 2.7 in Wine 1.4.1

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15186] Support os.walk(dir_fd=)

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing (it seems everybody agreed it's not a good idea). -- nosy: +georg.brandl resolution: -> rejected status: pending -> closed ___ Python tracker ___

[issue17103] ampersand "&" in path prevents compilation of Python

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing as this is a bug in autoconf. 2.69 is still the latest released version, so we'll get the fix whenever the new version is out and sufficiently widely distributed. -- nosy: +georg.brandl resolution: -> invalid status: pending -> closed

[issue5752] xml.dom.minidom does not escape CR, LF and TAB characters within attribute values

2013-03-28 Thread Daniele Varrazzo
Daniele Varrazzo added the comment: ElementTree issue is with tabs: In [1]: import xml.etree.cElementTree as etree In [2]: doc = etree.fromstring('') In [4]: doc.set('attr', "here\tthere") In [5]: etree.tostring(doc) Out[5]: '' In [6]: etree.fromstring(_5).attrib['att

[issue12119] distutils and python -B

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Can this be closed? -- nosy: +georg.brandl status: pending -> open ___ Python tracker ___ ___ Python-b

[issue13000] unhandled exception at install

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of response. -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue9948] findCaller is slow and loses case information on Windows

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of response. -- nosy: +georg.brandl resolution: -> fixed status: pending -> closed ___ Python tracker ___

[issue5752] xml.dom.minidom does not escape CR, LF and TAB characters within attribute values

2013-03-28 Thread Daniele Varrazzo
Daniele Varrazzo added the comment: I was going to open an issue on itself about etree and tabs, but I've found this and thought it would have been marked as duplicate. If you don't think it's the case I will open it anyway. I've added my comment because ElementTree is not reported in this pag

[issue5970] sys.exc_info leaks into a generator

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Out of date now that 2.7 is also in maintenance mode. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker

[issue5884] pydoc to return error status code

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- versions: +Python 3.4 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue3938] Clearing globals; interpreter -- IDLE difference

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Terry, do you still think this is important to fix? -- nosy: +georg.brandl versions: +Python 2.7, Python 3.3, Python 3.4 -Python 3.0 ___ Python tracker ___

[issue6395] Infinite Recursion during Unpickling a codecs Object

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- versions: +Python 3.3, Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue7300] Unicode arguments in str.format()

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Agreed with Eric. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___

[issue16273] f.tell() returning negative number on Windows build

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> wont fix status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7565] Increasing resource.RLIMIT_NOFILE has no effect

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of response. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue7209] Prevents uint_t from being used on QNX

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue5851] Add a stream parameter to gc.set_debug

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Patch would need to be updated for Python 3.4. (Please also upload it to this issue.) -- nosy: +georg.brandl versions: +Python 3.4 -Python 2.7 ___ Python tracker ___

[issue9134] sre bug: lastmark_save/restore

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl : -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue17389] Optimize Event.wait()

2013-03-28 Thread Mark Dickinson
Mark Dickinson added the comment: [Antoine] > That said, I agree the performance improvement is probably not important > here. It was just drive-by optimization on my part :-) Shall we close this as rejected? -- ___ Python tracker

[issue4022] 2.6 dependent on c:\python26\ on windows

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of activity. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue616013] cPickle documentation incomplete

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Three years later, I don't think anyone is interested in documenting the outdated cPickle. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker

[issue6310] Windows "App Paths" key is not checked when installed for current user

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of response. -- nosy: +georg.brandl status: open -> closed ___ Python tracker ___ _

[issue9672] test_xpickle fails on Windows: invokes pythonx.y instead of pythonxy

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing for reasons Antoine stated. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker ___ _

[issue9986] PDF files of python docs have text missing

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Duplicate of #4173. -- resolution: -> duplicate status: open -> closed superseder: -> PDF documentation: long verbatim lines are cut off at right hand side ___ Python tracker _

[issue3290] python-config --cflags includes irrelevant flags

2013-03-28 Thread Matthias Klose
Matthias Klose added the comment: I don't see the current behaviour as problematic. If you build python as a debug build, you get the -O0 included, if you do a normal build, you get the -Ox included. At least this is behaviour found in other '-config' programs too. So maybe add an option to

[issue3290] python-config --cflags includes irrelevant flags

2013-03-28 Thread Matthias Braun
Matthias Braun added the comment: It's less of a problem when building python extenions, where you are probably fine with using "just the same" as the installed python. However in my case I am embedding python as a scripting language into another application. So there is very few python relate

[issue3290] python-config --cflags includes irrelevant flags

2013-03-28 Thread Matthias Klose
Matthias Klose added the comment: > However in my case I am embedding python as a scripting language > into another application. then why not filtering out these options on your own for this use case? -- ___ Python tracker

[issue11205] Evaluation order of dictionary display is different from reference manual.

2013-03-28 Thread Ned Batchelder
Ned Batchelder added the comment: Since this is documented in the Python Language Reference, it doesn't make much sense to have it describe one way for 3.3 and another for 3.4, does it? By definition, doesn't that make this an implementation dependency? We should update the docs to say that

[issue17389] Optimize Event.wait()

2013-03-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed. -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue17546] Document the circumstances where the locals() dict gets updated

2013-03-28 Thread Ned Batchelder
Ned Batchelder added the comment: Changing the type of the locals() return isn't the right way to solve this problem. Better docs is the way to do it. If someone is calling locals(), they should read the docs. Examining the type of values is discouraged in Python, we shouldn't expect people

[issue5550] [urllib.request]: Comparison of HTTP headers should be insensitive to the case

2013-03-28 Thread karl
karl added the comment: Yes case insensitive make sense. It seems it will require a lot of modifications in the code. So I guess maybe the first step is to identify where it could break. -- ___ Python tracker

[issue4159] Table about Standard Encodings is cut off at the bottom - 35 entries missing

2013-03-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ae74b361f53 by Georg Brandl in branch '3.3': Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text. http://hg.python.org/cpython/rev/3ae74b361f53 -- nosy: +python-dev resolution

[issue17561] Add socket.create_server_sock() convenience function

2013-03-28 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Thanks for clarifying, I have a better understanding of the problem now. Providing a custom class instantiating two sockets looks like a dead end to me though. To say one, what is getsockname() supposed to return? Same for detach(), fileno(), 'family' and pr

[issue10799] Improve webbrowser (.open) doc and behavior

2013-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not know if 'must' is true on all systems, but I certainly think we should say that a full url 'might be required' to succeed. On win7, "C:/program files (86)/mozilla firefox" (until mozilla decides to distribute a 64-bit version ;-). -- ___

[issue3938] Clearing globals; interpreter -- IDLE difference

2013-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would like to discuss it with other IDLE devs (Roger) after fixing more important issues. -- ___ Python tracker ___ __

[issue3290] python-config --cflags includes irrelevant flags

2013-03-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue7209] Prevents uint_t from being used on QNX

2013-03-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue11205] Evaluation order of dictionary display is different from reference manual.

2013-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I strongly agree with Guido that we should fix the code. To me, defined left-to-right evaluation of sub-expressions within an expression is a feature. C's 'implementation defined' is a nuisance. I do not think we should temporarily change the doc. In other cas

[issue17561] Add socket.create_server_sock() convenience function

2013-03-28 Thread Charles-François Natali
Charles-François Natali added the comment: > Providing a custom class instantiating two sockets looks like a dead end to > me though. To say one, what is getsockname() supposed to return? Same for > detach(), fileno(), 'family' and probably others I can't think of right now. Indeed. So we mig

[issue17511] Idle find function closes after each find operation

2013-03-28 Thread Roger Serwy
Roger Serwy added the comment: (I didn't realize that the patch is identical to the one submitted on issue13586). The issue with the found text not being highlighted is Windows-specific. Issue13630 discusses that particular problem and it has the same root cause as issue14146. Changing the

[issue3938] Clearing globals; interpreter -- IDLE difference

2013-03-28 Thread Roger Serwy
Changes by Roger Serwy : -- nosy: +roger.serwy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue6632] Include more fullwidth chars in the decimal codec

2013-03-28 Thread Ezio Melotti
Ezio Melotti added the comment: Alexander, can this be closed or is there still something that should be done? -- ___ Python tracker ___ __

[issue15867] make importlib documentation easier to use

2013-03-28 Thread Paul Moore
Changes by Paul Moore : -- nosy: +pmoore ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue6671] webbrowser doesn't respect xfce default browser

2013-03-28 Thread Éric Araujo
Éric Araujo added the comment: Sorry I did not comment earlier, but there is this way: >>> os.environ.get('DESKTOP_SESSION') == 'xfce' True -- resolution: rejected -> status: closed -> open versions: +Python 3.3, Python 3.4 -Python 3.1 ___ Python tr

[issue12119] distutils and python -B

2013-03-28 Thread Éric Araujo
Éric Araujo added the comment: In the absence of support for doing the right thing (which would break compatibility), I won’t change distutils here. -- stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue6661] Transient test_multiprocessing failure (test_active_children)

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: 2.5 years later I don't think it's much use keeping this open. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker __

[issue17567] Clarify importlib.abc.PathEntryFinder.find_loader() docs

2013-03-28 Thread Brett Cannon
New submission from Brett Cannon: "An empty list can be used for portion to signify the loader is not part of a package" should have a "namespace" mention in there at least. Links to the namespace loader or namespace package docs would also help. -- assignee: docs@python components: Do

[issue17566] Document that importlib.abc.Loader.module_repr is abstract and thus needed by various other ABCs

2013-03-28 Thread Brett Cannon
New submission from Brett Cannon: Various places list explicitly what abstractmethods are needed to make an ABC work in importlib.abc. Unfortunately when module_repr() came into existence it was made abstract but no other documentation was updated to point out this fact. -- assignee: d

[issue12466] sporadic failures of test_close_fds and test_pass_fds in test_subprocess

2013-03-28 Thread jan matejek
jan matejek added the comment: i don't think that's it, look at the result output in comment #183756: the list of fds is correct, except that they aren't closed as they should be. i can't reproduce the result when running code by hand, so it's either a race or an issue with test setup. so far

[issue17561] Add socket.create_server_sock() convenience function

2013-03-28 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Agreed. Then it probably makes sense to expose also a socket.has_dual_stack() function so that the user can pre-emptively decide whether using a custom class. Updated draft patch is in attachment. -- Added file: http://bugs.python.org/file29600/socke

[issue12466] sporadic failures of test_close_fds and test_pass_fds in test_subprocess

2013-03-28 Thread Charles-François Natali
Charles-François Natali added the comment: > i don't think that's it, look at the result output in comment #183756: the > list of fds is correct, except that they aren't closed as they should be. Of course the list is correct: the message is printed by the parent process, which opened the FDs ;

[issue4773] HTTPMessage not documented and has inconsistent API across Py2/Py3

2013-03-28 Thread Hugo Lopes Tavares
Hugo Lopes Tavares added the comment: I just caught a bug because on Python 3 `HTTPMessage` has `get_param`, while on Python 2 there is `getparam`, with a different method signature. I am trying to figure out a solution so my code can run in both python 2 and 3 without ifs on python version.

[issue1442493] IDLE shell window gets very slow when displaying long lines

2013-03-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: In addition to squeezing, it would be nice (and easy) to add a menu option (and hotkey) to clear the text pane. -- nosy: +rhettinger ___ Python tracker __

[issue12466] sporadic failures of test_close_fds and test_pass_fds in test_subprocess

2013-03-28 Thread jan matejek
jan matejek added the comment: so apparently the problem was that we're using the borked original patch for issue #16962, instead of the fixed version that's actually in repos. (The d_type field was missing, so every filename had an extra character prepended to it. AFAICT, all mysterious circum

[issue15611] devguide: add "core mentors" area to Experts Index

2013-03-28 Thread Ezio Melotti
Ezio Melotti added the comment: The devguide already mentions core-mentorship [0][1], and people already ping issues there when necessary, so I agree that this can be closed. [0]: http://docs.python.org/devguide/help.html#core-mentorship [1]: http://docs.python.org/devguide/setup.html#build-dep

[issue12466] sporadic failures of test_close_fds and test_pass_fds in test_subprocess

2013-03-28 Thread Gregory P. Smith
Gregory P. Smith added the comment: phew, yay. because i didn't see anything obviously wrong with the #16962 commit. also, regarding checking for EINTR on some of the close() calls. It isn't a big deal. This _posixsubprocess.c code that contains those checks is always executing single-thre

[issue8911] regrtest.main should have a test skipping argument

2013-03-28 Thread Ezio Melotti
Ezio Melotti added the comment: I tried to grep for sys.argv in the importlib tests and didn't find anything. 3 years passed since the initial report, and since no one seem to have asked for this feature, I'm going to close this. -- resolution: -> out of date stage: needs patch -> co

[issue17554] Compact output for regrtest

2013-03-28 Thread Ezio Melotti
Ezio Melotti added the comment: I would prefer to have it by default with a flag to disable it, since IMHO the full list of passed tests is just noise, but other devs don't seem to like the idea. Another option would be to save the flags in a config file or in an envvar, so that it won't be ne

[issue17554] Compact output for regrtest

2013-03-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: One reason I think the full list is better is that it's easier for beginners to understand and review what's happening (and also get a taste of the contents of the test suite). Experienced contributors wouldn't care that much admittedly. -- __

[issue17554] Compact output for regrtest

2013-03-28 Thread Ezio Melotti
Ezio Melotti added the comment: They will still see the test names and the counter that increases. I would also say that having the whole output fitting in a screen is less intimidating than a few screens filled with a wall of text. It also makes easier to notice skipped and failing tests, a

[issue17564] test_urllib2_localnet fails

2013-03-28 Thread Ezio Melotti
Ezio Melotti added the comment: Moving it behind -uall/-unetwork sounds good to me. -- keywords: +easy stage: -> needs patch status: pending -> open versions: +Python 2.7, Python 3.3 ___ Python tracker ___

[issue12119] distutils and python -B

2013-03-28 Thread sorin
sorin added the comment: Can we have a fix for this? ... one that would not require me to drop using PYTHONDONTWRITEBYTECODE. I do have PYTHONDONTWRITEBYTECODE=1 on my user profile and installing packages became a nightmare. -- nosy: +sorin ___ Pyt

[issue12119] distutils and python -B

2013-03-28 Thread Éric Araujo
Éric Araujo added the comment: See #12117. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue16692] Support TLS 1.1 and TLS 1.2

2013-03-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 02a89bd646ca by Antoine Pitrou in branch 'default': Issue #16692: The ssl module now supports TLS 1.1 and TLS 1.2. Initial patch by Michele Orrù. http://hg.python.org/cpython/rev/02a89bd646ca -- nosy: +python-dev _

[issue16692] Support TLS 1.1 and TLS 1.2

2013-03-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Finally committed. Thanks for the patches! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue6310] Windows "App Paths" key is not checked when installed for current user

2013-03-28 Thread anatoly techtonik
anatoly techtonik added the comment: Am not using XP anymore. Looks like everything is ok with Vista. -- ___ Python tracker ___ ___ Pyt

[issue6310] Windows "App Paths" key is not checked when installed for current user

2013-03-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list ma

[issue17546] Document the circumstances where the locals() dict gets updated

2013-03-28 Thread Eric Snow
Eric Snow added the comment: > Changing the type of the locals() return isn't the right way to solve > this problem. Better docs is the way to do it. If someone is calling > locals(), they should read the docs. Examining the type of values is > discouraged in Python, we shouldn't expect people

[issue17568] re: Infinite loop with repeated empty alternative

2013-03-28 Thread Eric Promislow
New submission from Eric Promislow: >>> import re >>> p = re.compile(r'^(?:\\"|.|)*?"', re.S|re.M) >>> s = 'sub foo {\n\tprint "\n\t\tbar\n\t\t";\n}\n' >>> m = p.findall(s) Python doesn't return. Dropping the last "|" in the pattern fixes this. Regex engines in Perl, PHP, JS, and Ruby all hand

[issue1442493] IDLE shell window gets very slow when displaying long lines

2013-03-28 Thread Roger Serwy
Roger Serwy added the comment: @Raymond, see issue6143 for an (outdated) extension to clear the shell window with a hotkey. -- nosy: +roger.serwy ___ Python tracker ___ __

[issue17569] urllib2 urlopen truncates https pages after 32768 characters

2013-03-28 Thread J Porter
New submission from J Porter: When using urllib2 to fetch page data from an https server, I found that only the first 32768 characters of the download were retrieved. Other browsers returned the full documents, so it does not appear to be a server issue. If http, rather than https is used on t

[issue17569] urllib2 urlopen truncates https pages after 32768 characters

2013-03-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Do you have the sample server URL or test script? -- nosy: +orsenthil ___ Python tracker ___ ___ Py

[issue13510] Clarify that readlines() is not needed to iterate over a file

2013-03-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2013-03-28 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue8906] Document TestCase attributes in class docstring

2013-03-28 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3, Python 3.4 -Python 3.2 ___ Python tracker

[issue8906] Document TestCase attributes in class docstring

2013-03-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0753a663d27c by Ezio Melotti in branch '2.7': #8906: document failureException, longMessage, and maxDiff in the class docstring. Patch by Boris Feld. http://hg.python.org/cpython/rev/0753a663d27c New changeset b1c511418b29 by Ezio Melotti in branc

[issue17438] json.load docs should mention that it always return unicode

2013-03-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 80d7545594ca by Ezio Melotti in branch '2.7': #17438: add links to the conversion tables in dump(s)/load(s). http://hg.python.org/cpython/rev/80d7545594ca New changeset e76952bd4fa5 by Ezio Melotti in branch '3.3': #17438: add links to the conversio

[issue17438] json.load docs should mention that it always return unicode

2013-03-28 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: -Python 3.2 ___ Python tracker

[issue17570] Improve devguide Windows instructions

2013-03-28 Thread Ezio Melotti
New submission from Ezio Melotti: This is a follow up of #14468, and in particular of msg183031. The instructions in the "committing" page of the devguide are unix-centric, in particular: 1) on Windows ~/.hgrc is $HOME$/mercurial.ini; 2) the "Settings dialogs" of TortoiseHG can/should be us

[issue17561] Add socket.create_server_sock() convenience function

2013-03-28 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I managed to write a container class which listens on multiples addresses and uses select/poll on accept() as suggested by Charles. FWICT it seems to work pretty well and supports non-blocking sockets and timeouts (tested on Linux, Windows and OSX). It is a

[issue14468] Update cloning guidelines in devguide

2013-03-28 Thread Ezio Melotti
Ezio Melotti added the comment: I created #17570 about the Windows-related improvements, so this can finally be closed. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue6143] IDLE - an extension to clear the shell window

2013-03-28 Thread Roger Serwy
Roger Serwy added the comment: The ClearWindow.py extension as included in the IdleX package contains a more recent version that allows undo with full color tag restoration. -- assignee: -> roger.serwy versions: +Python 2.7, Python 3.3, Python 3.4 _

  1   2   >