[issue10877] Make Tools (and subdirs) a package (and subpackages)

2011-01-11 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I don't think this is a good idea. For one thing, it only works in a checkout or source tarball, something that most users aren't going to work with. If we now publish that they can do import Tools.demo.redemo and so on, confusion will be

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2011-01-11 Thread Christoph Gohlke
Changes by Christoph Gohlke cgoh...@uci.edu: -- nosy: +cgohlke ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6792 ___ ___ Python-bugs-list mailing

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread Tomas Kubes
Tomas Kubes mr_na...@centrum.cz added the comment: I am sorry, but as an original initiator of the the issue I find the argumentation of Alexander Belopolsky vastly ridiculous. Are you really seriously convinced that an average person responsible for Python application development and

[issue4112] Subprocess: Popen'ed children hang due to open pipes

2011-01-11 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: This issue has been fixed on 3.2. -- nosy: +rosslagerwall versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4112

[issue10556] test_zipimport_support mucks up with modules

2011-01-11 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Even more special: put a test_doctest in first and the attempt to clean up sys.modules in test_zipimport_support leaves things alone so the _ssl module doesn't break (test_doctest just leaves sys.modules alone and doesn't even try to remove

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Classic user developer impedance mismatch. =) I agree that Python should guard its users against crazy standards that creep into standard lib, because nobody had time to think about pythonic API. I propose the following change:

[issue1667546] Time zone-capable variant of time.localtime

2011-01-11 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: IIUC #9527 is about datetime and this request is about time.localtime, i.e. about making the API more intuitive for users. I don't think this issue should be closed. -- status: pending - open

[issue10556] test_zipimport_support mucks up with modules

2011-01-11 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Fixed for 3.2 in r87925. (I simply dropped the attempt to restore sys.modules to its original state from test_zipimport_support) -- ___ Python tracker rep...@bugs.python.org

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-11 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: I said: I wonder what result you get with the same browser, at the web page http://rishida.net/tools/conversion/ by entering the euro symbol into the Characters entry field, and choosing convert. But I couldn't wait, so I ran a test

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-11 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: R. David: Pierre said: BytesFeedParser only uses the ascii codec ; if the header has non ASCII characters (filename in a multipart/form-data), they are replaced by ? : the original file name is lost. So for the moment I leave the text

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-11 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: In my previous message I quoted Pierre rightly cautioning about headers containing non-ASCII... and that BytesFeedParser doesn't, so using it to parse headers may be questionable. So I decided to try one... I show the Live HTTP headers

[issue10885] multiprocessing docs

2011-01-11 Thread Ross Lagerwall
New submission from Ross Lagerwall rosslagerw...@gmail.com: I think there is a small docs bug: it says that multiprocessing.Semaphore is a bounded semaphore. Shouldn't it says that it is just a semaphore. Attached is a patch to fix this. -- components: Library (Lib) files:

[issue10886] Unhelpful backtrace for multiprocessing.Queue

2011-01-11 Thread Torsten Landschoff
New submission from Torsten Landschoff t.landsch...@gmx.net: When trying to send an object via a Queue that can't be pickled, one gets a quite unhelpful traceback: Traceback (most recent call last): File /usr/lib/python2.6/multiprocessing/queues.py, line 242, in _feed send(obj)

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread Tomas Kubes
Tomas Kubes mr_na...@centrum.cz added the comment: Hello, I find this version very clear. Thanks Tomas -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7229 ___

[issue10887] Add link to development ML

2011-01-11 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: Tarek, can you add link to http://groups.google.com/group/the-fellowship-of-the-packaging to distutils dev pages at https://bitbucket.org/tarek/distutils2/wiki/Home ? -- assignee: tarek components: Distutils2 messages: 125998

[issue10882] Add os.sendfile()

2011-01-11 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Thanks for writing this. Follows my comments. I would focus on trying to provide a unique interface across all platforms. Being sendfile() not a standard POSIX I think we should not worry about providing a strict one-to-one interface.

[issue10882] Add os.sendfile()

2011-01-11 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Also, I think it should be optional since when it's NULL, sendfile() implicitly assumes the current offset (file's tell() return value). This is true on Linux, at least. Not sure about other platforms but my best guess is that it

[issue10884] pkgutil EggInfoDistribution requirements for .egg-info metadata

2011-01-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks Michael for the report and fix. Would you add a test for that fix? Minor note: I follow docstrings good practices in my commit messages, making sure that the first line makes sense on its own (it’s used in short logs) and wrapping my

[issue10848] Move test.regrtest from getopt to argparse

2011-01-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: -easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10848 ___ ___ Python-bugs-list mailing

[issue10882] Add os.sendfile()

2011-01-11 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Just to be clear: There are 3 different interfaces. The basic one with the offset included no headers/trailers is supported by all the platforms, including Linux. The one with offset as None is only supported by Linux. The one with

[issue10868] ABCMeta.register() should work as a decorator

2011-01-11 Thread Edoardo Spadolini
Edoardo Spadolini keri...@gmail.com added the comment: Yeah, I should've waited for the test to finish, but come on, it was just a small change :( Now I know why you should always test everything at least, sorry about that :) -- ___ Python tracker

[issue10888] os.stat(filepath).st_mode gives wrong 'executable permission' result

2011-01-11 Thread dobbelaj
New submission from dobbelaj jeroen.dobbela...@gmail.com: The 'os.stat' method on windows seems to be hardcoded to check the file name extension when computing the 'executable permission flag' (st_mode). (See Modules/posixmodule.c: win32_stat and win32_wstat) Currently, it checks for :

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2011-01-11 Thread Ulrich Seidl
Ulrich Seidl ulrich.se...@muneda.com added the comment: I would suggest adding an additional except branch to (at least) the following functions of ElementTree.py: * _encode, * _escape_attrib, and * _escape_cdata The except branch could look like: except (UnicodeDecodeError): return

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-11 Thread Timothy Farrell
Changes by Timothy Farrell tfarr...@owassobible.org: -- nosy: -tercero12 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___ ___

[issue1667546] Time zone-capable variant of time.localtime

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Jan 11, 2011 at 5:06 AM, anatoly techtonik rep...@bugs.python.org wrote: .. IIUC #9527 is about datetime and this request is about time.localtime, This is correct, but did you notice what I wrote in my last

[issue10882] Add os.sendfile()

2011-01-11 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: I agree then, although I'm not sure there are other functions in the os module (or anywhere else) having a variable number of args depending on the platform. I wanted to try your patch but it does not apply cleanly (python 3.2, revision

[issue10882] Add os.sendfile()

2011-01-11 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: I agree then, although I'm not sure having a function with a variable number of args depending on the platform is acceptable. I wanted to try your patch but it does not apply cleanly (python 3.2, revision 87930). --

[issue10882] Add os.sendfile()

2011-01-11 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- Removed message: http://bugs.python.org/msg126007 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10882 ___

[issue10556] test_zipimport_support mucks up with modules

2011-01-11 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: 2.7 and 3.1 don't appear to exhibit the fault, so closing this one. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Jan 11, 2011 at 4:55 AM, anatoly techtonik rep...@bugs.python.org wrote: .. I propose the following change: .. http://docs.python.org/library/time.html#time.daylight -  Nonzero if a DST timezone is defined. + ..

[issue9051] Improve pickle format for aware datetime instances

2011-01-11 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9051 ___

[issue9118] help() on a property descriptor launches interactive help

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Backported to 3.1 (r87934) and 2.7 (r87935). -- resolution: accepted - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9118

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2011-01-11 Thread david
david db.pub.m...@gmail.com added the comment: Thank you @loewis. However, I don't see where set_default_verify_path - is defined in the patch you have provided. It would also be nice to do something like this: import ssl ... ssl._FORCE_VERIFICATION = True and even better would be to

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: New patch needed to address the issue of time.strftime() accepting %Y when year is 1900 and other similar oddities. See msg107402 above. Also a patch for datetime.py is needed. -- stage: patch review - needs

[issue4112] Subprocess: Popen'ed children hang due to open pipes

2011-01-11 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4112 ___ ___

[issue5109] array.array constructor very slow when passed an array object.

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Georg, Is it too late to commit this for 3.2? -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5109

[issue10882] Add os.sendfile()

2011-01-11 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: I've just tried it against r87935 and it applies cleanly. Perhaps you didn't apply the patch correctly (it requires -p1 since it was a Mercurial diff), try: patch -p1 sendfile_v2.patch With regards to the different arguments, I

[issue9860] Building python outside of source directory fails

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Here is a related bug: $ make patchcheck ./python.exe ../py3k-commit/Tools/scripts/patchcheck.py Getting the list of files that have been added/changed ... need a checkout to get modified files [49399 refs] make: ***

[issue10889] Fix range slicing and indexing to handle lengths sys.maxsize

2011-01-11 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: Enhancement to range to correctly handle indexing and slicing when len(x) raises OverflowError. Note that this enables correct calculation of the length of such ranges via: def _range_len(x): try: length

[issue10888] os.stat(filepath).st_mode gives wrong 'executable permission' result

2011-01-11 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: The Read Execute permission listed on a file's property window doesn't really mean anything. Executables only need read permissions [0] to actually be executed. Additionally, in terms of _stat, Windows does its check by extension [1] but they

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread Tomas Kubes
Tomas Kubes mr_na...@centrum.cz added the comment: why do you think someone reading about time.daylight actually wants to check if DST is currently active? If you are not familiar with the cryptic names of POSIX but live in normal world, time.daylight sounds like a quite probable place where

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7229 ___ ___ Python-bugs-list

[issue9305] Don't use east/west of UTC in date/time documentation

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I've noticed that the time module docstring handles this issue rather nicely: help('time') ... timezone -- difference in seconds between UTC and local standard time altzone -- difference in seconds between UTC

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Jan 11, 2011 at 11:20 AM, Tomas Kubes rep...@bugs.python.org wrote: .. You should try to think like a person that does not have any background knowledge of underlying libraries but just looks through the time

[issue10885] multiprocessing docs

2011-01-11 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- assignee: - d...@python components: +Documentation nosy: +d...@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10885 ___

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread Tomas Kubes
Tomas Kubes mr_na...@centrum.cz added the comment: I think you are confusing the purposes of a reference manual with that of a tutorial or an FAQ collection. There is a fine line between them. Even though reference manual should not be a substitute for a tutorial, I still believe it should

[issue10889] Fix range slicing and indexing to handle lengths sys.maxsize

2011-01-11 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Having started work on this, the code changes are probably too significant to consider adding it to 3.2 at this late stage. Writing my own slice interpretation support which avoids the ssize_t limit is an interesting exercise :) --

[issue10875] Update Regular Expression HOWTO

2011-01-11 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg125954 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875 ___

[issue10875] Update Regular Expression HOWTO

2011-01-11 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Correction: r87912 and r87913 for 3.x -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875 ___

[issue10888] os.stat(filepath).st_mode gives wrong 'executable permission' result

2011-01-11 Thread Jeroen Dobbelaere
Jeroen Dobbelaere jeroen.dobbela...@gmail.com added the comment: Some more background: The actual issue was initially detected when observing that the 'tarfile' package produced a tar containing different permissions, depending on the script being executed by 'cygwin python' or 'native

[issue1397474] timeit execution enviroment

2011-01-11 Thread rurpy the second
rurpy the second ru...@yahoo.com added the comment: I find the changes suggested by T Reedy and refined in the patch by E Bendersky an improvement. However, I found the following things confused me when reading it: ...constructor creates a function... the constructor creates a Timeit

[issue10889] Fix range slicing and indexing to handle lengths sys.maxsize

2011-01-11 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Attached patch moves range indexing and slicing over to PyLong and updates the tests accordingly. Georg, I think this really makes the large range story far more usable - if you're OK with it, I would like to check it in this week so it lands

[issue10888] os.stat(filepath).st_mode gives wrong 'executable permission' result

2011-01-11 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: The actual issue was initially detected when observing that the 'tarfile' package produced a tar containing different permissions, depending on the script being executed by 'cygwin python' or 'native python'. I would expect that. Each of those

[issue10889] Fix range slicing and indexing to handle lengths sys.maxsize

2011-01-11 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Oh, and to explain my negative comment from earlier: that was my reaction when I realised I also needed to write PyLong versions of _PyEval_SliceIndex and PySlice_GetIndicesEx to make range slicing with large integers work properly. As it

[issue2650] re.escape should not escape underscore

2011-01-11 Thread yeswanth
Changes by yeswanth swamiyeswa...@yahoo.com: -- nosy: +swamiyeswanth ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2650 ___ ___ Python-bugs-list

[issue10889] Fix range slicing and indexing to handle lengths sys.maxsize

2011-01-11 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: It's a moderate chunk of code, but lots of new tests... I'd say go for it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10889 ___

[issue5109] array.array constructor very slow when passed an array object.

2011-01-11 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Should be fine to apply. I trust all the different code paths for different types are tested? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5109

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: It seems to me that the quoted function from bzr def local_time_offset(t=None): Return offset of local zone from GMT, either at present or at time t. # python2.3 localtime() can't take None if t is None: t = time.time()

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Jan 11, 2011 at 1:56 PM, Georg Brandl rep...@bugs.python.org wrote: .. It seems to me that the quoted function from bzr ... would be very helpful to add to the `time` module docs as an example. The problem with

[issue10880] do_mkvalue and 'boolean'

2011-01-11 Thread Sergey Shepelev
Sergey Shepelev temo...@gmail.com added the comment: Here's patch against 2.6 --- a/Python/modsupport.c Tue Aug 24 18:19:58 2010 +0200 +++ b/Python/modsupport.c Tue Jan 11 23:50:40 2011 +0300 @@ -459,6 +459,16 @@ return v; } +case '?': +{ +

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-11 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com added the comment: @Glenn I'm curious what your system (probably Windows since you mention cp-) and browser, and HTTP server is, that you used for that test. Is it possible to capture the data stream for that test? Describe how, and at what stage the

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: On Tue, Jan 11, 2011 at 4:52 PM, Alexander Belopolsky rep...@bugs.python.org wrote: .. http://docs.python.org/library/time.html#time.daylight -  Nonzero if a DST timezone is defined. + .. To check if DST is currently active, use

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: On Tue, Jan 11, 2011 at 9:42 PM, Alexander Belopolsky rep...@bugs.python.org wrote:  I have to agree with the OP that the current state of the docs is not as clear as it could be. In some ways the state of the docs is reflective of the

[issue7229] Manual entry for time.daylight can be misleading

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Jan 11, 2011 at 4:15 PM, anatoly techtonik rep...@bugs.python.org wrote: .. To summarize: What is wrong with my previous proposal if we remove t from params? Not much is wrong with it. If it would come in a

[issue10882] Add os.sendfile()

2011-01-11 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: The patch as-is did not work on Linux. I had to add entries in pyconfig.h.in and configure files in order to make os.sendfile available. Patch is in attachment. -- Added file: http://bugs.python.org/file20357/sendfile_v2.patch

[issue5109] array.array constructor very slow when passed an array object.

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed in revision 87942. @Georg: Yes, I ran coverage and all branches are covered. @Meador: I don't think the old len calculation could handle the case of array object in initial. In any case, I don't find the new

[issue5109] array.array constructor very slow when passed an array object.

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed to 2.7 in revision 87944. -- stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5109

[issue5109] array.array constructor very slow when passed an array object.

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Reverted backport in r87945. -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5109 ___

[issue8957] strptime('%c', ..) fails to parse output of strftime('%c', ..) in non-English locale

2011-01-11 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: time.strptime(s, '%c' ) ? -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8957 ___

[issue8957] strptime('%c', ..) fails to parse output of strftime('%c', ..) in non-English locale

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: time.strptime(s, '%c' ) ? Oh my. It certainly took a long time to recognize a silly mistake! Thanks. -- dependencies: -Use locale.nl_langinfo in _strptime resolution: - invalid

[issue5924] When setting complete PYTHONPATH on Python 3.x, paths in the PYTHONPATH are ignored

2011-01-11 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Unless you think the code is actually incorrect as it stands, it's certainly worse to change it (in whatever respect) than to leave it. -- ___ Python tracker rep...@bugs.python.org

[issue8957] strptime('%c', ..) fails to parse output of strftime('%c', ..) in non-English locale

2011-01-11 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8957 ___

[issue10888] os.stat(filepath).st_mode gives wrong 'executable permission' result

2011-01-11 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Brian: On native Windows, Read Execute has no real affect on applications. Why do you say that? The FILE_EXECUTE permission certainly has a meaning on Windows, see http://msdn.microsoft.com/en-us/library/gg258116(v=vs.85).aspx I agree

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2011-01-11 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thank you @loewis. However, I don't see where set_default_verify_path - is defined in the patch you have provided. It's not defined in the patch, as it is already committed to Python. -- title: some stdlib modules need to be

[issue10882] Add os.sendfile()

2011-01-11 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I would focus on trying to provide a unique interface across all platforms. Being sendfile() not a standard POSIX I think we should not worry about providing a strict one-to-one interface. We absolutely need to expose sendfile as-is. If

[issue10225] Fix doctest runable examples in python manual

2011-01-11 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Doctest runs on .rst files, which are plain text files, finds and reports errors, and reports no errors when the errors are fixed. See #10875 where is was very helpful. So your last comment puzzles me. In any case, your patch is too big to

[issue10225] Fix doctest runable examples in python manual

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Jan 11, 2011 at 6:10 PM, Terry J. Reedy rep...@bugs.python.org wrote: .. Doctest runs on .rst files, which are plain text files, finds and reports errors, and reports no errors when the errors are fixed. See

[issue10888] os.stat(filepath).st_mode gives wrong 'executable permission' result

2011-01-11 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I meant that it doesn't have any effect because it's apparently always set from what I could see, which was poor wording. The TechNet article also made a similar claim. If it is ever not set, then the file clearly can't be executed. --

[issue7057] tkinter doc: more 3.x updates

2011-01-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I used 'manN' FYI, there is a :file:`man{n}` construct where braces mark up replaceable text, like the var element in HTML. -- nosy: +d...@python, eric.araujo -georg.brandl ___ Python tracker

[issue3693] Obscure array.array error message

2011-01-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Extension Modules -Library (Lib) nosy: +alexandre.vassalotti, georg.brandl stage: unit test needed - needs patch versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue9419] RUNSHARED needs LDFLAGS

2011-01-11 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Yes Peter, build outside source tree fail for, fail for me and pass for python developers :). So no idea how to convince them to fix this issue. Next is from my sources for python 2.7 Index: Lib/distutils/tests/test_build_ext.py

[issue8957] strptime('%c', ..) fails to parse output of strftime('%c', ..) in non-English locale

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: My tests were wrong but the problem does exist. I am attaching a script that tests strptime(.., '%c') for all locales installed on my system (an unmodified US Mac OS X 10.6.6). The only failing locale that I

[issue8957] strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales

2011-01-11 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- title: strptime('%c', ..) fails to parse output of strftime('%c', ..) in non-English locale - strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales ___

[issue10885] multiprocessing docs

2011-01-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +asksol, jnoller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10885 ___ ___ Python-bugs-list

[issue4395] Document auto __ne__ generation; provide a use case for non-trivial __ne__

2011-01-11 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +d...@python -georg.brandl stage: - needs patch type: - behavior versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4395

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

2011-01-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I thought of adding 'http://' if not present but that would disable opening files in a file browser. I think that’s a Windows-specific behavior, not a promise of the *web*browser module. -- nosy: +eric.araujo

[issue8957] strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales

2011-01-11 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: - %T is equal for %H:%M:%S - locales with %A and %B are broken on this platform as %c is Appropriate date and time representation (%c) with abbreviations -- ___ Python tracker

[issue9419] RUNSHARED needs LDFLAGS

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: build outside source tree fail for me and pass for python developers :). So no idea how to convince them to fix this issue. I am collecting out of tree build failures in issue 9860. One issue that is easily

[issue8957] strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Jan 11, 2011 at 7:26 PM, Roumen Petrov rep...@bugs.python.org wrote: .. - locales with %A and %B are broken on this platform as %c is Appropriate date and time representation (%c) with abbreviations According to

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-11 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: Pierre said: Since it works the same with 2 browsers and 2 web servers, I'm almost sure it's not dependant on the configuration - but if others can tests on different configurations I'd like to know the result So I showed in my just

[issue9419] RUNSHARED needs LDFLAGS

2011-01-11 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Alexander, I already answer to you case. About the patch it is part of issue3871 ;) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9419

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-11 Thread Etienne Robillard
Etienne Robillard e...@gthcfoundation.org added the comment: On 11/01/11 07:36 PM, Glenn Linderman wrote: Is there a newer standard these browsers are following, that permits UTF-8? Or even requires it? Why is Pierre seeing cp-1252, and I'm seeing UTF-8? I'm running Windows 6.1 (Build

[issue10225] Fix doctest runable examples in python manual

2011-01-11 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Terry, I'm unhappy with the changes to the sorting how-to. IMO, it was a not a net win (transforming code that already ran fine in something doctest would swallow). The code snippets now have the visual clutter of the and

[issue7662] time.utcoffset()

2011-01-11 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I am going to close this as superseded by #9527. All these issues, current, #9527, and #1647654 are really about Python's lack of access to the system timezone information and #9527 seem to be the most appropriate

[issue5516] equality not symmetric for subclasses of datetime.date and datetime.datetime

2011-01-11 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- keywords: -patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5516 ___ ___

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-11 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: Aha! Found a page http://htmlpurifier.org/docs/enduser-utf8.html#whyutf8-support which links to another page http://web.archive.org/web/20060427015200/ppewww.ph.gla.ac.uk/~flavell/charset/form-i18n.html that explains the behavior. The

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-11 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: I notice the version on this issue is Python 3.3, but it affects 3.2 and 3.1 as well. While I would like to see it fixed for 3.2, perhaps it is too late for that, with rc1 coming up this weekend? Could at least the non-deprecated parse

[issue10225] Fix doctest runable examples in python manual

2011-01-11 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: There are two reasons I forward ported the changes. 1. Without running doctest on doc examples, they sometimes have errors either originally, after patches to the doc, or after patches to Python. On other issues, I found 4 errors in the json

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2011-01-11 Thread david
david db.pub.m...@gmail.com added the comment: and what does it do ? -- title: some stdlib modules need to be updated to handle SSL certificate validation - some stdlib modules need to be updated to handle SSL certificate validation ___ Python

[issue10889] Fix range slicing and indexing to handle lengths sys.maxsize

2011-01-11 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Committed as r87948. I added a few large_range tests to those in the patch. I checked that IndexError is raised when appropriate, as well as a specific test for the combination of a large range with a large negative step. --

  1   2   >