[issue12922] StringIO and seek()

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would rather document it in TextIOBase: http://docs.python.org/dev/library/io.html#io.TextIOBase With text I/O streams, tell() returns an arbitrary "position cookie", meaning you can't meaningfully do arithmetic on it: this is why cur-relative seeking and e

[issue11006] warnings with subprocess and pipe2

2011-12-21 Thread Ross Lagerwall
Ross Lagerwall added the comment: Removed the warnings. Thanks. -- assignee: -> rosslagerwall nosy: +rosslagerwall resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker

[issue13636] Python SSL Stack doesn't have a Secure Default set of ciphers

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > By default the Python SSL/TLS Stack (client/server) expose > > unsecure protocols (SSLv2) and unsecure ciphers (EXPORT 40bit DES). > > If there is a problem, it should not be fixed in Python, but in the > underlying library (OpenSSL) or in applications. Pyt

[issue13532] In IDLE, sys.stdout.write and sys.stderr can write any pickleable object

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: This bug is related to #1757057. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue11006] warnings with subprocess and pipe2

2011-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset dc913f73a7fb by Ross Lagerwall in branch '3.2': Issue #11006: Don't issue low level warning in subprocess when pipe2() fails. http://hg.python.org/cpython/rev/dc913f73a7fb New changeset b1b35583967a by Ross Lagerwall in branch 'default': Merge with

[issue9925] Idle doesn't launch

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: This bug looks almost identical to issue4625 which was fixed. The only difference is the French localization aspect. -- nosy: +serwy ___ Python tracker __

[issue12922] StringIO and seek()

2011-12-21 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue8093] IDLE processes don't close

2011-12-21 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> "Restart Shell" command leaves pythonw.exe processes running ___ Python tracker ___

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2011-12-21 Thread Ross Lagerwall
Ross Lagerwall added the comment: getstatusoutput() is broken given that it doesn't work on windows yet it should. I'd also recommend leaving the behavior as is and deprecating the function (and getoutput() while we're at it). A related bug (#10197) also recommends deprecating getstatusoutput

[issue13585] Add contextlib.ContextStack

2011-12-21 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, adding a "Recipes" section for contextlib2 is definitely on my to-do list (along with adding more examples in general). -- ___ Python tracker

[issue13553] Tkinter doesn't set proper application name

2011-12-21 Thread th9
th9 added the comment: No, it apears as "Toplevel". I'm not sure if the program.desktop file has something to do with that, but I didn't manage to get the application name from a desktop file to get used for Tkinter program. And I don't have any Tkinter or Tk app which would do what I'm tryi

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread R. David Murray
R. David Murray added the comment: > _My_ locale is set properly. The problem is all the other > people in the world who do not have their locale set to match > their files on disk; telling them each to fix it is tedious. > But perhaps the OS is the best place to address that, when the > incorr

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread Martin Pool
Martin Pool added the comment: On 22 December 2011 13:15, STINNER Victor wrote: > You cannot pass directly "h\xe9.txt", but if you know the "correct" file > system encoding, you can encode it explicitly using str.encode("utf-8"). My recollection was that there were some cases where you couldn

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread STINNER Victor
STINNER Victor added the comment: > The problem as I see it is this: > > On Linux, filenames are generally (but not always) in UTF-8; people > fairly commonly end up with no locale configured, which causes Python > to decode filenames as ascii. It is easy for this to end up with them > hitting

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread Martin Pool
Martin Pool added the comment: On 22 December 2011 12:32, STINNER Victor wrote: > > STINNER Victor added the comment: > > On 22/12/2011 02:16, Martin Pool wrote: >> The proposal is that in some cases where Python currently assumes >> filenames are ascii on Linux, it ought to instead assume the

[issue13585] Add contextlib.ContextStack

2011-12-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: "I put my version up as a cookbook recipe: http://code.activestate.com/recipes/577981-cleanupmanager-for-with-statements/"; One other idea is to model what I've done with the itertools docs by adding a recipe section. I used it as an incubator for possibl

[issue12930] reindent.py inserts spaces in multiline literals

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: I applied the patch and it failed against the attached "tab_test.py" file. For reference, every '\t' in the file is followed by "Tab". -- nosy: +serwy Added file: http://bugs.python.org/file24074/tab_test.py ___ Python

[issue13585] Add contextlib.ContextStack

2011-12-21 Thread Nick Coghlan
Nick Coghlan added the comment: Updated issue title to reflect what I'll eventually be proposing (once the ContextStack API has had a chance to mature on PyPI as part of contextlib2) -- title: Add contextlib.CleanupManager -> Add contextlib.ContextStack ___

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread STINNER Victor
STINNER Victor added the comment: On 22/12/2011 02:16, Martin Pool wrote: > The proposal is that in some cases where Python currently assumes > filenames are ascii on Linux, it ought to instead assume they are > utf-8. Oh, I expected a use case describing the problem, not the proposed solution

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread Martin Pool
Martin Pool added the comment: On 22 December 2011 11:21, STINNER Victor wrote: > This discussion is becoming very long, I didn't remember the original > purpose. The proposal is that in some cases where Python currently assumes filenames are ascii on Linux, it ought to instead assume they are

[issue11829] inspect.getattr_static code execution with meta-metaclasses

2011-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f33758df19a by Michael Foord in branch '3.2': Metaclasses with metaclasses with a __dict__ descriptor can no longer trigger code execution with inspect.getattr_static. http://hg.python.org/cpython/rev/8f33758df19a -- nosy: +python-dev res

[issue694339] IDLE: Dedenting with Shift+Tab

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: I applied the patch and encountered a problem. MultiCall.py is replacing "" with "". When this happens, the logic for rebinding "<>" fails. event_info('<>') returns ('', '', '') event_info('<>') returns ('', '') This is with 3.3a0 on Ubuntu 11.04.

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread STINNER Victor
STINNER Victor added the comment: >> Nope. The locale encoding is chosen using LC_ALL, LC_CTYPE or LANG >> variable: use the first non-empty variable. LC_MESSAGES doesn't affect >> the encoding. Example: > > That's good to know, thanks. Only leaves the case where setlocale > is called again wi

[issue13585] Add contextlib.CleanupManager

2011-12-21 Thread Nick Coghlan
Nick Coghlan added the comment: My earlier descriptions here aren't really adequate - as soon as I started putting contextlib2 together, this CleanupManager idea quickly morphed into ContextStack [1], which is a far more powerful tool for manipulating context managers in a way that doesn't ne

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread STINNER Victor
STINNER Victor added the comment: This discussion is becoming very long, I didn't remember the original purpose. You want to use UTF-8 instead of ASCII, so what? What do you want to do with your nicely well decoded filenames? You cannot print it to your terminal nor pass it to a subprocess, b

[issue13553] Tkinter doesn't set proper application name

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: Does IDLE appear as "Tk" in Gnome3? -- nosy: +serwy ___ Python tracker ___ ___ Python-bugs-list mailin

[issue9201] IDLE: raises Exception TclError in a special case

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: This issue was fixed in 500e48708470, as part of issue3851. -- nosy: +serwy ___ Python tracker ___ ___

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It is a de facto, not de jure standard: UTF-8 is how things are > typically stored. Other software (eg gnome file handling utilities) > makes this assumption. See eg > . So should we specifically detect Lin

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread Martin Pool
Martin Pool added the comment: On 21 December 2011 12:41, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> The standard encoding is UTF-8. > > How so? I don't know of any Linux or Unix spec which says so. If you get > the Linux heads to standardize this then I'll certainly be v

[issue9150] IDLE should not save trailing whitespace after strip trailing whitespace has been used

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: Is this still an issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread R. David Murray
R. David Murray added the comment: > But currently everything handling filenames as unicode on > nix needs to worry about surrogates (that can't be encoded > as ascii) already, or it will still be passing values that > can't be interpreted by other processes as you highlighed > earlier. Making u

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: The large patch also contains the same patch in issue6649. -- ___ Python tracker ___ ___ Python-bugs-l

[issue13078] Python Crashes When Saving Or Opening

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: Is this still an issue? Ash, can you please run IDLE from the command line and report the error message from there? cd c:\python32 python -m idlelib.idle -- nosy: +serwy ___ Python tracker

[issue7883] CallTips.py _find_constructor does not work

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: The patch works for me as well against 3.3a0. Are there any cases where "__init__.__func__" would work? -- nosy: +serwy versions: +Python 3.3 ___ Python tracker

[issue11829] inspect.getattr_static code execution with meta-metaclasses

2011-12-21 Thread Andreas Stührk
Andreas Stührk added the comment: As the test demonstrates, it's still possible to trigger a dynamic lookup without the patch, hence I think this is still needed and valid, yes. I updated the patch to make it reflect the latest committed changes. -- Added file: http://bugs.python.org/

[issue8820] IDLE not launching correctly

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: Is this still a problem with 2.7? -- nosy: +serwy ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue8093] IDLE processes don't close

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: This issue should be closed since issue12540 fixes it. I verified that the bug exists with 3.1.4 on Vista. It does not exist with 3.2.2 on Vista. -- nosy: +serwy ___ Python tracker

[issue13597] Improve documentation of stdout/stderr buffering in Python 3.x

2011-12-21 Thread Geoffrey Bache
Geoffrey Bache added the comment: Thanks. I'm not sure what you've written about the "-u" flag is correct though currently. From experimenting I believe it changes buffering of stdout and stderr to line-buffering also when directed to file, i.e. it does affect the behaviour of the text-layer

[issue6528] builtins colored as keyword at beginning of line

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: The attached patch excludes keywords from the builtin list and corrects the highlighting configuration panel. -- keywords: +patch nosy: +serwy versions: +Python 3.2, Python 3.3 -Python 3.1 Added file: http://bugs.python.org/file24072/issue6528.patch

[issue9016] IDLE won't launch (Win XP)

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: Is this still a problem? -- nosy: +serwy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread STINNER Victor
STINNER Victor added the comment: > it will still be passing values that can't be > interpreted by other processes as you highlighed earlier. On UNIX, data going outside Python has be be encoded: you pass byte strings, not directly Unicode. Surrogates are encoded back to original bytes. Examp

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread Martin
Martin added the comment: > Nope. The locale encoding is chosen using LC_ALL, LC_CTYPE or LANG > variable: use the first non-empty variable. LC_MESSAGES doesn't affect > the encoding. Example: That's good to know, thanks. Only leaves the case where setlocale is called again with a different

[issue13639] UnicodeDecodeError when creating tar.gz with unicode name

2011-12-21 Thread STINNER Victor
STINNER Victor added the comment: "The gzip format (defined in RFC 1952) allows storing the original filename (without the .gz suffix) in an additional field in the header (the FNAME field). Latin-1 (iso-8859-1) is required." Hum, it looks like the author of the gzip program (on Linux Fedora

[issue13639] UnicodeDecodeError when creating tar.gz with unicode name

2011-12-21 Thread Lars Gustäbel
Lars Gustäbel added the comment: See http://bugs.python.org/issue11638#msg150029 -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue8604] Adding an atomic FS write API

2011-12-21 Thread STINNER Victor
STINNER Victor added the comment: > I'm not sure about the best module to host this, though: os.path ? Some OS don't provide atomic rename. If we only define a function when it is atomic (as we do in the posix module, only expose functions available on the OS), programs will have to write two

[issue13639] UnicodeDecodeError when creating tar.gz with unicode name

2011-12-21 Thread STINNER Victor
STINNER Victor added the comment: + self.name = self.name.encode("iso-8859-1", "replace") Why did you chose ISO-8859-1? I think that the filesystem encoding should be used instead: -self.name = self.name.encode("iso-8859-1", "replace") +self.name = self.name.encode(ENC

[issue13636] Python SSL Stack doesn't have a Secure Default set of ciphers

2011-12-21 Thread STINNER Victor
STINNER Victor added the comment: > By default the Python SSL/TLS Stack (client/server) expose > unsecure protocols (SSLv2) and unsecure ciphers (EXPORT 40bit DES). If there is a problem, it should not be fixed in Python, but in the underlying library (OpenSSL) or in applications. Python only

[issue12510] IDLE get_the_calltip mishandles raw strings

2011-12-21 Thread Roger Serwy
Roger Serwy added the comment: The attached patch fixes the bug. The bug occurs in "get_entity" which is used to get the object. Then "get_argspec" determines the calltip text. The calltip can be prevented for strings by having get_argspec check if the object has a "__call__" method. I opted

[issue13639] UnicodeDecodeError when creating tar.gz with unicode name

2011-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset a60a3610a97b by Lars Gustäbel in branch '2.7': Issue #13639: Accept unicode filenames in tarfile.open(mode="w|gz"). http://hg.python.org/cpython/rev/a60a3610a97b -- nosy: +python-dev ___ Python tracker

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread STINNER Victor
STINNER Victor added the comment: > Having more than one encoding on unix is already a reality, there's nothing > to stop someone setting LANG=de_DE.UTF-8 and LC_MESSAGES=C say. Nope. The locale encoding is chosen using LC_ALL, LC_CTYPE or LANG variable: use the first non-empty variable. LC_M

[issue8713] multiprocessing needs option to eschew fork() under Linux

2011-12-21 Thread Jesse Noller
Jesse Noller added the comment: On Wednesday, December 21, 2011 at 10:04 AM, Charles-François Natali wrote: While I would tend to agree with you in theory - I don't think we should make it the default - at least not without a LOT of lead time. There's a surprising amount of code relying on th

[issue13607] Move generator specific sections out of ceval.

2011-12-21 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11638] python setup.py sdist --formats tar* crashes if version is unicode

2011-12-21 Thread Lars Gustäbel
Lars Gustäbel added the comment: Just for the record: The gzip format (defined in RFC 1952) allows storing the original filename (without the .gz suffix) in an additional field in the header (the FNAME field). Latin-1 (iso-8859-1) is required. It is ironic that this causes so much trouble, b

[issue13585] Add contextlib.CleanupManager

2011-12-21 Thread Nikolaus Rath
Nikolaus Rath added the comment: On 12/21/2011 12:03 PM, Éric Araujo wrote: > > Éric Araujo added the comment: > >>> In the passage I quoted, I don’t understand what is meant by “non-Python >>> resources”. >> Think about e.g. mounting a file system. > > Ah, ok. In that case there would sti

[issue12715] Add symlink support to shutil functions

2011-12-21 Thread Hynek Schlawack
Hynek Schlawack added the comment: The patch contains also the necessary changes for the docs now. Please let me know, if I can do anything else. -- ___ Python tracker ___

[issue12715] Add symlink support to shutil functions

2011-12-21 Thread Hynek Schlawack
Changes by Hynek Schlawack : Added file: http://bugs.python.org/file24070/d9212bb67f64.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13607] Move generator specific sections out of ceval.

2011-12-21 Thread Ron Adam
Ron Adam added the comment: I think the time benefits I saw are dependent on how the C code is compiled. So it may be different on different compilers or the same compiler with only a very minor change. Some of the things I've noticed... A switch is sometimes slower if it has a "default:" b

[issue13636] Python SSL Stack doesn't have a Secure Default set of ciphers

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The concept i would propose is to choose the ciphers that "known to be > secure" by disabling everything else. I hate repeating myself, but who will maintain it? -- ___ Python tracker

[issue11638] python setup.py sdist --formats tar* crashes if version is unicode

2011-12-21 Thread Jason R. Coombs
Jason R. Coombs added the comment: > > Encoding to 'utf-8' or the default file system encoding doesn't seem > > right (as the characters end up getting stored in the gzip archive itself). > I don’t understand. The characters are being stored in the gzip archive as part of the gzip header. The

[issue13636] Python SSL Stack doesn't have a Secure Default set of ciphers

2011-12-21 Thread naif
naif added the comment: Well, my concept is that it would be reasonable to use what people consider secure. SSL/TLS are security protocol. Some combination of the protocol configuration (ciphers/hash/key exchange) are: - known to be insecure - known to be secure - known to be unused (like SEE

[issue8035] urllib.request.urlretrieve hangs waiting for connection close after a redirect

2011-12-21 Thread Charles-François Natali
Charles-François Natali added the comment: Yes, but it's not easy: the different URLs provided don't demonstrate the behavior anymore (even if we do find such an URL, there's no guarantee it won't change in a couple days/weeks). It could be possible to set up an ad-hoc httpserver for that purpos

[issue13636] Python SSL Stack doesn't have a Secure Default set of ciphers

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > with your latest proposal 'HIGH:!aNULL:!eNULL:!SSLv2' : > - MD5 was disabled > - IDEA was disabled > - SEED was disabled That was the consequence of it, but that wasn't an explicit goal. > Generally speaking, as a concept to define a default we could: > - St

[issue13636] Python SSL Stack doesn't have a Secure Default set of ciphers

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Why make this decision ourselves at all? Copy what Mozilla and Chromium do > by default. If that translates to an explicit list of ciphers it will be a pain to maintain. Using a generic OpenSSL string such as "DEFAULT:!LOW:[etc.]" means OpenSSL mostly does th

[issue11638] python setup.py sdist --formats tar* crashes if version is unicode

2011-12-21 Thread Éric Araujo
Éric Araujo added the comment: Lars: I will check the history to see if there is a reason (there is probably none) and apply your patch, thank you. Jason: Thanks for the input. > It's not obvious to me what the encoding should be. Python and the tarfile > module can > accept unicode filename

[issue13636] Python SSL Stack doesn't have a Secure Default set of ciphers

2011-12-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: Why make this decision ourselves at all? Copy what Mozilla and Chromium do by default. -- ___ Python tracker ___

[issue13585] Add contextlib.CleanupManager

2011-12-21 Thread Éric Araujo
Éric Araujo added the comment: >> In the passage I quoted, I don’t understand what is meant by “non-Python >> resources”. > Think about e.g. mounting a file system. Ah, ok. In that case there would still be a Python-level object (just like a Python file object will also release the OS-level

[issue8035] urllib.request.urlretrieve hangs waiting for connection close after a redirect

2011-12-21 Thread Éric Araujo
Éric Araujo added the comment: I think this would need a test. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list maili

[issue13636] Python SSL Stack doesn't have a Secure Default set of ciphers

2011-12-21 Thread naif
naif added the comment: Well, with your latest proposal 'HIGH:!aNULL:!eNULL:!SSLv2' : - MD5 was disabled - IDEA was disabled - SEED was disabled Then we realized that RC4 could be a cipher to be leaved enabled, so the new proposal starting from 'DEFAULT'. While i don't like RC4 because it's

[issue12715] Add symlink support to shutil functions

2011-12-21 Thread Hynek Schlawack
Hynek Schlawack added the comment: Thanks to Antoine & Charles-François for their reviews! I think I've incorporated all desired changes. Please let me know if I have missed something, meanwhile I'll tackle the docs. -- ___ Python tracker

[issue2134] Add new attribute to TokenInfo to report specific token IDs

2011-12-21 Thread Éric Araujo
Éric Araujo added the comment: The cmdoption directive should be used with a program directive. See library/trace for an example of how to use it and to see the anchors and index entries it generates. -- nosy: +eric.araujo ___ Python tracker

[issue12715] Add symlink support to shutil functions

2011-12-21 Thread Hynek Schlawack
Changes by Hynek Schlawack : Added file: http://bugs.python.org/file24069/4832bf7aa028.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13585] Add contextlib.CleanupManager

2011-12-21 Thread Nikolaus Rath
Nikolaus Rath added the comment: On 12/21/2011 11:46 AM, Éric Araujo wrote: > > Éric Araujo added the comment: > >> The idea is to add a general-purpose context manager to manage (python >> or non-python) resources that don't come with their own context manager. > > In the passage I quoted,

[issue13585] Add contextlib.CleanupManager

2011-12-21 Thread Éric Araujo
Éric Araujo added the comment: > The idea is to add a general-purpose context manager to manage (python > or non-python) resources that don't come with their own context manager. I read the thread back on python-ideas and didn’t like the idea, without knowing exactly why—maybe a feeling that i

[issue13645] test_import fails after test_coding

2011-12-21 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13577] __qualname__ is not present on builtin methods and functions

2011-12-21 Thread sbt
sbt added the comment: A simplified patch getting rid of _PyCFunction_GET_RAW_SELF(). -- Added file: http://bugs.python.org/file24068/method_qualname.patch ___ Python tracker __

[issue13636] Python SSL Stack doesn't have a Secure Default set of ciphers

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If we want to start from the "DEFAULT" than we should probably disable: > - PSK > - CAMELLIA > - MD5 > - IDEA > - SEED Why do you want to disable all these? -- ___ Python tracker

[issue13636] Python SSL Stack doesn't have a Secure Default set of ciphers

2011-12-21 Thread naif
naif added the comment: Well, if you do: "DEFAULT:!LOW:!EXPORT:!aNULL:!eNULL:!SSLv2" ciphers enabled are ECDHE-RSA-AES256-SHASSLv3 Kx=ECDH Au=RSA Enc=AES(256) Mac=SHA1 ECDHE-ECDSA-AES256-SHA SSLv3 Kx=ECDH Au=ECDSA Enc=AES(256) Mac=SHA1 DHE-RSA-AES256-SHA SSLv3 Kx=DH Au

[issue13511] Let ./configure accept multiple --includedir and --libdir options

2011-12-21 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Parsing of options is implemented inside autoconf. The feature would have to be implemented in autoconf and then 'configure' would have to be regenerated from 'configure.in' using new version of autoconf. -- _

[issue13644] Python 3 crashes (segfaults) with this code.

2011-12-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: The behavior of Python 2 is not anymore correct than that of Python 3. -- ___ Python tracker ___ ___

[issue1785] "inspect" gets broken by some descriptors

2011-12-21 Thread Éric Araujo
Éric Araujo added the comment: Great stuff. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue8713] multiprocessing needs option to eschew fork() under Linux

2011-12-21 Thread Charles-François Natali
Charles-François Natali added the comment: > There is probably lots of such code: > I'm not convinced about making it the default behaviour, and > certainly not the only one. Then I'm not convinced that this patch is useful. Having three different implentations and code paths doesn't sound li

[issue13511] Let ./configure accept multiple --includedir and --libdir options

2011-12-21 Thread Éric Araujo
Éric Araujo added the comment: You haven’t answered my question: Is it a standard configure feature to support multiple --includedir and --libdir? If it’s a standard feature used by people, then you can argue it’s a build bug for all active versions (2.7, 3.2, 3.3). If it’s a request for som

[issue8604] Adding an atomic FS write API

2011-12-21 Thread Charles-François Natali
Charles-François Natali added the comment: I'd like to make this move forward. Milko, I see you have an implementation which looks OK at a first glance. Would like to propose a patch against the default branch? The patch should include documentation and tests. I'm not sure about the best modul

[issue8713] multiprocessing needs option to eschew fork() under Linux

2011-12-21 Thread sbt
sbt added the comment: > I think this is indeed useful, but I'm tempted to go further and say we > should make this the default - and only - behavior. This will probably > break existing code that accidentaly relied the fact that the > implementation uses a bare fork(), but i'd say it's worth

[issue13626] Python SSL stack doesn't support DH ciphers

2011-12-21 Thread Meador Inge
Meador Inge added the comment: Per the Red Hat problems in issue13627 I just tried this patch on Fedora 16. Everything built just fine. However, the patch doesn't apply cleanly to tip an longer: [meadori@motherbrain cpython]$ patch -p1 < ../patches/dh.patch patching file Doc/library/ssl.rs

[issue13627] Python SSL stack doesn't support Elliptic Curve ciphers

2011-12-21 Thread Meador Inge
Meador Inge added the comment: > ec44f2e82707 fixed compilation on Fedora and test_ssl passed fine. Awesome, thanks Antoine. I will checkout the DH patch from issue13626 on Fedora today. -- ___ Python tracker _

[issue8713] multiprocessing needs option to eschew fork() under Linux

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Thanks for the patch sbt. > I think this is indeed useful, but I'm tempted to go further and say > we should make this the default - and only - behavior. This will > probably break existing code that accidentaly relied the fact that the > implementation uses a

[issue13645] test_import fails after test_coding

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Indeed. EXT3's timestamps have a 1s granularity, for example. > Another possibility would be to store both mtime and st_size (it's the > default heuristic used by rsync does to decide whether to skip a > file). Good idea. It would also avoid too much Windows-

[issue8713] multiprocessing needs option to eschew fork() under Linux

2011-12-21 Thread Charles-François Natali
Charles-François Natali added the comment: Thanks for the patch sbt. I think this is indeed useful, but I'm tempted to go further and say we should make this the default - and only - behavior. This will probably break existing code that accidentaly relied the fact that the implementation uses

[issue13645] test_import fails after test_coding

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: In the meantime, I've committed the test patch. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue13645] test_import fails after test_coding

2011-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset f4afc6858ed2 by Antoine Pitrou in branch '3.2': Issue #13645: fix test_import failure when run immediately after test_coding. http://hg.python.org/cpython/rev/f4afc6858ed2 New changeset a6bd166abde5 by Antoine Pitrou in branch 'default': Issue #136

[issue13645] test_import fails after test_coding

2011-12-21 Thread Charles-François Natali
Charles-François Natali added the comment: > a struct timespec providing theoretical nanosecond precision. Indeed. EXT3's timestamps have a 1s granularity, for example. Another possibility would be to store both mtime and st_size (it's the default heuristic used by rsync does to decide whether

[issue11012] Add log1p(), exp1m(), gamma(), and lgamma() to cmath

2011-12-21 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue13620] Support Chrome in webbrowser.py

2011-12-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: patch review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue13620] Support Chrome in webbrowser.py

2011-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7faa90a6324c by Senthil Kumaran in branch 'default': Issue 13620 - Support chrome browser in webbrowser.py module. http://hg.python.org/cpython/rev/7faa90a6324c New changeset bd3631f9aa5c by Senthil Kumaran in branch 'default': Docs and News update

[issue13620] Support Chrome in webbrowser.py

2011-12-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is in 3.3. Thanks for the patches. -- nosy: +orsenthil resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue13646] Document poor interaction between multiprocessing and -m on Windows

2011-12-21 Thread Nick Coghlan
Nick Coghlan added the comment: (Actually the latter isn't true - the __main__ bypass handles that case. Since none of the code gets executed in the child process, it doesn't generally matter that __package__ isn't set properly) -- ___ Python track

[issue10128] multiprocessing.Pool throws exception with __main__.py

2011-12-21 Thread Nick Coghlan
Nick Coghlan added the comment: The fix from #10845 should be backported to Python 2.7 (bypassing the assertion isn't enough - you want to skip re-executing __main__ entirely) -- nosy: +ncoghlan ___ Python tracker

[issue13646] Document poor interaction between multiprocessing and -m on Windows

2011-12-21 Thread Nick Coghlan
New submission from Nick Coghlan : The http://docs.python.org/library/multiprocessing#windows section of the docs should document the limitations that multiprocessing on Windows places on __main__ module invocation. - no execution of modules inside packages with -m - no execution of packages (

[issue3990] The Linux2 platform definition is incorrect for alpha, hppa, mips, sparc

2011-12-21 Thread Stefano Rivera
Changes by Stefano Rivera : -- nosy: +stefanor ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

  1   2   >