[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: +haypo
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 got. And I didn't even realize my mistake by the 
string vs unicode differences. Now, I will just go hide somewhere in shame...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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['attr']
Out[6]: 'here there'

bye bye tab.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 page at all: 
I've been googling forever about "ElementTree tabs attributes" without result. 
I've found this (and the network of duplicates) only searching for less generic 
"xml tabs" into the python bug tracker, when I was already filing the bug.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 filter out flags, but which ones?

The other issue is that it's unclear what these options are used for, to build 
an extension module, or to build an embedded interpreter. Not a difference 
maybe in cflags, but for ldflags. And this should be harmonized with the 
pkgconfig file too.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 related code and alot of other code. 
The python-config script "injecting" unnecessary build flags that in fact even 
change things (-DNDEBUG) is very annoying as it changes all the non-python code 
too.

A simple thing like the --includes that just outputs the -I flags would be the 
best solution IMO. But to have this working you would need to have a guarantee 
that there is no actual code in the form of #define / inline functions in the 
headers which potentially breaks if you use different flags from the python 
library. In fact --includes is what I am using now, I just hope that I won't 
hit any of the preproc macros by accident...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 pairs in dicts will be evaluated left-to-right, but 
that the order of key and value is implementation dependent, since it actually 
is.

--
nosy: +nedbat

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 to discover nonintuitive behavior because 
the type has been artificially changed to "livedict".

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 probably others I can't think of right now.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 ;-).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 cases where we 
have only applied a bugfix to a future version, we have not temporarily doc'ed 
the bug as 'correct'. The change *should* be in 
What's New.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 might opt for a best-effort approach: try disabling IPV6_V6ONLY
on the socket if it's set: that way it should work on most platforms.
And add a note to the documentation. IIRC that's what Java does.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 menu item and dialog boxes goes beyond the original scope of this 
issue. In the interest of keeping bug-tracking simple, an issue should not be 
expanded in scope. 

Patches are submitted as a unified diff, using "hg diff".

--
resolution: works for me -> 

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: Documentation
messages: 185454
nosy: brett.cannon, docs@python
priority: normal
severity: normal
stage: needs patch
status: open
title: Clarify importlib.abc.PathEntryFinder.find_loader() docs
versions: Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: docs@python
components: Documentation
messages: 185453
nosy: brett.cannon, docs@python
priority: normal
severity: normal
stage: needs patch
status: open
title: Document that importlib.abc.Loader.module_repr is abstract and thus 
needed by various other ABCs
versions: Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 i figured out that this goes away when patch from issue #16962 is 
reverted

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/socket2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 ;-)

> i can't reproduce the result when running code by hand, so it's either a race 
> or an issue with test setup.

If it's random, yes. One way to debug this would be to run the test
with "strace -f".

> so far i figured out that this goes away when patch from issue #16962 is 
> reverted

Note that the patch doesn't retry getdents64() on EINTR, and retries
close() on EINTR while it's not advised, see this post by Linus:
http://article.gmane.org/gmane.linux.kernel/330619

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--
nosy: +hltbra

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 circumstances that I reported would trace back to 
workplace mess, like running the test in a terminal with a different build than 
i thought...)

sorry for taking your time, folks, the bug can be closed now.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-dependencies

--
resolution:  -> rejected
stage: needs patch -> committed/rejected
status: pending -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-threaded post-fork so there is no chance of a race condition 
even though the EINTR check and retry are pointless as Linus mentions.  They 
will never cause errant behavior but I'll "fix" them in a future commit for 
consistency.

--
resolution:  -> invalid
status: open -> closed
type:  -> behavior
versions: +Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 necessary to repeat them every time, but that's another issue 
(and on a related note, people don't seem to specify -Wd either when they run 
the tests, even if they should)...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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, and that might mitigate the common question "why it 
says that test_xxx was skipped?" (when the test is actually skipped, a reason 
is usually presented, but that's lost in the output, and not repeated at the 
end).
Maybe we should ask on core-mentorship what version they like more?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 to discover
> nonintuitive behavior because the type has been artificially changed
> to "livedict".

+1

Issue #7083 was created to promote a semantic change (ultimately) and it was 
rejected in deference to a doc change.  That's part of why this ticket was 
changed to focus on documentation.

My only concern is that locals() has some pretty heavy implementation 
specifics, so any doc change needs to respect that (or be part of an effort to 
tighten the spec for locals()).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 handle
this regex.  Ref Komodo bug http://bugs.activestate.com/show_bug.cgi?id=98268

--
messages: 185474
nosy: ericp
priority: normal
severity: normal
status: open
title: re: Infinite loop with repeated empty alternative
type: enhancement
versions: Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 the same server, the full document is 
retrieved. No problems with shorter documents (<32768 characters). They were 
not truncated.

--
components: Library (Lib)
messages: 185476
nosy: jhp7e
priority: normal
severity: normal
status: open
title: urllib2 urlopen truncates https pages after 32768 characters
type: behavior
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 branch '3.3':
#8906: document failureException, longMessage, and maxDiff in the class 
docstring.  Patch by Boris Feld.
http://hg.python.org/cpython/rev/b1c511418b29

New changeset 49cf8f656e9e by Ezio Melotti in branch 'default':
#8906: merge with 3.3.
http://hg.python.org/cpython/rev/49cf8f656e9e

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 conversion tables in dump(s)/load(s).
http://hg.python.org/cpython/rev/e76952bd4fa5

New changeset 5dcd7ee0716a by Ezio Melotti in branch 'default':
#17438: merge with 3.3.
http://hg.python.org/cpython/rev/5dcd7ee0716a

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 used to edit 
mercurial.ini;
  3) the devguide suggests "./python.exe Tools/scripts/patchcheck.py", but ./ 
doesn't work on Windows.

--
components: Devguide
keywords: easy
messages: 185482
nosy: chris.jerdonek, ezio.melotti, pitrou, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: Improve devguide Windows instructions
type: enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 available as a recipe here:
http://code.activestate.com/recipes/578504

IMO has_dual_stack() and create_server_sock() functions can already be included 
as-is (will adapt the recipe in order to get rid of Python 2.X support and 
submit another patch).

As for including also MultipleSocketsListener that's debatable.
It can either be added or linked/mentioned it in the doc.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >