[issue16398] deque.rotate() could be much faster

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0d81333bde78 by Raymond Hettinger in branch '2.7': Issue #16398: Optimize deque.rotate() http://hg.python.org/cpython/rev/0d81333bde78 -- ___ Python tracker rep...@bugs.python.org

[issue16942] seriously? http.cookiejar.FileCookieJar().save method NOTImplemented?

2013-01-12 Thread C19
New submission from C19: Is it means that we should use MozillaCookieJar LWPCookieJar or MSIECookieJar? But the document says perhaps save cookies to, a file on disk. http://docs.python.org/2/library/cookielib.html?highlight=filecookiejar#cookielib.FileCookieJar it looks like FileCookieJar is

[issue16942] seriously? urllib still doesn't support persistent connections?

2013-01-12 Thread C19
C19 added the comment: # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data

[issue16943] seriously? FileCookieJar can't really save ? save method is NotImplemented

2013-01-12 Thread C19
New submission from C19: Is it means that we should use MozillaCookieJar LWPCookieJar or MSIECookieJar? But the document says perhaps save cookies to, a file on disk. http://docs.python.org/2/library/cookielib.html?highlight=filecookiejar#cookielib.FileCookieJar it looks like FileCookieJar is

[issue16943] seriously? FileCookieJar can't really save ? save method is NotImplemented

2013-01-12 Thread C19
Changes by C19 classone2...@gmail.com: -- components: +Library (Lib) type: - enhancement versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16943

[issue16942] seriously? urllib still doesn't support persistent connections?

2013-01-12 Thread C19
C19 added the comment: https://github.com/shazow/urllib3 do we really have to use a 3rd party module for this ?.. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16942 ___

[issue16940] argparse 15.4.5.1. Sub-commands documentation missing indentation

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset eae31f2b6f60 by Ezio Melotti in branch '2.7': #16940: fix indentation in example. http://hg.python.org/cpython/rev/eae31f2b6f60 New changeset 3d54723c9be6 by Ezio Melotti in branch '3.2': #16940: fix indentation in example.

[issue16940] argparse 15.4.5.1. Sub-commands documentation missing indentation

2013-01-12 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement versions: +Python 3.2, Python 3.3, Python 3.4

[issue16943] seriously? FileCookieJar can't really save ? save method is NotImplemented

2013-01-12 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - seriously? urllib still doesn't support persistent connections? ___ Python tracker rep...@bugs.python.org

[issue16942] urllib still doesn't support persistent connections

2013-01-12 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- title: seriously? urllib still doesn't support persistent connections? - urllib still doesn't support persistent connections ___ Python tracker rep...@bugs.python.org

[issue2267] datetime.datetime operator methods are not subclass-friendly

2013-01-12 Thread Mark Dickinson
Mark Dickinson added the comment: Alexander: can this be closed as wont fix? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2267 ___ ___

[issue16829] IDLE on POSIX can't print filenames with spaces

2013-01-12 Thread Ramchandra Apte
Ramchandra Apte added the comment: Attached is a patch which uses subprocess. Haven't tested it much. -- Added file: http://bugs.python.org/file28705/issue16829.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16829

[issue16944] German number separators not working using format language and locale de_DE

2013-01-12 Thread Peter Stahl
New submission from Peter Stahl: Yesterday, I opened a question on Stackoverflow that explains my problem in detail. Please read this page first: http://stackoverflow.com/questions/14287051/german-number-separators-using-format-language-on-osx A short summary: I'm on OSX 10.8.2. I wanted to

[issue16876] epoll: reuse epoll_event buffer instead of allocating a new one at each poll()

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 30eb98c8afef by Charles-François Natali in branch 'default': Issue #16876: Revert be8e6b81284e, which wasn't thread-safe: wait until a http://hg.python.org/cpython/rev/30eb98c8afef -- ___ Python tracker

[issue2267] datetime.datetime operator methods are not subclass-friendly

2013-01-12 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2267 ___

[issue16944] German number separators not working using format language and locale de_DE

2013-01-12 Thread Stefan Krah
Stefan Krah added the comment: What is the output of this? locale.localeconv() {'mon_decimal_point': ',', 'frac_digits': 2, 'p_sign_posn': 1, 'thousands_sep': '.', 'p_sep_by_space': 1, 'int_curr_symbol': 'EUR ', 'decimal_point': ',', 'mon_thousands_sep': '.',

[issue16944] German number separators not working using format language and locale de_DE

2013-01-12 Thread Peter Stahl
Peter Stahl added the comment: Using the locale 'de_DE', the output is: {'mon_decimal_point': ',', 'int_frac_digits': 2, 'p_sep_by_space': 0, 'frac_digits': 2, 'thousands_sep': '', 'n_sign_posn': 1, 'decimal_point': ',', 'int_curr_symbol': 'EUR ', 'n_cs_precedes': 1, 'p_sign_posn': 1,

[issue16944] German number separators not working using format language and locale de_DE

2013-01-12 Thread Stefan Krah
Stefan Krah added the comment: 127 means no-more-grouping, so Python behaves as instructed by the OS. As you see, the OS prescribes 1.345.677,222 for *monetary* quantities and 1345677,222 otherwise. According to http://de.wikipedia.org/wiki/DIN_1333 , for non monetary quantities DIN-1333 says

[issue5380] pty.read raises IOError when slave pty device is closed

2013-01-12 Thread Márcio Faustino
Changes by Márcio Faustino marciombfaust...@gmail.com: -- nosy: +marciof ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5380 ___ ___

[issue16076] xml.etree.ElementTree.Element is no longer pickleable

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5b36768b9a11 by Eli Bendersky in branch '3.3': Issue #16076: fix refleak in pickling of Element. http://hg.python.org/cpython/rev/5b36768b9a11 New changeset 848738d3c40f by Eli Bendersky in branch 'default': Close #16076: fix refleak in pickling of

[issue16885] SQLite3 iterdump ordering

2013-01-12 Thread R. David Murray
R. David Murray added the comment: When you say sometimes, do you mean randomly on the same schema, or do you mean depending on the specific schema sometimes it doesn't work? The code is the same in the other python versions, so I'm adding them as the bug doubtless exists there as well.

[issue16076] xml.etree.ElementTree.Element is no longer pickleable

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4501813ea676 by Eli Bendersky in branch '3.3': Issue #16076: check for return value of PyTuple_New for args (following http://hg.python.org/cpython/rev/4501813ea676 New changeset 7313096e0bad by Eli Bendersky in branch 'default': Issue #16076:

[issue16942] urllib still doesn't support persistent connections

2013-01-12 Thread R. David Murray
R. David Murray added the comment: Please open a separate issue for your enhancement request in your second message (assuming there isn't already one open). I'm not sure what your third message is about, but it also sounds off topic for your original bug report. For the FileCookieJar issue,

[issue16922] ElementTree.findtext() returns empty bytes object instead of empty string

2013-01-12 Thread Eli Bendersky
Eli Bendersky added the comment: The fix looks good, but please don't add tests to the doctests - they are deprecated (from 3.3) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16922 ___

[issue15031] Split .pyc parsing from module loading

2013-01-12 Thread Brett Cannon
Brett Cannon added the comment: Nick had some good suggestions on improvements: http://mail.python.org/pipermail/python-dev/2013-January/123602.html Re-opening to remind me to do them. -- status: closed - open ___ Python tracker

[issue15442] Expand the list of default dirs filecmp.dircmp ignores

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset a1efab48d8f8 by Eli Bendersky in branch 'default': Close #15442: Expand the list of default directories ignored by filecmp.dircmp and expose it as a module attribute http://hg.python.org/cpython/rev/a1efab48d8f8 -- nosy: +python-dev

[issue16945] rewrite CGIHTTPRequestHandler to always use subprocess

2013-01-12 Thread Charles-François Natali
New submission from Charles-François Natali: On Unix, CGIHTTPRequestHandler.run_cgi() uses the following code to run a CGI script: pid = os.fork() [...] # Child try: try: os.setuid(nobody)

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Brett Cannon
Brett Cannon added the comment: load_dynamic should probably be documented since it does something you can't do on your own and importlib itself uses it. As for the exception test, it should be to make sure ImportError is raised (i.e. the 'else' clause is hit). --

[issue10544] yield expression inside generator expression does nothing

2013-01-12 Thread Daniel Shahaf
Changes by Daniel Shahaf pyt...@danielsh.fastmail.net: -- nosy: +danielsh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10544 ___ ___

[issue10541] regrtest.py -T broken

2013-01-12 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: -eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10541 ___ ___ Python-bugs-list

[issue16922] ElementTree.findtext() returns empty bytes object instead of empty string

2013-01-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But all findtext tests are doctests and I want to keep the tests together. I think there should be separated issue for converting ElementTree doctests to unittests. -- ___ Python tracker rep...@bugs.python.org

[issue16922] ElementTree.findtext() returns empty bytes object instead of empty string

2013-01-12 Thread Eli Bendersky
Eli Bendersky added the comment: Serhiy, indeed - that's issue #15083. But since rewriting all tests is a large task no one is willing to take at this point, my strategy has been incremental: rewrite a chunk at a time when tests are being touched. Just adding new doctests goes against the

[issue15083] Rewrite ElementTree tests in a cleaner and safer way

2013-01-12 Thread Eli Bendersky
Eli Bendersky added the comment: It should be noted that the doctests complicate things considerably, and should be rewritten to be unittest, which are easier to manipulate in terms of modules used. -- ___ Python tracker rep...@bugs.python.org

[issue16398] deque.rotate() could be much faster

2013-01-12 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I am OK with this patch being applied to 2.7, but I wonder why. This is not a bugfix... :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16398 ___

[issue16946] subprocess: _close_open_fd_range_safe() does not set close-on-exec flag on Linux 2.6.23 if O_CLOEXEC is defined

2013-01-12 Thread STINNER Victor
New submission from STINNER Victor: The following extract of _close_open_fd_range_safe() is not correct: #ifdef O_CLOEXEC fd_dir_fd = open(FD_DIR, O_RDONLY | O_CLOEXEC, 0); #else fd_dir_fd = open(FD_DIR, O_RDONLY, 0); #ifdef FD_CLOEXEC { int old = fcntl(fd_dir_fd, F_GETFD);

[issue16829] IDLE on POSIX can't print filenames with spaces

2013-01-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No surrounding %%s with quotes, nor changing to %%r doesn't work in all cases, because Python and shell use different quoting schemas. The only solution is using shlex.quote (which available only since 3.3). But even in this case we should be careful, this

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Nick Coghlan
Nick Coghlan added the comment: The misleading docs Terry pointed out should also be fixed to note that imp is still used to expose some functionality where importlib really does need help from the underlying platform (such as loading dynamic modules). --

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Nurhusien Hasen
Nurhusien Hasen added the comment: Pleas stop your from me all isuss masege On 1/13/13, Nick Coghlan rep...@bugs.python.org wrote: Nick Coghlan added the comment: The misleading docs Terry pointed out should also be fixed to note that imp is still used to expose some functionality where

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Nurhusien Hasen
Nurhusien Hasen added the comment: Pleas stop your from me all isuss masege On 1/13/13, Nurhusien Hasen nurhusien.hase...@gmail.com wrote: Pleas stop your from me all isuss masege On 1/13/13, Nick Coghlan rep...@bugs.python.org wrote: Nick Coghlan added the comment: The misleading docs

[issue16946] subprocess: _close_open_fd_range_safe() does not set close-on-exec flag on Linux 2.6.23 if O_CLOEXEC is defined

2013-01-12 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +gps ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16946 ___ ___ Python-bugs-list

[issue16259] Replace exec() in test.regrtest with __import__

2013-01-12 Thread Ramchandra Apte
Ramchandra Apte added the comment: Boiiummp. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16259 ___ ___ Python-bugs-list mailing list

[issue12939] Add new io.FileIO using the native Windows API

2013-01-12 Thread Richard Oudkerk
Richard Oudkerk added the comment: Attached is a new patch which is implemented completely in C. It adds a WinFileIO class to the io module, which has the same API as FileIO except that: * It has a handle attribute instead of a fileno() method. * It has staticmethods openhandle() and

[issue12939] Add new io.FileIO using the native Windows API

2013-01-12 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: Removed file: http://bugs.python.org/file28544/winfileio.c ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12939 ___

[issue12939] Add new io.FileIO using the native Windows API

2013-01-12 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: Removed file: http://bugs.python.org/file28545/test_winfileio.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12939 ___

[issue12939] Add new io.FileIO using the native Windows API

2013-01-12 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: Removed file: http://bugs.python.org/file28590/winfileio.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12939 ___

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Nurhusien Hasen
Nurhusien Hasen added the comment: Pleas stop your from me all isuss maseges On 1/13/13, Nurhusien Hasen rep...@bugs.python.org wrote: Nurhusien Hasen added the comment: Pleas stop your from me all isuss masege On 1/13/13, Nurhusien Hasen nurhusien.hase...@gmail.com wrote: Pleas stop

[issue12939] Add new io.FileIO using the native Windows API

2013-01-12 Thread Richard Oudkerk
Richard Oudkerk added the comment: Forgot to mention, the handles are non-inheritable. You can use _winapi.DuplicateHandle() to create an inheritable duplicate handle if you really need to. -- ___ Python tracker rep...@bugs.python.org

[issue16941] TkInter won't update display on OS X if delay is too small

2013-01-12 Thread Leon Maurer
Leon Maurer added the comment: That's a good idea; I'll shoot them a message. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16941 ___ ___

[issue16947] Search for sherpa on pypi leads to gitflow

2013-01-12 Thread Christoph Deil
New submission from Christoph Deil: If you enter sherpa on http://pypi.python.org you currently get http://pypi.python.org/pypi/gitflow/0.5.0 Why? It doesn't make much sense as the term sherpa doesn't appear on that pypi page. Instead pypi should say not found, as the sherpa Python package is

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Nurhusien Hasen
Nurhusien Hasen added the comment: On 1/13/13, Nurhusien Hasen rep...@bugs.python.org wrote: Nurhusien Hasen added the comment: Pleas stop your from me all isuss maseges On 1/13/13, Nurhusien Hasen rep...@bugs.python.org wrote: Nurhusien Hasen added the comment: Pleas stop your from me

[issue15083] Rewrite ElementTree tests in a cleaner and safer way

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset f9d1d120c19e by Eli Bendersky in branch '3.3': Issues #15083 and #16992: port find.* method tests to unittest http://hg.python.org/cpython/rev/f9d1d120c19e New changeset 18b16104166c by Eli Bendersky in branch 'default': Issues #15083 and #16992:

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Nurhusien Hasen
Nurhusien Hasen added the comment: Pleas stop your from me all isuss maseges pleas stop On 1/13/13, Nurhusien Hasen nurhusien.hase...@gmail.com wrote: On 1/13/13, Nurhusien Hasen rep...@bugs.python.org wrote: Nurhusien Hasen added the comment: Pleas stop your from me all isuss maseges On

[issue16922] ElementTree.findtext() returns empty bytes object instead of empty string

2013-01-12 Thread Eli Bendersky
Eli Bendersky added the comment: Tests ported in 3.3 and 3.4 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16922 ___ ___ Python-bugs-list

[issue16762] test_subprocess failure on OpenBSD/NetBSD buildbots

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 61d6b34af419 by Charles-François Natali in branch '2.7': Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill() http://hg.python.org/cpython/rev/61d6b34af419 New changeset 58ce6ac61ada by Charles-François Natali in branch

[issue16762] test_subprocess failure on OpenBSD/NetBSD buildbots

2013-01-12 Thread Charles-François Natali
Changes by Charles-François Natali cf.nat...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16762

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg179807 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16880 ___

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg179806 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16880 ___

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -Nurhusien2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16880 ___ ___ Python-bugs-list

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg179810 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16880 ___

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg179814 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16880 ___

[issue16880] Importing imp will fail if dynamic loading not supported

2013-01-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg179816 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16880 ___

[issue16829] IDLE on POSIX can't print filenames with spaces

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset e651d96e6b07 by Serhiy Storchaka in branch '2.7': Issue #16829: IDLE printing no longer fails if there are spaces or other http://hg.python.org/cpython/rev/e651d96e6b07 New changeset 20065626c0b5 by Serhiy Storchaka in branch '3.2': Issue #16829:

[issue16941] TkInter won't update display on OS X if delay is too small

2013-01-12 Thread Leon Maurer
Leon Maurer added the comment: Well, it looks like the problem is known and can't be fixed: http://mail.python.org/pipermail/tkinter-discuss/2013-January/003343.html Oh well. -- ___ Python tracker rep...@bugs.python.org

[issue16829] IDLE on POSIX can't print filenames with spaces

2013-01-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have committed a very simple fix with shlex.quote (pipes.quote before 3.3). This is not fully backward compatible, it can break user configuration if the user had fixed this issue himself (and this fix is not perfect). But I think it's quite unlikely.

[issue16259] Replace exec() in test.regrtest with __import__

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset e22c09f636d4 by R David Murray in branch 'default': #16259: delete some no-longer-used code from regrtest. http://hg.python.org/cpython/rev/e22c09f636d4 -- nosy: +python-dev ___ Python tracker

[issue16259] Replace exec() in test.regrtest with __import__

2013-01-12 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16259 ___

[issue16947] Search for sherpa on pypi leads to gitflow

2013-01-12 Thread R. David Murray
R. David Murray added the comment: Please report pypi issues to the pypi bug tracker: http://sourceforge.net/tracker/?group_id=66150atid=513503 -- nosy: +r.david.murray resolution: - invalid stage: - committed/rejected status: open - closed ___

[issue16922] ElementTree.findtext() returns empty bytes object instead of empty string

2013-01-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch for 3.3+. -- Added file: http://bugs.python.org/file28708/etree_finditer_empty-3.3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16922

[issue15442] Expand the list of default dirs filecmp.dircmp ignores

2013-01-12 Thread Éric Araujo
Éric Araujo added the comment: + .. versionadded:: 3.3 3.4* -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15442 ___ ___ Python-bugs-list

[issue16948] email.mime.text.MIMEText: QP encoding broken with charset!=ISO-8859-1

2013-01-12 Thread Jakub Wilk
New submission from Jakub Wilk: If you try to create MIMEText object with text containing characters outside the ISO-8859-1 range, the quoted-printable encoder fails with KeyError: Python 3.2.3 (default, Sep 10 2012, 12:58:42) [GCC 4.7.1] on linux2 Type help, copyright, credits or license for

[issue16948] email.mime.text.MIMEText: QP encoding broken with charset!=ISO-8859-1

2013-01-12 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email nosy: +barry, r.david.murray versions: +Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16948 ___

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-12 Thread Frank Wierzbicki
Changes by Frank Wierzbicki fwierzbi...@gmail.com: Added file: http://bugs.python.org/file28709/dictcomps_updated2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16886 ___

[issue15539] Fixing Tools/scripts/pindent.py

2013-01-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15539 ___

[issue16923] test_ssl kicks up a lot of ResourceWarnings

2013-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2c3f5ed7a5c9 by Antoine Pitrou in branch '3.3': Issue #16923: Fix ResourceWarnings in test_ssl. http://hg.python.org/cpython/rev/2c3f5ed7a5c9 New changeset f79d282c8147 by Antoine Pitrou in branch 'default': Issue #16923: Fix ResourceWarnings in

[issue16923] test_ssl kicks up a lot of ResourceWarnings

2013-01-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Done! -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16923 ___

[issue16947] Search for sherpa on pypi leads to gitflow

2013-01-12 Thread Christoph Deil
Christoph Deil added the comment: Sorry about that. Ticket in PyPI tracer is now here: http://sourceforge.net/tracker/?func=detailaid=3600625group_id=66150atid=513503 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16947

[issue1602133] non-framework python fails to define os.environ properly

2013-01-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I appear to be running into this as well in py2app, with the current 2.7 tree and a --enable-shared build py2app's updates to the environment (with setenv from C code) won't be seen by Python, even though Python is initialized after the call to setenv. The

[issue16601] Restarting iteration over tarfile continues from where it left off.

2013-01-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Michael Birtwell, can you please submit a contributor form? http://python.org/psf/contrib/contrib-form/ http://python.org/psf/contrib/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16601

[issue16941] TkInter won't update display on OS X if delay is too small

2013-01-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Would it be possible, and sane, to enforce a minimal delay on OSX? That is, code that automaticly ensures that the delay has some minimal value. Or does the required delay depend on what you are doing? -- nosy: +ronaldoussoren

[issue16941] TkInter won't update display on OS X if delay is too small

2013-01-12 Thread Leon Maurer
Leon Maurer added the comment: It seems to depend on what you're doing. Plus, the delay I needed turned an already slow animation in to a slide show. In this case, a better fix seems to be sticking a root.update() right before the root.after. Then it works with no delay. However, apparently

[issue15442] Expand the list of default dirs filecmp.dircmp ignores

2013-01-12 Thread Eli Bendersky
Eli Bendersky added the comment: What? Where did you see 3.3? It says 3.4 ;-) Thanks, fixed in 72ddb250f058 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15442 ___

[issue16941] TkInter won't update display on OS X if delay is too small

2013-01-12 Thread Ned Deily
Ned Deily added the comment: FWIW, on my newer 2.2Ghz i7-based MacBookPro, I can reproduce the problem but I see satisfactory results by setting the delay to just 10 rather than 100. So, it is likely that the minimum delay is system- and application- dependent. Since there's not likely

[issue16922] ElementTree.findtext() returns empty bytes object instead of empty string

2013-01-12 Thread Eli Bendersky
Eli Bendersky added the comment: PyUnicode_New has been added in 3.3, so the 3.2 patch doesn't compile. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16922 ___

[issue16860] Use O_CLOEXEC in the tempfile module

2013-01-12 Thread STINNER Victor
STINNER Victor added the comment: I'll wait a little before removing O_NOFOLLOW I don't know this flag. What is its effect of the directory part of the path? Does it change anything if the directory is a symbolic link? -- ___ Python tracker

[issue16500] Add an 'atfork' module

2013-01-12 Thread STINNER Victor
STINNER Victor added the comment: The tempfile module has a specialized RNG that re-initialized the RNG after fork() by comparing os.getpid() to an instance variable every time the RNG is accessed. The check can be replaced with an afterfork callback. By the way, OpenSSL expects that its PRNG

[issue10115] Support accept4() for atomic setting of flags at socket creation

2013-01-12 Thread STINNER Victor
STINNER Victor added the comment: See the PEP 433 which proposes an unified API to set/unset close-on-exec flag on any function creating a file descriptor. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10115

[issue16860] Use O_CLOEXEC in the tempfile module

2013-01-12 Thread Charles-François Natali
Charles-François Natali added the comment: I'll wait a little before removing O_NOFOLLOW I don't know this flag. What is its effect of the directory part of the path? Does it change anything if the directory is a symbolic link? No, it only has an effect if the target file is a symlink.

[issue16860] Use O_CLOEXEC in the tempfile module

2013-01-12 Thread STINNER Victor
STINNER Victor added the comment: No, it only has an effect if the target file is a symlink. Oh ok, so O_NOFOLLOW is useless when O_EXCL is used. It is safe to remove it, but please only modify Python 3.4 (just in case...). -- ___ Python tracker

[issue14208] No way to recover original argv with python -m

2013-01-12 Thread Daniel Shahaf
Changes by Daniel Shahaf pyt...@danielsh.fastmail.net: -- nosy: +danielsh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14208 ___ ___

[issue16850] Add e mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT

2013-01-12 Thread STINNER Victor
STINNER Victor added the comment: I created the PEP 433 which proposes a more global change to set the close-on-exec flag. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16850 ___

[issue2209] mailbox module doesn't support compressed mbox

2013-01-12 Thread Daniel Shahaf
Changes by Daniel Shahaf pyt...@danielsh.fastmail.net: -- nosy: +danielsh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2209 ___ ___

[issue16829] IDLE on POSIX can't print filenames with spaces

2013-01-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Given the system-dependent nature of the problem, starting with the simplest thing that really ought to work seems reasonable to me. I verified that the 3.3 patch has no effect on Windows. IE, files with and without spaces printed without .py in the printed

[issue16406] move the Uploading Packages section to distutils/packageindex.rst

2013-01-12 Thread Chris Jerdonek
Chris Jerdonek added the comment: Updated the last patch by moving the PyPI package display to beneath the Registering Packages section (since only the register command affects the package display). Éric, does this look okay to you? I didn't change the text of any of the sections -- only

[issue14208] No way to recover original argv with python -m

2013-01-12 Thread Nick Coghlan
Nick Coghlan added the comment: For PEP 432, I'm proposing to expose this as sys._configuration.raw_argv -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14208 ___

[issue16893] Create IDLE help.txt from Doc/library/idle.rst

2013-01-12 Thread Todd Rovito
Todd Rovito added the comment: Andrew, Zachary and I worked on another issue together to sync idle.rst with help.txt here: http://bugs.python.org/issue5066 Issue 5066 is ready for commit if you have time by the way. Thanks! -- ___ Python

[issue16946] subprocess: _close_open_fd_range_safe() does not set close-on-exec flag on Linux 2.6.23 if O_CLOEXEC is defined

2013-01-12 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- assignee: - gregory.p.smith nosy: +gregory.p.smith -gps ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16946 ___