[issue4761] create Python wrappers for openat() and others

2011-01-20 Thread Ross Lagerwall
Ross Lagerwall added the comment: Fixed small #ifdef error with fstatat. -- Added file: http://bugs.python.org/file20460/i4761_v6.patch ___ Python tracker ___ ___

[issue2987] RFC2732 support for urlparse (IPv6 addresses)

2011-01-20 Thread Matt Joiner
Changes by Matt Joiner : -- nosy: +anacrolix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue10935] wsgiref.handlers.BaseHandler and subclasses of str

2011-01-20 Thread Denis S. Otkidach
Denis S. Otkidach added the comment: Phillip, your argument about interfacing with code written in C doesn't work for built-in immutable types like str. Any subclass of str must call str.__new__ thus keeping proper internal state. -- ___ Python tra

[issue10954] No warning for csv.writer API change

2011-01-20 Thread Lennart Regebro
New submission from Lennart Regebro : In Python 2 the file used for csv.writer() should be opened in binary mode, while in Python 3 is should be opened in text mode but with newlines set to ''. This change is neither warned for by python -3, nor is there a fixer for it (and making a fixer woul

[issue10952] Don't normalize module names to NFKC?

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: > b) what if the file system implementation mangles file names. > > I'd use the same approach as with case-insensitive lookups: verify > that the file we read is really the one we want. Only Mac OS X and the HFS+ filesystem normalize filenames (to a variant of

[issue10812] Add some posix functions

2011-01-20 Thread Ross Lagerwall
Ross Lagerwall added the comment: A few small fixes for OS X: It has no return value for sethostid() and sets different errno if permission denied, waitid() is broken - so its disabled, the timeval struct used in futimes and lutimes is defined slightly differently. -- Added file: http:

[issue10954] No warning for csv.writer API change

2011-01-20 Thread Lennart Regebro
Changes by Lennart Regebro : -- nosy: +sjmachin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue10923] Deadlock because of the import lock when loading the utf8 codec

2011-01-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > can't we raise a RuntimeError on a deadlock? Deadlock detection is difficult, and probably impossible if the involved locks don't use the same underlying mechanism. (A lock can be a pthread object, a file opened with os.O_EXCL, and even a loop that te

[issue10954] No warning for csv.writer API change

2011-01-20 Thread John Machin
John Machin added the comment: I believe that both csv.reader and csv.writer should fail with a meaningful message if mode is binary or newline is not '' -- ___ Python tracker

[issue10923] Deadlock because of the import lock when loading the utf8 codec

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: > > can't we raise a RuntimeError on a deadlock? (I mean: deadlock on the import lock) > Deadlock detection is difficult, and probably impossible if the > involved locks don't use the same underlying mechanism If it is impossible to detect deadlocks, can't we

[issue10451] memoryview can be used to write into readonly buffer

2011-01-20 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue10952] Don't normalize module names to NFKC?

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: > There is also issue c) what if the filesystem encoding can only > represent a compatibility character, say U+00B5, but not its NFKC > equivalent, U+03BC? It is the same problem than not being able to write U+03BC with a keyboard: in this setup, don't use U+0

[issue10923] Deadlock because of the import lock when loading the utf8 codec

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If it is impossible to detect deadlocks, can't we raise an exception > if two threads try to import a module at the same time? (change > completly how the import "lock" is handled) > > Antoine changed recently the io module to raise a RuntimeError on > reentr

[issue10935] wsgiref.handlers.BaseHandler and subclasses of str

2011-01-20 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > Phillip, your argument about interfacing with code written in C doesn't work > for built-in immutable types like str. Sure it does. Definitely-str is easier to handle in C than maybe-str-subclass. It doesn't matter that str.__new__ gets called. Othe

[issue10935] wsgiref.handlers.BaseHandler and subclasses of str

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Jean-Paul Calderone added the comment: > > > Phillip, your argument about interfacing with code written in C > doesn't work for built-in immutable types like str. > > Sure it does. Definitely-str is easier to handle in C than > maybe-str-subclass. Well, P

[issue3080] Full unicode import system

2011-01-20 Thread Nick Coghlan
Nick Coghlan added the comment: Victor, could you please create a Reitveld review for this? The auto-review creator can't cope with the Git diffs. -- nosy: +ncoghlan ___ Python tracker

[issue10935] wsgiref.handlers.BaseHandler and subclasses of str

2011-01-20 Thread Andrey Popp
Andrey Popp <8may...@gmail.com> added the comment: I've also sent message[1] to web-sig about this issue. [1]: http://mail.python.org/pipermail/web-sig/2011-January/004986.html -- ___ Python tracker __

[issue3080] Full unicode import system

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: > Victor, could you please create a Reitveld review for this? Yes, but not yet. I have first to cleanup the patch. -- ___ Python tracker ___ __

[issue10923] Deadlock because of the import lock when loading the utf8 codec

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: > If the import lock is changed to raise an exception, > heaps of multi-threaded software will be broken. You are right. It has done so for 12 years already (10011), so it's a bit late to do anything about it. And backward compatibility is very important, so

[issue10923] Deadlock because of the import lock when loading the utf8 codec

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: > for 12 years already (10011) Oops, it's r10011 (to get a nice URL on the commit). -- ___ Python tracker ___

[issue10923] Deadlock because of the import lock when loading the utf8 codec

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: See also issue #9260 for a possible improvment. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue3080] Full unicode import system

2011-01-20 Thread Nick Coghlan
Nick Coghlan added the comment: OK - I'll wait until that is ready before digging into this. -- ___ Python tracker ___ ___ Python-bugs

[issue9260] A finer grained import lock

2011-01-20 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue3080] Full unicode import system

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: > Use "U" format to parse a module name, and "%R" to format a module name > (to escape surrogates characters and add quotes, instead of > "... '%.200s' ..."). See also #8754: repr() is better than str() for other reasons, eg. to see a space at the end of a mo

[issue10955] Possible regression with stdlib in zipfile

2011-01-20 Thread Ronald Oussoren
New submission from Ronald Oussoren : I ran into this issue while debugging why py2app doesn't work with python 3.2rc2. The reason seems to be a regression w.r.t. having the stdlib inside a zipfile. Note that I haven't tested this without going through py2app yet. py2app basicly recreates a m

[issue10955] Possible regression with stdlib in zipfile

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: It should be a regression introduced by #8611 or #9425. -- nosy: +haypo ___ Python tracker ___ ___

[issue10955] Possible regression with stdlib in zipfile

2011-01-20 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +georg.brandl priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mai

[issue10956] file.write and file.read don't handle EINTR

2011-01-20 Thread Mark Florisson
New submission from Mark Florisson : In both Python versions EINTR is not handled properly in the file.write and file.read methods. - file.write - In Python 2, file.write can write a short amount of bytes, and when it is interrupted there is no w

[issue10956] file.write and file.read don't handle EINTR

2011-01-20 Thread Mark Florisson
Mark Florisson added the comment: Here is fread.py (why can you only attach one file at a time? :P) -- Added file: http://bugs.python.org/file20463/fread.py ___ Python tracker _

[issue10955] Possible regression with stdlib in zipfile

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: zipimport decodes filenames of the archive from cp437 or UTF-8 (depending on a flag in each file entry). Python has a builtin UTF-8 codec, but no cp437 builtin codec. You should try to add encodings/cp437.py to your python3.2/ directory, or to build a ZIP arc

[issue10955] Possible regression with stdlib in zipfile

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: Restore priority to normal: this is a workaround, and a better fix cannot be done before 3.2 final. -- priority: release blocker -> normal ___ Python tracker

[issue10956] file.write and file.read don't handle EINTR

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: What behaviour would you expect instead? -- nosy: +pitrou versions: -Python 2.5, Python 2.6, Python 3.1 ___ Python tracker ___ ___

[issue10956] file.write and file.read don't handle EINTR

2011-01-20 Thread Mark Florisson
Mark Florisson added the comment: I think this sums it up: file.write, on EINTR, could decide to continue writing if no Python signal handler raised an exception. Analogously, file.read could decide to keep on reading on EINTR if no Python signal handler raised an exception. --

[issue10956] file.write and file.read don't handle EINTR

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oops, sorry, had missed the relevant part in your original message. -- ___ Python tracker ___ ___ P

[issue10956] file.write and file.read don't handle EINTR

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > file.write, on EINTR, could decide to continue writing if no Python > signal handler raised an exception. > Analogously, file.read could decide to keep on reading on EINTR if no > Python signal handler raised an exception. Ok. This would only be done in buffe

[issue10956] file.write and file.read don't handle EINTR

2011-01-20 Thread Mark Florisson
Mark Florisson added the comment: > Ok. This would only be done in buffered mode, though, so your fwrite.py > example would have to be changed slightly (drop the ",0" in fdopen()). Indeed, good catch. So apparently file.write (in buffered mode) is also "incorrect" in Python 3. -- Add

[issue10948] Trouble with dir_util created dir cache

2011-01-20 Thread Diego Queiroz
Diego Queiroz added the comment: "I would agree if mkpath were a public function." So It is better to define what a "public function" is. Any function in any module of any project, if it is indented to be used by other modules, it is public by definition. If new people get involved in distuti

[issue10957] Python FAQ grammar error

2011-01-20 Thread Jerry Seutter
New submission from Jerry Seutter : Section 4.1 of the Python FAQ (http://www.python.org/dev/faq/) contains a grammar error: The sentence I am referring to says: "If you are developing on OS X for Python 2.x and will not be working with the OS X-specific modules from the standard library, the

[issue10955] Possible regression with stdlib in zipfile

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: The regression was introduced in r85690: use the correct encoding to decode the filename from the ZIP file. Attached patch fixes the bootstrap issue. -- keywords: +patch Added file: http://bugs.python.org/file20465/issue10955.patch ___

[issue10958] stat.S_ISLNK() does not wok!

2011-01-20 Thread Марк Коренберг
New submission from Марк Коренберг : ipython session: In [48]: qwe=os.stat('/usr/lib/libstdc++.so.6') In [49]: qwe.st_mode Out[49]: 33188 In [50]: stat.S_ISLNK(qwe.st_mode) Out[50]: False In [51]: stat.S_IFLNK & qwe.st_mode Out[51]: 32768 '/usr/lib/libstdc++.so.6' is really symlink !!! python

[issue10959] mmap crash

2011-01-20 Thread Ross Lagerwall
New submission from Ross Lagerwall : The fix for issue10916 commited in r88022 introduces this line: map_size = st.st_size - offset; If offset > st.st_size, map_size is negative. This should cause the mmap system call to return -1 and set errno. However, given a certain size of offset, since

[issue10958] stat.S_ISLNK() does not wok!

2011-01-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: os.stat() follows symbolic links. You probably want to use os.lstat() instead: http://docs.python.org/library/os.html#os.lstat -- nosy: +amaury.forgeotdarc resolution: -> invalid status: open -> closed ___ Py

[issue10960] os.stat() does not mention that it follow symlinks by default

2011-01-20 Thread Марк Коренберг
New submission from Марк Коренберг : Documentation should say about 'following symlink' in this function. Documentation should advice to use os.lstat() in case when it needed. -- assignee: docs@python components: Documentation messages: 126631 nosy: docs@python, mmarkk priority: normal

[issue10952] Don't normalize module names to NFKC?

2011-01-20 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Thu, Jan 20, 2011 at 8:06 AM, STINNER Victor wrote: .. >> There is also issue c) what if the filesystem encoding can only >> represent a compatibility character, say U+00B5, but not its NFKC >> equivalent, U+03BC? > > It is the same problem than not be

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
New submission from Ron Adam : A collection of small fix's that only effect the new browser mode. * Change title of html pages from "Python ..." to "PyDoc ...". * Fixed unterminated div float for items returned without a header. example: str, None, True, False * Added "topic?key=.

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
Ron Adam added the comment: new patch... Adjusted a comment in the _gettopic method. Everything else the same. -- Added file: http://bugs.python.org/file20468/pydoc_misc_fix.diff ___ Python tracker _

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
Changes by Ron Adam : Removed file: http://bugs.python.org/file20467/pydoc_misc_fix.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10955] Possible regression with stdlib in zipfile

2011-01-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: About the patch: """Break out of this dependency by assuming that the path to the encodings module is ASCII-only.""" The 'path' here is the entry inside the zip file (and does not include the location of the zip file itself), so the comment is right as

[issue10935] wsgiref.handlers.BaseHandler and subclasses of str

2011-01-20 Thread Phillip J. Eby
Phillip J. Eby added the comment: PyString_AsString() only "works on subclasses" if their internal representation is the same as type str. So we can't say "subclass of str" without *also* specifying that the subclass store its contents in exactly the same way as an object of type str... whi

[issue10935] wsgiref.handlers.BaseHandler and subclasses of str

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > PyString_AsString() only "works on subclasses" if their internal > representation is the same as type str. So we can't say "subclass of > str" without *also* specifying that the subclass store its contents in > exactly the same way as an object of type str...

[issue10812] Add some posix functions

2011-01-20 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10953] safely eval serialized dict/list data from arbitrary string over web with no side effects

2011-01-20 Thread Skip Montanaro
Skip Montanaro added the comment: If you intend this to be "safe" in the security sense of the word, I suggest you release it in PyPI and post a note on comp.lang.python (a.k.a. python-l...@python.org) asking people to try and break it. -- nosy: +skip.montanaro

[issue10962] gdb support broken

2011-01-20 Thread Antoine Pitrou
New submission from Antoine Pitrou : This happens when I try to debug a Python process (py3k HEAD in pydebug mode): Traceback (most recent call last): File "/home/antoine/py3k/__svn__/python-gdb.py", line 52, in _type_size_t = gdb.lookup_type('size_t') RuntimeError: No type named size_t.

[issue10962] gdb support broken

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: $ gdb --version GNU gdb (GDB) 7.1-1mdv2010.1 (Mandriva Linux release 2010.1) -- ___ Python tracker ___

[issue10962] gdb support broken

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: And bizarrely, test_gdb runs fine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10962] gdb support broken

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Er, for some reason it seems to have just stopped happening. -- resolution: -> works for me status: open -> pending ___ Python tracker ___ ___

[issue10962] gdb support broken

2011-01-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue10963] "subprocess" can raise OSError (EPIPE) when communicating with short-lived processes

2011-01-20 Thread Dave Malcolm
New submission from Dave Malcolm : If we start a short-lived process which finishes before we begin communicating with it (e.g. by crashing), we can receive a SIGPIPE due to the receiving process no longer existing. This becomes an EPIPE, which becomes an: OSError: [Errno 32] Broken pipe Ar

[issue10963] "subprocess" can raise OSError (EPIPE) when communicating with short-lived processes

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It could be argued that this is incorrect, as it masks under-reads of > stdin by the subprocess. However I believe a sanely-written subprocess > ought to indicate success/failure back with its return code. It seems quite orthogonal. The subprocess could hav

[issue10959] mmap crash

2011-01-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +georg.brandl stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue10959] mmap crash

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is an updated patch which also caters to the Windows side of things. -- Added file: http://bugs.python.org/file20470/mmap_10959.patch ___ Python tracker _

[issue10845] test_multiprocessing failure under Windows

2011-01-20 Thread Brett Cannon
Changes by Brett Cannon : -- priority: normal -> critical ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10959] mmap crash

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r88131 (3.2), r88132 (3.1) and r88133 (2.7). Thank you! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue4761] create Python wrappers for openat() and others

2011-01-20 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue4819] Misc/cheatsheet needs updating

2011-01-20 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Misc/cheatsheet has been removed in r88127. Should this be closed? -- ___ Python tracker ___

[issue4819] Misc/cheatsheet needs updating

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, perhaps Marc-André wants to revive it. Otherwise, suggest closing indeed. -- assignee: docs@python -> nosy: +lemburg stage: -> needs patch status: open -> pending ___ Python tracker

[issue4819] Misc/cheatsheet needs updating

2011-01-20 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Updating the cheat sheet would be a great summer of code like project. We are considering using the cheat sheet as basis for a flyer in the PSF marketing material project. Please add it back and add a note to it, that it currently is missing a few langua

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2011-01-20 Thread Brett Cannon
Brett Cannon added the comment: Filed a bug with LLVM/Clang: http://llvm.org/bugs/show_bug.cgi?id=9014 -- ___ Python tracker ___ ___

[issue4819] Misc/cheatsheet needs updating

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Updating the cheat sheet would be a great summer of code like project. > We are considering using the cheat sheet as basis for a flyer in the > PSF marketing material project. IMO it's not only about updating. It's about converting it to some proper markup fo

[issue10887] Add link to development ML

2011-01-20 Thread anatoly techtonik
anatoly techtonik added the comment: Link on group description page to FOTP project site. I thought that https://bitbucket.org/tarek/distutils2/wiki/Home is that site. -- ___ Python tracker __

[issue10906] wsgiref should mention that CGI scripts usually expect HTTPS variable to be set to 'on'

2011-01-20 Thread anatoly techtonik
anatoly techtonik added the comment: The problem that most scripts check for 'on', and not for '1'. http://www.cgi101.com/book/ch3/text.html More than that - I don't know any servers that set this to '1', except mod_wsgi, and perhaps other implementations that follow this wsgiref. mod_wsgi e

[issue10955] Possible regression with stdlib in zipfile

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: Le jeudi 20 janvier 2011 à 18:15 +, Amaury Forgeot d'Arc a écrit : > But if the zip file contains the stdlib *and* some other custom > modules with cp437 names, the whole operation will fail; it can be the > case with py2exe applications. The ASCII fallback

[issue10906] wsgiref should mention that CGI scripts usually expect HTTPS variable to be set to 'on'

2011-01-20 Thread Graham Dumpleton
Graham Dumpleton added the comment: As has been pointed out to you already in other forums, the correct way of detecting in a compliant WSGI application that a SSL connection was used is to check the value of the wsgi.url_scheme variable. If your code does not do this then it is not a complia

[issue10952] Don't normalize module names to NFKC?

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: > A packaging mechanism that prepares code developed on a Latin-1 > filesystem for distribution, would have to NFKC-normalize > filenames before encoding them using UTF-8. It causes portability issues: if you copy a non-ASCII module on a new host, the program

[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2011-01-20 Thread Sam Bull
Sam Bull added the comment: I think there's a much simpler solution to this ticket than the retry logic that's currently in place. The code originally avoided the infinite recursion by checking to see if the previous request had already submitted the auth credentials that would be used in th

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2011-01-20 Thread Brett Cannon
Brett Cannon added the comment: Chris Lattner from LLVM says that this has been fixed in their mainline and that to work around it in LLVM 2.8 one should build with the -no-integrated-as flag. -- resolution: -> fixed status: open -> closed ___ Pyt

[issue4819] Misc/cheatsheet needs updating

2011-01-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Perhaps the cheatsheet can be transferred to a wiki page and we can put out a comp.lang.python call for updates. Also, +1 on the summer of code idea. -- nosy: +rhettinger ___ Python tracker

[issue3341] "Suggest a change" link

2011-01-20 Thread anatoly techtonik
anatoly techtonik added the comment: Still actual, esp. with this - http://google-opensource.blogspot.com/2011/01/make-quick-fixes-quicker-on-google.html and this http://codemirror.net/ -- status: closed -> open ___ Python tracker

[issue10964] Mac installer need not add things to /usr/local

2011-01-20 Thread Russell Owen
New submission from Russell Owen : The Mac installer alters the user's $PATH to put /Library/Frameworks/Python.Framework/Versions/Current/bin on the $PATH before /usr/local/bin and /usr/bin. This is a good idea in my opinion. But the installer *also* installs numerous symlinks in /usr/local/bi

[issue10965] dev task of documenting undocumented APIs

2011-01-20 Thread Brett Cannon
New submission from Brett Cannon : Once the docs are built using Python 3, then the coverage results can be used by people wanting to contribute as something to do. Should also mention in the task that some APIs should probably be private: http://mail.python.org/pipermail/python-dev/2010-Novem

[issue10965] dev task of documenting undocumented APIs

2011-01-20 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +Build 3.x documentation using python3.x ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10966] eliminate use of ImportError implicitly representing TestSkipped

2011-01-20 Thread Brett Cannon
New submission from Brett Cannon : test.regrtest considers an ImportError to be a test to skip. It then uses this info to decide what skipped tests were expected (or not) based on a list kepted in regrtest.py. For detecting compiler failures, an ImportError should be a test error or failure.

[issue10966] eliminate use of ImportError implicitly representing TestSkipped

2011-01-20 Thread Brett Cannon
Brett Cannon added the comment: Once the proper function in test.support comes about then a dev task to help move everything over can be created. And then once all needed test modules have been switched over the ImportError try/except statement in regrtest can be removed. -- ___

[issue10967] move regrtest over to using more unittest infrastructure

2011-01-20 Thread Brett Cannon
New submission from Brett Cannon : test.regrtest is rather old and has not been updated to take advantage of all the latest features in unittest (e.g., test discovery). It might be a rather large undertaking with various bits requiring some changes (e.g., getting away from raising exceptions f

[issue10952] Don't normalize module names to NFKC?

2011-01-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: > There is also issue c) what if the filesystem encoding can only > represent a compatibility character, say U+00B5, but not its NFKC > equivalent, U+03BC? That should be considered as similar to file systems that just cannot represent certain characters at al

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2011-01-20 Thread Brett Cannon
Brett Cannon added the comment: I have verified that if you add -no-integrated-as as a flag (e.g., through CFLAGS) then ctypes will build. -- ___ Python tracker ___ ___

[issue10956] file.write and file.read don't handle EINTR

2011-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch for Python 3.2+. -- keywords: +patch nosy: +amaury.forgeotdarc stage: -> patch review Added file: http://bugs.python.org/file20472/eintr_io.patch ___ Python tracker

[issue10952] Don't normalize module names to NFKC?

2011-01-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Only Mac OS X and the HFS+ filesystem normalize filenames (to a variant > of NFD). But such normalization is a good thing! I mean that I don't > think that we have anything to do for that. That may well be - I don't have a case where this would cause problem

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
Ron Adam added the comment: A few last minute changes.. I think this will be all. Run topic contents through html.markup. That makes ref:, pep:, and html: links if they exist. (I meant to this earlier.) Fix case where topic reference links are to objects rather than another topic. (applie

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
Changes by Ron Adam : Removed file: http://bugs.python.org/file20468/pydoc_misc_fix.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
Changes by Ron Adam : -- nosy: +eric.araujo, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue4819] Misc/cheatsheet needs updating

2011-01-20 Thread Ezio Melotti
Ezio Melotti added the comment: I agree that it would be nice to have a cheatsheet somewhere, possibly in the official doc and not as a plain txt file in Misc/. FWIW another cheatsheet updated to 2.6 can be found here: http://rgruet.free.fr/PQR26/PQR2.6.html -- keywords: +gsoc nosy: +

[issue3080] Full unicode import system

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: Version 4 of the patch. -- Added file: http://bugs.python.org/file20474/issue3080-4.patch ___ Python tracker ___ ___

[issue3080] Full unicode import system

2011-01-20 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file20448/issue3080-3.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue3080] Full unicode import system

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: Same patch (version 4) generated by svn. -- Added file: http://bugs.python.org/file20475/issue3080-4-svn.patch ___ Python tracker ___ __

[issue9723] pipes.quote() needs to be documented

2011-01-20 Thread Matt Joiner
Matt Joiner added the comment: I agree, I discovered this function (pipes.quote) only through recommendation here: http://stackoverflow.com/questions/4748344/whats-the-reverse-of-shlex-split I suggest that it be added to shlex, perhaps as shlex.quote. While the quoting style it performs, and

[issue4819] Misc/cheatsheet needs updating

2011-01-20 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: FWIW, I updated the first couple of pages. If anyone finds my changes useful, here they are in issue4819.diff. -- keywords: +patch Added file: http://bugs.python.org/file20476/issue4819.diff ___ Python tracke

[issue3080] Full unicode import system

2011-01-20 Thread STINNER Victor
STINNER Victor added the comment: You can review the patch with Rietveld: http://codereview.appspot.com/3972045 -- ___ Python tracker ___

[issue10968] Timer class inheritance issue

2011-01-20 Thread Benjamin VENELLE
Changes by Benjamin VENELLE : -- assignee: collinwinter components: Benchmarks nosy: Kain94, collinwinter priority: normal severity: normal status: open title: Timer class inheritance issue type: behavior ___ Python tracker

[issue10968] Timer class inheritance issue

2011-01-20 Thread Benjamin VENELLE
New submission from Benjamin VENELLE : Hi, Due to Timer's object creation behavior, it is impossible to subclass it. This kind of declaration will result to an exception raising: class A(Timer): pass -- components: +Library (Lib) -Benchmarks versions: +Python 3.1

  1   2   >