Re: [Python-Dev] Matching __all__ to doc: bugfix or enhancement?

2013-03-15 Thread Terry Reedy

On 3/15/2013 12:15 AM, Guido van Rossum wrote:

So it's a new feature, albeit a small one. I do see that it shouldn't
be backported, but I don't see any worries about doing it in 3.4.
Adding new functions/classes/constants to modules happens all the
time, and we never give a second thought to users of import *. :-)


Thanks all. Pushed to 3.4 only.

--
Terry Jan Reedy

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Slides from today's parallel/async Python talk

2013-03-15 Thread Antoine Pitrou
On Thu, 14 Mar 2013 16:21:14 -0700
Trent Nelson  wrote:
> 
> Actually, what's really interesting is the new registered IO
> facilities in Windows 8/2012.  The Microsoft recommendation for
> achieving the ultimate performance (least amount of jitter, lowest
> latency, highest throughput) is to do something like this:
> 
> while (1) {
> 
> if (!DequeueCompletionRequests(...)) {
> YieldProcessor();
> continue;
> } else {
> /* Handle requests */
> }
> }

Does Microsoft change their recommendations every couple of years? :)

Regards

Antoine.


___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Slides from today's parallel/async Python talk

2013-03-15 Thread Martin v. Löwis

Am 15.03.13 00:19, schrieb Antoine Pitrou:

Does Microsoft change their recommendations every couple of years? :)


Indeed they do. In fact, it's not really the recommendation that 
changes, but APIs that are added to new Windows releases. In the

specific case, Windows 8 adds an API called "Registered IO" (RIO).
They (of course) do these API addition in expecting some gain,
and then they (of course) promote these new APIs as actually achieving
the gain.

In the socket APIs, the Unix world went through a similar evolution,
with select, poll, epoll, kqueue, and whatnot.

The rate at which they change async APIs is actually low, compared
to the rate at which they change relational-database APIs (ODBC,
ADO, OLEDB, DAO, ADO.NET, LINQ, ... :-)

Regards,
Martin


___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Summary of Python tracker Issues

2013-03-15 Thread Python tracker

ACTIVITY SUMMARY (2013-03-08 - 2013-03-15)
Python tracker at http://bugs.python.org/

To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.

Issues counts and deltas:
  open3888 ( -7)
  closed 25316 (+51)
  total  29204 (+44)

Open issues with patches: 1707 


Issues opened (36)
==

#12466: sporadic failures of test_close_fds and test_pass_fds in test_
http://bugs.python.org/issue12466  reopened by ned.deily

#13918: locale.atof documentation is missing func argument
http://bugs.python.org/issue13918  reopened by ced

#17386: Bring Doc/make.bat as close to Doc/Makefile as possible
http://bugs.python.org/issue17386  opened by zach.ware

#17387: Error in C API documentation of PySequenceMethods
http://bugs.python.org/issue17387  opened by Alex.Orange

#17389: Optimize Event.wait()
http://bugs.python.org/issue17389  opened by pitrou

#17390: display python version on idle title bar
http://bugs.python.org/issue17390  opened by bagratte

#17391: _cursesmodule Fails to Build on GCC 2.95 (static)
http://bugs.python.org/issue17391  opened by Jeffrey.Armstrong

#17393: stdlib import mistaken for local by import_fixer
http://bugs.python.org/issue17393  opened by lregebro

#17394: Add slicing support to collections.deque
http://bugs.python.org/issue17394  opened by rhettinger

#17396: modulefinder fails if module contains syntax error
http://bugs.python.org/issue17396  opened by jgosmann

#17397: ttk::themes missing from ttk.py
http://bugs.python.org/issue17397  opened by klappnase

#17398: document url argument of RobotFileParser
http://bugs.python.org/issue17398  opened by tshepang

#17399: test_multiprocessing hang on Windows, non-sockets
http://bugs.python.org/issue17399  opened by terry.reedy

#17400: ipaddress.is_private needs to take into account of rfc6598
http://bugs.python.org/issue17400  opened by leim

#17401: io.FileIO closefd parameter is not documented nor shown in rep
http://bugs.python.org/issue17401  opened by rbcollins

#17403: Robotparser fails to parse some robots.txt
http://bugs.python.org/issue17403  opened by benmezger

#17404: ValueError: can't have unbuffered text I/O for io.open(1,   'wt'
http://bugs.python.org/issue17404  opened by rbcollins

#17405: Add _Py_memset_s() to securely clear memory
http://bugs.python.org/issue17405  opened by christian.heimes

#17408: second python execution fails when embedding
http://bugs.python.org/issue17408  opened by theDarkBrainer

#17409: resource.setrlimit doesn't respect -1
http://bugs.python.org/issue17409  opened by Paul.Price

#17410: Generator-based HTMLParser
http://bugs.python.org/issue17410  opened by flying sheep

#17411: Build failures with non-NDEBUG, non-Py_DEBUG builds.
http://bugs.python.org/issue17411  opened by twouters

#17413: format_exception() breaks on exception tuples from trace funct
http://bugs.python.org/issue17413  opened by inducer

#17415: Clarify docs of os.path.normpath()
http://bugs.python.org/issue17415  opened by gsingh

#17416: Documentation Ambiguity 2
http://bugs.python.org/issue17416  opened by gsingh

#17417: Documentation Modification Suggestion: os.walk, fwalk
http://bugs.python.org/issue17417  opened by gsingh

#17418: Documentation Bug
http://bugs.python.org/issue17418  opened by gsingh

#17419: bdist_wininst installer should allow install in user directory
http://bugs.python.org/issue17419  opened by Sergio.Callegari

#17420: bdist_wininst does not play well with unicode descriptions
http://bugs.python.org/issue17420  opened by Sergio.Callegari

#17421: Drop restriction that meta.__prepare__() must return a dict (s
http://bugs.python.org/issue17421  opened by eric.snow

#17422: language reference should specify restrictions on class namesp
http://bugs.python.org/issue17422  opened by eric.snow

#17423: libffi on 32bit is broken on linux
http://bugs.python.org/issue17423  opened by fijall

#17424: help() should use the class signature
http://bugs.python.org/issue17424  opened by jafo

#17425: Update OpenSSL versions in Windows builds
http://bugs.python.org/issue17425  opened by pitrou

#17428: replace readdir to readdir_r in function posix_listdir
http://bugs.python.org/issue17428  opened by Rock

#17429: platform.platform() can throw Unicode error
http://bugs.python.org/issue17429  opened by a.badger



Most recent 15 issues with no replies (15)
==

#17429: platform.platform() can throw Unicode error
http://bugs.python.org/issue17429

#17428: replace readdir to readdir_r in function posix_listdir
http://bugs.python.org/issue17428

#17424: help() should use the class signature
http://bugs.python.org/issue17424

#17422: language reference should specify restrictions on class namesp
http://bugs.python.org/issue17422

#17418: Documentation Bug
http://bugs.python.org/issue17418

#17417: Documentation Modification Suggestion: os.walk, fwalk
http://bugs.python.org/issue17417

#17416: Documentation Ambi