[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Charles-François Natali
Charles-François Natali added the comment: > Tin Tvrtković added the comment: > > For your examples, my first instinct would be to use a thread pool executor. > It's a nice high level API and can already do the aggregate join. Indeed, the examples posted don't make much sense: thread/process po

[issue22020] tutorial 9.10. Generators statement error

2014-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: The "reverse" function is defined just above the example that uses it. -- assignee: -> docs@python components: +Documentation nosy: +docs@python, ezio.melotti resolution: -> not a bug stage: -> resolved status: open -> closed type: compile error -> beha

[issue22020] tutorial 9.10. Generators statement error

2014-07-20 Thread Albert Ho
New submission from Albert Ho: https://docs.python.org/3/tutorial/classes.html >>> for char in reverse('golf'): I found that reverse didnt work and i check the doc https://docs.python.org/3.4/library/functions.html#reversed >>> reversed(seq)¶ I guess it just forget to change the statement

[issue11945] Adopt and document consistent semantics for handling NaN values in containers

2014-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Closing for the reasons listed and also because there is another pair of tracker items 22000 and 22001 pursuing related documentation updates. -- resolution: -> not a bug status: open -> closed ___ Python tracker

[issue21868] Tbuffer in turtle allows negative size

2014-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the patch Lita. This was a nice fix. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue21868] Tbuffer in turtle allows negative size

2014-07-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 02b25ec13c94 by Raymond Hettinger in branch '3.4': Issue #21868: Prevent turtle crash due to invalid undo buffer size. http://hg.python.org/cpython/rev/02b25ec13c94 -- ___ Python tracker

[issue21868] Tbuffer in turtle allows negative size

2014-07-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 847a0e74c4cc by Raymond Hettinger in branch '2.7': Issue #21868: Prevent turtle crash due to invalid undo buffer size. http://hg.python.org/cpython/rev/847a0e74c4cc -- nosy: +python-dev ___ Python tracker

[issue22019] ntpath.join() error with Chinese character Path

2014-07-20 Thread StupidHod
StupidHod added the comment: You are correct,the resultpath is unicode and path is str.Tks for your comments. 2014-07-21 10:15 GMT+08:00 Ezio Melotti : > > Ezio Melotti added the comment: > > Agreed. Make sure that the arguments you are passing to ntpath.join() > have the same type (i.e. eithe

[issue22019] ntpath.join() error with Chinese character Path

2014-07-20 Thread Ezio Melotti
Ezio Melotti added the comment: Agreed. Make sure that the arguments you are passing to ntpath.join() have the same type (i.e. either both unicode, or both string). -- nosy: +ezio.melotti resolution: -> not a bug stage: -> resolved status: open -> closed

[issue22019] ntpath.join() error with Chinese character Path

2014-07-20 Thread Zachary Ware
Zachary Ware added the comment: What type are your arguments, str, unicode, or a mix? I can reproduce your issue using a unicode and a str containing a non-ASCII character, while any other combination "works": >>> import os >>> os.path.join('test', 'test\x85') 'test\\test\x85' >>> os.path.joi

[issue22019] ntpath.join() error with Chinese character Path

2014-07-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue22019] ntpath.join() error with Chinese character Path

2014-07-20 Thread StupidHod
New submission from StupidHod: When ntpath.join() works with a path that with Chinese character ,a unicode Decode error will happen. detailes as: UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 0: ordinal not in range(128) As the interparter said,it happened at result_path

[issue1152248] Add support for reading records with arbitrary separators to the standard IO stack

2014-07-20 Thread Andrew Barnert
Changes by Andrew Barnert : Added file: http://bugs.python.org/file36009/pep-peek.txt ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1152248] Add support for reading records with arbitrary separators to the standard IO stack

2014-07-20 Thread Andrew Barnert
Changes by Andrew Barnert : Added file: http://bugs.python.org/file36008/pep-newline.txt ___ Python tracker ___ ___ Python-bugs-list mailing

[issue22018] signal: accept socket for signal.set_wakeup_fd()

2014-07-20 Thread Guido van Rossum
Guido van Rossum added the comment: My worry is that somehow a program has a fd that refers to both a file and a socket. But I agree that changing the API is not a great option either. -- ___ Python tracker __

[issue16778] Logger.findCaller needs to be smarter

2014-07-20 Thread Michael Rohan
Michael Rohan added the comment: I recently implemented a custom logger derived from Logger and to get the reporting of modules, etc, correct, I implemented the findCaller using the same code as library code with the minor change of if filename == _srcfile: to if filename in [logging._srcfile,

[issue22001] containers "same" does not always mean "__eq__".

2014-07-20 Thread Jim Jewett
Jim Jewett added the comment: Ah... "be the same object or compare equal" sounds much better. I don't want "same" to sound like an informal wording for equal, because getting rid of the confusion over NaN and similar objects is the whole point of the revision. On the other hand, I don't want

[issue22018] signal: accept socket for signal.set_wakeup_fd()

2014-07-20 Thread STINNER Victor
STINNER Victor added the comment: I don't understand. My patch works for files and sockets on all platforms. What is the problem? You don't like the idea of checking the file type? -- ___ Python tracker ___

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Claudiu Popa
Claudiu Popa added the comment: This seems indeed like a weaker version of ThreadPoolExecutor. Here's how your example looks with it, not very different and still easy to understand and grasp: from concurrent.futures import ThreadPoolExecutor from urllib.request import urlretrieve with Threa

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Tin Tvrtković
Tin Tvrtković added the comment: For your examples, my first instinct would be to use a thread pool executor. It's a nice high level API and can already do the aggregate join. -- nosy: +tinchester ___ Python tracker

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Even the Java API doesn't look very useful. This isn't a Java-only concept. It is widely available. Here's a sample: c++ "thread_group provides for a collection of threads that are related in some fashion." http://www.boost.org/doc/libs/1_35_0/doc/html/

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- Removed message: http://bugs.python.org/msg223544 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: c++ "thread_group provides for a collection of threads that are related in some fashion." http://www.boost.org/doc/libs/1_35_0/doc/html/thread/thread_management.html#thread.thread_management.threadgroup perl "Thread::Pool - group of threads for performing si

[issue22018] signal: accept socket for signal.set_wakeup_fd()

2014-07-20 Thread Guido van Rossum
Guido van Rossum added the comment: So perhaps an int or a socket? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue22003] BytesIO copy-on-write

2014-07-20 Thread David Wilson
David Wilson added the comment: I'm not sure the "read only buffer" test is strong enough: having a readonly view is not a guarantee that the data in the view cannot be changed through some other means, i.e. it is read-only, not immutable. Pretty sure this approach is broken. What about the al

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +Christian.Tismer, aleax, kristjan.jonsson, lemburg ___ Python tracker ___ ___ Python-bugs-lis

[issue7676] IDLE shell shouldn't use TABs

2014-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: To continue and expand some things I said in various messages above... The reason Shell does not and indeed should not have a secondary line prompt is that in Shell, '>>> ' means 'Enter a statement:' rather than just a line. Being able to enter, edit, and reca

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: > The example looks like something you could use concurrent.futures for The example was minimal to show how it works. The concept of having groups of related threads is perfectly general. It is a tool for organizing and reasoning about code more complex t

[issue22018] signal: accept socket for signal.set_wakeup_fd()

2014-07-20 Thread STINNER Victor
STINNER Victor added the comment: > Perhaps the API should take a socket object on Windows to avoid any confusion? I don't know if the feature is useful, but signal.set_wakeup_fd() works on Windows since at least Python 2.7 and accepts files. Only supporting sockets would be a regression. ---

[issue22018] signal: accept socket for signal.set_wakeup_fd()

2014-07-20 Thread Guido van Rossum
Guido van Rossum added the comment: Perhaps the API should take a socket object on Windows to avoid any confusion? -- ___ Python tracker ___ _

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : Removed file: http://bugs.python.org/file35998/parallel_download_application.py ___ Python tracker ___ ___ Pyth

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file36007/parallel_download_application.py ___ Python tracker ___ ___ Python

[issue22018] signal: accept socket for signal.set_wakeup_fd()

2014-07-20 Thread STINNER Victor
STINNER Victor added the comment: Guido wrote: "I don't know much about how sockets are implemented on Windows; is there a guarantee that the space of possible socket fds doesn't overlap the space of possible stream fds?" Python has a low-level _PyVerify_fd() which uses the __pioinfo private a

[issue22002] Make full use of test discovery in test subpackages

2014-07-20 Thread Mark Lawrence
Mark Lawrence added the comment: I'm getting lost in all the enhancement requests for tests. How does this relate to e.g. 16748 or 10572? -- nosy: +BreamoreBoy ___ Python tracker _

[issue22017] Bad reference counting in the _warnings module

2014-07-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8106f91fccd6 by Benjamin Peterson in branch '2.7': correct ref counting of default_action (closes #22017) http://hg.python.org/cpython/rev/8106f91fccd6 -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed __

[issue22018] signal: accept socket for signal.set_wakeup_fd()

2014-07-20 Thread Guido van Rossum
Guido van Rossum added the comment: I don't know much about how sockets are implemented on Windows; is there a guarantee that the space of possible socket fds doesn't overlap the space of possible stream fds? -- ___ Python tracker

[issue22018] signal: accept socket for signal.set_wakeup_fd()

2014-07-20 Thread STINNER Victor
STINNER Victor added the comment: I tested manually test_signal.test_socket() on Windows 7: the test pass. The test is currently skipped on Windows because the whole TestCase is skipped. Moreover, there is no socket.socketpair() function on Windows. For the manual test, I used asyncio.windows_

[issue22018] signal: accept socket for signal.set_wakeup_fd()

2014-07-20 Thread STINNER Victor
New submission from STINNER Victor: Hi, I'm working on asyncio, someone asked why asyncio cannot be interrupted by CTRL+c (SIGINT): https://code.google.com/p/tulip/issues/detail?id=191 On Windows, select.select() is not interrupted by CTRL+c. To get a reliable behaviour, interrupt select.sele

[issue22007] sys.stdout.write on Python 2.7 is not EINTR safe

2014-07-20 Thread STINNER Victor
STINNER Victor added the comment: I'm interested to work on all EINTR issues, including Python 2. I'm working on a new PEP with Charles-François Natali to address *all* EINTR at once in Python 3.5. If the PEP is accepted, we may fix some EINTR issues on Python 2. Some changes change the behavi

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread R. David Murray
R. David Murray added the comment: The example looks like something you could use concurrent.futures for and get more features besides? -- nosy: +r.david.murray ___ Python tracker _

[issue22011] test_os extended attribute setxattr tests can fail with ENOSPC (Errno 28)

2014-07-20 Thread Ned Deily
Ned Deily added the comment: My reading of the man page is that in the xattr case it can refer to conditions other than just file system full, e.g. https://bugzilla.kernel.org/show_bug.cgi?id=12793. Also, Yannick reported that the volume was apparently not full. -- _

[issue22011] test_os extended attribute setxattr tests can fail with ENOSPC (Errno 28)

2014-07-20 Thread R. David Murray
R. David Murray added the comment: If "insuffcient space" is insufficient disk space (ie: /tmp is full), I don't see any reason the test should cater to that possibility. None of our other tests do. If it means something else, then nevermind. -- nosy: +r.david.murray ___

[issue22007] sys.stdout.write on Python 2.7 is not EINTR safe

2014-07-20 Thread Ned Deily
Ned Deily added the comment: I also can reproduce this on Linux with Python 2.7 but not with 3.4 which uses a different io system. So the question is: is anyone interested in addressing this for Python 2 file objects? -- nosy: +gregory.p.smith stage: -> needs patch title: sys.stdout.

[issue22003] BytesIO copy-on-write

2014-07-20 Thread David Wilson
David Wilson added the comment: New patch also calls unshare() during getbuffer() -- Added file: http://bugs.python.org/file36005/cow3.patch ___ Python tracker ___ __

[issue1152248] Add support for reading records with arbitrary separators to the standard IO stack

2014-07-20 Thread Wolfgang Maier
Changes by Wolfgang Maier : -- nosy: +wolma ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue17131] subprocess.Popen.terminate can raise exception on Posix

2014-07-20 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- assignee: -> gregory.p.smith stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue17665] convert test_wsgiref to idiomatic unittest code

2014-07-20 Thread Mark Lawrence
Mark Lawrence added the comment: Changes were made to this module on #20555. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-b

[issue17131] subprocess.Popen.terminate can raise exception on Posix

2014-07-20 Thread Gregory P. Smith
Gregory P. Smith added the comment: agreed, we could at least do that for the Popen methods. -- ___ Python tracker ___ ___ Python-bugs

[issue13540] Document the Action API in argparse

2014-07-20 Thread paul j3
paul j3 added the comment: I think you want to unlink 9ac347a7f375.diff It's from a different project -- ___ Python tracker ___ ___

[issue22017] Bad reference counting in the _warnings module

2014-07-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22003] BytesIO copy-on-write

2014-07-20 Thread David Wilson
David Wilson added the comment: This version is tidied up enough that I think it could be reviewed. Changes are: * Defer `buf' allocation until __init__, rather than __new__ as was previously done. Now upon completion, BytesIO.__new__ returns a valid, closed BytesIO, whereas previously a val

[issue15376] Refactor the test_runpy walk_package support code into a common location

2014-07-20 Thread Mark Lawrence
Mark Lawrence added the comment: The chain of dependencies goes from here to #15403, #18576 and back here. How do we break this loop? -- nosy: +BreamoreBoy type: -> enhancement versions: +Python 3.5 -Python 3.3, Python 3.4 ___ Python tracker

[issue22017] Bad reference counting in the _warnings module

2014-07-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: > The same kind of fix should also be applied to '_once_registry' and > '_filters'. Oops, no they are correctly refcounted. -- ___ Python tracker

[issue22017] Bad reference counting in the _warnings module

2014-07-20 Thread Xavier de Gaye
New submission from Xavier de Gaye: $ ./python Python 2.7.8+ (2.7:5563f895b215, Jul 20 2014, 18:10:28) [GCC 4.9.0 20140521 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import warnings >>> warnings.defaultaction = 'default' >>> warnings.warn('

[issue21965] Add support for Memory BIO to _ssl

2014-07-20 Thread Geert Jansen
Geert Jansen added the comment: Hi all (pitrou, haypo and all others) can I get some feedback on this patch? Thanks! -- ___ Python tracker ___ __

[issue22002] Make full use of test discovery in test subpackages

2014-07-20 Thread R. David Murray
R. David Murray added the comment: I have no problem with the change to test_email. (I could have sworn I tried unittest.main() in __main__ when I set it up, but I must have screwed something up). I didn't go over the patch line by line, but it looks good to me. -- nosy: +r.david.mur

[issue22001] containers "same" does not always mean "__eq__".

2014-07-20 Thread R. David Murray
R. David Murray added the comment: "must be identical" sounds like "identical twins". I think what you mean is "must be references to the same object or to objects that compare equal". If you don't want to get into the concept of 'references' here, I suppose it could read "must be the same o

[issue13540] Document the Action API in argparse

2014-07-20 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've tried building the docs, but it appears to rely on a local build of Python as well as subversion, neither of which my system can do currently, so I'm hoping someone has a suitable environment to help test the building of the docs. -- ___

[issue13540] Document the Action API in argparse

2014-07-20 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've made another commit to capture Steven's recommendations. I've also merged the work with the latest 2.7 tip, the result of which is the latest diff. I'll commit this in a week or two if there aren't any objections, though I would appreciate a review and e

[issue22000] cross type comparisons clarification

2014-07-20 Thread R. David Murray
R. David Murray added the comment: 'type' and 'class' are two different names for the same concept in python3, so this paragraph simply appears to be out of date and indeed in need of complete rewording. -- nosy: +r.david.murray ___ Python tracker

[issue21999] shlex: bug in posix mode handling of empty strings

2014-07-20 Thread R. David Murray
R. David Murray added the comment: Vinay has a patch improving shlex parsing in issue 1521950, but it doesn't seem to address this case, so I'm adding him as nosy. -- nosy: +r.david.murray, vinay.sajip stage: -> needs patch title: shlex: bug in posix more handling of empty strings -> s

[issue13540] Document the Action API in argparse

2014-07-20 Thread Jason R. Coombs
Changes by Jason R. Coombs : Added file: http://bugs.python.org/file36003/b8c09b766e20.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13540] Document the Action API in argparse

2014-07-20 Thread Jason R. Coombs
Changes by Jason R. Coombs : Added file: http://bugs.python.org/file36001/9ac347a7f375.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue22012] struct.unpack('?', '\x02') returns (False,) on Mac OSX

2014-07-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: > On 20 jul. 2014, at 10:32, Mark Dickinson wrote: > > > Mark Dickinson added the comment: > >> In practice, I doubt that Python's going to meet such platforms in a hurry. > > Hrm; looks like that's not a particularly safe assumption, especially with > old

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: I have a hard time understanding what it would bring in Python's context. Even the Java API doesn't look very useful. -- nosy: +neologix, pitrou ___ Python tracker ___

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue1602] windows console doesn't print or input Unicode

2014-07-20 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks Drekin - I'll point folks to your project as a good place to provide initial feedback, and if that seems promising we can look at potentially integrating the various fixes into Python 3.5 -- ___ Python tracker

[issue22016] Add a new 'surrogatereplace' output only error handler

2014-07-20 Thread Nick Coghlan
New submission from Nick Coghlan: This would be along the same lines as xmlcharrefreplace and backslashreplace, but only affect surrogate escaped characters. Unlike surrogate escape, which reproduces the escaped characters directly in the data stream, this would follow the 'replace' error hand

[issue1602] windows console doesn't print or input Unicode

2014-07-20 Thread Drekin
Drekin added the comment: @Victor Stinner: You are right. So I did it. Here are the links to GitHub and PyPI: https://github.com/Drekin/win-unicode-console, https://pypi.python.org/pypi/win_unicode_console. I also tried to delete the files, but it seems that it is only possible to unlink a fi

[issue21997] Pdb.set_trace debugging does not end correctly

2014-07-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: > # This returns to a '>>>' prompt, At the above line in Terry test, the debugger is not terminated and on linux when I type at this point I get: >>> --Call-- > /home/xavier/etc/.pystartup(21)save_history() -> def save_history(historyPath=historyPath): (Pdb)

[issue1602] windows console doesn't print or input Unicode

2014-07-20 Thread Drekin
Changes by Drekin : Removed file: http://bugs.python.org/file27245/win_unicode_console.py ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue22015] C signal handler doesn't save/restore errno

2014-07-20 Thread STINNER Victor
STINNER Victor added the comment: Ooops, I looked at the wrong function. signal_handler() saves/restores errno. trip_signal() is a function called by signal_handler(). The code is correct. -- resolution: -> not a bug status: open -> closed ___ Pytho

[issue22015] C signal handler doesn't save/restore errno

2014-07-20 Thread STINNER Victor
New submission from STINNER Victor: The signal module has a wakefd feature which calls write(fd) in a signal handler, but the signal handler replaces errno without saving/restoring it. See "Practice 4" in this article: http://www.ibm.com/developerworks/linux/library/l-reent/index.html Attached

[issue22012] struct.unpack('?', '\x02') returns (False, ) when Python is built with clang

2014-07-20 Thread Ned Deily
Changes by Ned Deily : -- title: struct.unpack('?', '\x02') returns (False,) on Mac OSX -> struct.unpack('?', '\x02') returns (False,) when Python is built with clang ___ Python tracker ___

[issue22012] struct.unpack('?', '\x02') returns (False,) on Mac OSX

2014-07-20 Thread Mark Dickinson
Mark Dickinson added the comment: > In practice, I doubt that Python's going to meet such platforms in a hurry. Hrm; looks like that's not a particularly safe assumption, especially with older compilers that might do a "typedef int _Bool". >From http://msdn.microsoft.com/en-us/library/tf4dy80a

[issue22012] struct.unpack('?', '\x02') returns (False,) on Mac OSX

2014-07-20 Thread Mark Dickinson
Mark Dickinson added the comment: For native struct packing / unpacking, it's not even clear to me that this should be considered a bug (though for standard unpacking it definitely is): the primary use-case for native unpacking is unpacking a collection of bytes that was written (from Python,

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- keywords: +patch Added file: http://bugs.python.org/file35999/threadgroup.diff ___ Python tracker ___ __

[issue22013] Add at least minimal support for thread groups

2014-07-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file35998/parallel_download_application.py ___ Python tracker ___ ___ Python

[issue22012] struct.unpack('?', '\x02') returns (False,) on Mac OSX

2014-07-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: > On 19 jul. 2014, at 23:22, Mark Dickinson wrote: > > > Mark Dickinson added the comment: > > The relevant piece of code in the struct module looks like this: > > static PyObject * > nu_bool(const char *p, const formatdef *f) > { >BOOL_TYPE x; >mem

[issue22014] Add summary table for OS exception <-> errno mapping

2014-07-20 Thread Nick Coghlan
Nick Coghlan added the comment: Another idea would be to include fragments of the ASCII art hierarchy throughout the doc, but that's trickier than it sounds, since we just use literalinclude to generate the current one. -- ___ Python tracker

[issue22014] Add summary table for OS exception <-> errno mapping

2014-07-20 Thread Nick Coghlan
New submission from Nick Coghlan: It would be handy if the main OS exception docs at https://docs.python.org/3/library/exceptions.html#os-exceptions included a summary table mapping between exception types and errno names, akin to the one in the original PEP (http://www.python.org/dev/peps/pe