[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread Vinay Sajip
Changes by Vinay Sajip : Removed file: http://bugs.python.org/file22314/marshal-patch2.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread Vinay Sajip
Changes by Vinay Sajip : Removed file: http://bugs.python.org/file22290/marshal-patch.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread Vinay Sajip
Changes by Vinay Sajip : Added file: http://bugs.python.org/file22411/9e367c8fd949.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue4470] smtplib SMTP_SSL not working.

2011-06-19 Thread Lorenzo M. Catucci
Lorenzo M. Catucci added the comment: I'd still prefer if smtplib_05_shutdown_socket_v2.patch could get in, ^^ since, this way the REMOTE socket close will be unconditionally correct, instead of being dependent on GC artifacts.

[issue12255] A few changes to .*ignore

2011-06-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: I tried to a line .hgignore inside .hgignore file, so that it can ignore itself (weird concept, but wanted to try if it works) and users can make local customization of it without any problem. This has been suggest at many places in the Internet. I tried by

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue12255] A few changes to .*ignore

2011-06-19 Thread R. David Murray
R. David Murray added the comment: Well, since there's no central server for hg, it can't track based on the server. Perhaps I confused you by saying that the .hgignore file was "in the repo". (It is "in the repo" in the sense that any tracked file is in the repo, but it's effect comes from

[issue6734] Imap lib implicit conversion from bytes to string

2011-06-19 Thread R. David Murray
R. David Murray added the comment: This was fixed in issue 4471 by Antoine when he added some tests that call login. He fixed it by changing _quote to work with strings. Per the discussion here I'm not sure this is the best fix, but until someone reports a bug with it it we may as well let

[issue12255] A few changes to .*ignore

2011-06-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: By "for distribution", I meant that everyone who checks out ( clones) from hg.cpython.org repository share the same .hgignore file, instead of each person having to create their own file. I got an impression from the earlier message that hg tracks (or ignores

[issue12255] A few changes to .*ignore

2011-06-19 Thread R. David Murray
R. David Murray added the comment: I have no idea what you mean by "for distrabution" in this context. The .hgignore in the checkout causes hg to ignore the files/patterns listed in it when any hg commands are run against that checkout. And no I can't remove it in my "local copy", since the

[issue11376] Solaris/GCC/shared lib problem

2011-06-19 Thread Dave Abrahams
Dave Abrahams added the comment: Note: even after I install Sun CC, -KPIC is unrecognized. At least it's only a warning in this case: $ sudo pip install --upgrade twisted Downloading/unpacking twisted Running setup.py egg_info for package twisted Downloading/unpacking zope.interface (from t

[issue11376] Solaris/GCC/shared lib problem

2011-06-19 Thread Dave Abrahams
Dave Abrahams added the comment: I run: sudo pip install --upgrade twisted -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue12365] URLopener should support context manager protocol

2011-06-19 Thread Jeff McNeil
Jeff McNeil added the comment: In looking at this again, I may have spoken too soon. It seems that addinfobase & HTTPResponse already handle this. As this is what's returned by the opener, then what I was shooting for should already be handled. -- status: open -> closed _

[issue12360] Doc Typo

2011-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset d310cc1c3a5d by Senthil Kumaran in branch '3.2': Fix closes issue 12360 - correcting parameter names in asyncore documentation. http://hg.python.org/cpython/rev/d310cc1c3a5d -- nosy: +python-dev resolution: -> fixed stage: -> committed/r

[issue12359] tutorial: Module search path description is incorrect

2011-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6c16a31e0442 by Senthil Kumaran in branch '2.7': Fix issue12359. Minor doc update on import module description. http://hg.python.org/cpython/rev/6c16a31e0442 -- ___ Python tracker

[issue12370] Use of super overwrites use of __class__ in class namespace

2011-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2d62ee4e7d98 by Benjamin Peterson in branch 'default': use a invalid name for the __class__ closure for super() (closes #12370) http://hg.python.org/cpython/rev/2d62ee4e7d98 -- nosy: +python-dev resolution: -> fixed stage: -> committed/re

[issue12359] tutorial: Module search path description is incorrect

2011-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset bf8b4c43fb94 by Senthil Kumaran in branch '3.2': Fix closes Issue12359 - Minor update to module import description. http://hg.python.org/cpython/rev/bf8b4c43fb94 New changeset 8754fd2ff64a by Senthil Kumaran in branch 'default': merge from 3.2. Iss

[issue12315] Improve http.client.HTTPResponse.read documentation

2011-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset d801b570b1dd by Senthil Kumaran in branch '3.2': Fix closes Issue12315 - Updates to http.client documentation. http://hg.python.org/cpython/rev/d801b570b1dd -- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/rejecte

[issue12338] multiprocessing.util._eintr_retry doen't recalculate timeouts

2011-06-19 Thread STINNER Victor
STINNER Victor added the comment: subprocess._communicate_with_select() retries select.select() on EINTR: it recomputes timeout before each call. while self._read_set or self._write_set: timeout = self._remaining_time(endtime) if timeout is not None and timeout < 0: raise Timeo

[issue12338] multiprocessing.util._eintr_retry doen't recalculate timeouts

2011-06-19 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-19 Thread STINNER Victor
STINNER Victor added the comment: > I’d like regrtest to tell me what exactly was changed, and where. regrtests has many tests (you give some examples: os.environ, sys.path), run all tests after calling a single test function would make regrtest slower. We can add an option (e.g. --strict?) t

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: > Benjamin Peterson added the comment: > > I think you're right about playing with the bare fd being too fragile. I > think >a simpler solution is to read say 1024 bytes at a time and buffer it >internally. Doesn't this suffer from a similar problem? Name

[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

2011-06-19 Thread STINNER Victor
STINNER Victor added the comment: shutil_chown-default-v3.patch: - os.chown() is only available on Unix, shutil.chown() should not be defined if os.chown() doesn't exist (require to add a @unittest.skipUnless decorator to the test) - tests: is it possible that shutil.chown() exists whereas p

[issue12370] Use of super overwrites use of __class__ in class namespace

2011-06-19 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue7652] Merge C version of decimal into py3k.

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

[issue9436] test_sysconfig failure: build a 32-bit Python a 64-bit OS

2011-06-19 Thread STINNER Victor
Changes by STINNER Victor : -- title: test_sysconfig failure -> test_sysconfig failure: build a 32-bit Python a 64-bit OS ___ Python tracker ___ _

[issue12370] Use of super overwrites use of __class__ in class namespace

2011-06-19 Thread Michael Foord
New submission from Michael Foord : In Python 3 the following code prints "False" because the use of super() has caused the __class__ descriptor to be omitted from the class namespace. Remove the use of super and it prints "True". class X(object): def __init__(self): super().

[issue3067] setlocale error message is confusing

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

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think you're right about playing with the bare fd being too fragile. I think a simpler solution is to read say 1024 bytes at a time and buffer it internally. -- ___ Python tracker

[issue12369] Revised core mentorship section of help.rst

2011-06-19 Thread Adam Woodbeck
New submission from Adam Woodbeck : Here is the latest update to the devguide's help.rst for your consideration. It includes Nick's tweaks to what I originally submitted. -- components: Devguide files: help.rst.patch keywords: patch messages: 138668 nosy: adam.woodbeck, ncoghlan priori

[issue12255] A few changes to .*ignore

2011-06-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: I strictly have not faced any problem with those rej and orig files being present in the .hgignore. I also thought keeping the .hgignore in the repo was for distribution and never knew that it can affect local views (If you remove .rej and .orig your local v

[issue12368] packaging.pypi.simple.Crawler assumes external download links are ok to follow

2011-06-19 Thread Éric Araujo
Éric Araujo added the comment: Extract from IRC: hmm... I'm thinking Crawler's follow_externals flag isn't working as expected [...] I'm not sure, my assumption of [its] function could be off [...] “hosts is a list of hosts allowed to be processed if follow_externals is true (default behavi

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: @Benjamin: I missed commenting on your "Why not 0?", but here's the reasoning: one can't assume that the file only contains one object to be read, at the beginning of the file. It may be that some data is being written to file using marshal.dump, interspersed wi

[issue12363] test_signal.test_without_siginterrupt() sporadic failures on FreeBSD 6.4

2011-06-19 Thread STINNER Victor
STINNER Victor added the comment: I tried to patch the test to use a semaphore, but my patch was not reliable (don't remove completly the race condition). Here is a patch using a subprocess to: - have only one thread - have a timeout on the blocking read (select cannot be used in the test,

[issue12368] packaging.pypi.simple.Crawler assumes external download links are ok to follow

2011-06-19 Thread Michael Mulich
New submission from Michael Mulich : The packaging.pypi.simple.Crawler blindly follows external download URLs. The crawler should honor a list of allowed hosts (see also the hosts parameter) before attempting to download from an external source. Éric Araujo has also pointed out that establishe

[issue12261] urllib.parse docs still refer to urlparse

2011-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4211ace1ff5d by Senthil Kumaran in branch '3.1': Fix closes issue12261 - Minor documention changes in the urllib.parse.rst http://hg.python.org/cpython/rev/4211ace1ff5d New changeset 18f3239b3d48 by Senthil Kumaran in branch '3.2': merge from 3.1 f

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: > Benjamin Peterson added the comment: > > assert(newpos != NULL) > > That's because the call is failing. Why? > It's seemingly because the Python code did a seek (in Python) which was not communicated to the FILE object; after reading all objects from the

[issue12366] packaging.pypi.dist should abstract download errors.

2011-06-19 Thread Éric Araujo
Éric Araujo added the comment: I agree that we can wrap exceptions to provide more useful info where needed. It’s not necessary, however, to always catch exceptions and raise Packaging*Errors instead: distutils and packaging are documented to raise ValueError and other standard exceptions in

[issue12367] select.error has no errno attribute

2011-06-19 Thread STINNER Victor
New submission from STINNER Victor : It would be nice to have a errno attribute for select.error. I don't know if select.errno should inherit from OSError, WindowsError or nothing. See also the PEP 3151: http://www.python.org/dev/peps/pep-3151/#common-errnos-with-select-error -- messag

[issue12366] packaging.pypi.dist should abstract download errors.

2011-06-19 Thread Michael Mulich
New submission from Michael Mulich : packaging.pypi.dist should abstract download errors, especially those from external sources. Download errors are currently reported from urllib. We should probably be using packaging.errors.PackagingPyPIError in this situation. Other suggestions? Example c

[issue11637] Add cwd to sys.path for hooks

2011-06-19 Thread Éric Araujo
Changes by Éric Araujo : -- hgrepos: +33 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue11637] Add cwd to sys.path for hooks

2011-06-19 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- keywords: +patch Added file: http://bugs.python.org/file22408/8b9da1557ad2.diff ___ Python tracker ___ ___

[issue2983] Ttk support for Tkinter

2011-06-19 Thread Éric Araujo
Éric Araujo added the comment: The 2.7 docs are missing a versionadded directive. -- nosy: +eric.araujo ___ Python tracker ___ ___ Pyt

[issue11637] Add cwd to sys.path for hooks

2011-06-19 Thread Éric Araujo
Éric Araujo added the comment: Thanks! -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue11637] Add cwd to sys.path for hooks

2011-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset b732b02bd0ba by Éric Araujo in branch 'default': packaging: Add the project directory to sys.path to support local setup hooks. http://hg.python.org/cpython/rev/b732b02bd0ba -- nosy: +python-dev ___ Pyth

[issue11610] Improved support for abstract base classes with descriptors

2011-06-19 Thread Darren Dale
Changes by Darren Dale : Removed file: http://bugs.python.org/file22323/abc_descriptors.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue11610] Improved support for abstract base classes with descriptors

2011-06-19 Thread Darren Dale
Changes by Darren Dale : Removed file: http://bugs.python.org/file21375/issue11610_v2.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11610] Improved support for abstract base classes with descriptors

2011-06-19 Thread Darren Dale
Changes by Darren Dale : Removed file: http://bugs.python.org/file21307/issue11610.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue11610] Improved support for abstract base classes with descriptors

2011-06-19 Thread Darren Dale
Darren Dale added the comment: Here is attempt #4. This patch extends the property, classmethod and staticmethod builtins with an __isabstractmethod__ descriptor. Docs and tests are updated as well. "make test" runs without failures. This is my first real attempt with the C-API, and I think I

[issue12321] documentation of ElementTree.find

2011-06-19 Thread patrick vrijlandt
patrick vrijlandt added the comment: [...] Same as getroot().find(match). [...] -> [...] For a relative path, this is equivalent to getroot().find(match). Additionally, this form accepts an absolute path. [...] This is easy, but might not be a very good solution. Random thoughts/Points to cons

[issue12363] test_signal.test_without_siginterrupt() sporadic failures on FreeBSD 6.4

2011-06-19 Thread STINNER Victor
STINNER Victor added the comment: Seen also on OpenSolaris: test test_signal failed -- Traceback (most recent call last): File "/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_signal.py", line 399, in test_siginterrupt_on self.assertTrue(i) AssertionError: False i

[issue11637] Add cwd to sys.path for hooks

2011-06-19 Thread Éric Araujo
Éric Araujo added the comment: Thanks, I made slight editions, now I’m improving the docs and will commit shortly. -- assignee: tarek -> eric.araujo stage: needs patch -> commit review versions: +Python 3.3 -3rd party ___ Python tracker

[issue12365] URLopener should support context manager protocol

2011-06-19 Thread Éric Araujo
Éric Araujo added the comment: +1. -- nosy: +eric.araujo stage: -> needs patch versions: +Python 3.3 -Python 3.1 ___ Python tracker ___

[issue12365] URLopener should support context manager protocol

2011-06-19 Thread Jeff McNeil
Changes by Jeff McNeil : -- type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue12365] URLopener should support context manager protocol

2011-06-19 Thread Jeff McNeil
New submission from Jeff McNeil : Per discussion within Issue10050, URLopener ought to support the context manager protocol. That allows more idiomatic usage and doesn't require calls to contextlib.closing for use with the 'with' statement. If agreed, I'll create a patch. -- component

[issue12364] Timeout (1 hour) in test_concurrent_futures.tearDown() on sparc solaris10 gcc 3.x

2011-06-19 Thread STINNER Victor
New submission from STINNER Victor : [271/356/1] test_concurrent_futures Traceback (most recent call last): File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/multiprocessing/queues.py", line 268, in _feed send(obj) File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/multiprocessing

[issue12363] test_signal.test_without_siginterrupt() sporadic failures on FreeBSD 6.4

2011-06-19 Thread STINNER Victor
New submission from STINNER Victor : == FAIL: test_siginterrupt_on (test.test_signal.SiginterruptTest) -- Traceback (most recent call last): File "/usr/home/d

[issue12255] A few changes to .*ignore

2011-06-19 Thread Éric Araujo
Éric Araujo added the comment: > By convention and practice, those files are meant to be in .ignore > files to prevent accidental checkins. Maybe with other tools. Mercurial will tell you what new files are to be added in the next commit once to four times, depending on your setup, so I don’t

[issue12255] A few changes to .*ignore

2011-06-19 Thread R. David Murray
R. David Murray added the comment: As I've said before, I would vote to not have .rej and .orig in .hgignore. You can always add them to your personal .hgignore, but I know of no way to tell mercurial "I *don't* want to ignore these files that are in the repo .hgignore". If there is such a

[issue12255] A few changes to .*ignore

2011-06-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: +libpython*.so* is fine, but please don't remove the rej and orig. By convention and practice, those files are meant to be in .ignore files to prevent accidental checkins. Usually when the conflict occurs you are notified immediately and you fix them subse

[issue12346] Python source code build fails with old mercurial

2011-06-19 Thread Éric Araujo
Éric Araujo added the comment: Yes, it was committed to default. > I think we can assume they used a new enough hg to check it out...and > if they didn't, that *is* a bug in their setup they should fix. Agreed. -- nosy: +eric.araujo ___ Python track

[issue11795] Better core dev guidelines for committing submitted patches

2011-06-19 Thread R. David Murray
R. David Murray added the comment: Note that the older tradition was to *not* mention the contributor in NEWS (NEWS was just technical notes), but to mention them in the checkin message (and What's New, for things that make the What's New cut). However, since we can't edit checkin messages p

[issue12346] Python source code build fails with old mercurial

2011-06-19 Thread R. David Murray
R. David Murray added the comment: Only if Ralf's patch is applied to all branches. Otherwise the make step reports "abort: repository . not found!", which most users will ignore but a few will report here. It looks from Ralf's quoted changeset like it was only applied to default, but frank

[issue12346] Python source code build fails with old mercurial

2011-06-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: So, it seems the problem is not actually that the build depends on mercurial, it's that it fails with ancient mercurials. -- title: Python source code build (release) depends on mercurial -> Python source code build fails with old mercurial __

[issue10454] Clarify compileall command-line options

2011-06-19 Thread R. David Murray
R. David Murray added the comment: Looks fine except for your changes to the parenthesized defaults. Those should be '0' and 'False' for 2.7 and 3.x, respectively, since that's what they areally are. -- ___ Python tracker

[issue12362] General Windows stdout redirection not working

2011-06-19 Thread R. David Murray
Changes by R. David Murray : -- dependencies: -Error in sys.excepthook on windows when redirecting output of the script superseder: -> Error in sys.excepthook on windows when redirecting output of the script ___ Python tracker

[issue12362] General Windows stdout redirection not working

2011-06-19 Thread R. David Murray
R. David Murray added the comment: Ah, I should have known better than to rely on a memory instead of checking, since I don't use Windows much. My apologies. -- dependencies: +Error in sys.excepthook on windows when redirecting output of the script resolution: invalid -> duplicate _

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/6/19 Vinay Sajip : > > Vinay Sajip added the comment: > > This seems a bit hacky, and I'm not sure how reliable it is. I added this > after the read_object call: > >    if (is_file) { >        PyObject * newpos; >        int cp, np; > >        cp = fte

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: This seems a bit hacky, and I'm not sure how reliable it is. I added this after the read_object call: if (is_file) { PyObject * newpos; int cp, np; cp = ftell(rf.fp); newpos = PyObject_CallMethod(f, "seek", "ii", cp, SEEK_SET)

[issue12362] General Windows stdout redirection not working

2011-06-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: IMO the cause is actually the same as the one for issue9390, i.e. a bug in the Windows console. -- ___ Python tracker ___ __

[issue12362] General Windows stdout redirection not working

2011-06-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: "The file association for .py is pythonw" Really? http://docs.python.org/using/windows.html#executing-scripts -- nosy: +amaury.forgeotdarc ___ Python tracker ___

[issue11690] Devguide: Add "communication" FAQ

2011-06-19 Thread Nick Coghlan
Changes by Nick Coghlan : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue11795] Better core dev guidelines for committing submitted patches

2011-06-19 Thread Nick Coghlan
Changes by Nick Coghlan : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue11795] Better core dev guidelines for committing submitted patches

2011-06-19 Thread Nick Coghlan
Nick Coghlan added the comment: Enhanced committer guidelines: http://hg.python.org/devguide/rev/774fb024b152 -- ___ Python tracker ___ _

[issue11690] Devguide: Add "communication" FAQ

2011-06-19 Thread Nick Coghlan
Nick Coghlan added the comment: Comms FAQ: http://hg.python.org/devguide/rev/f1ebfb53437f Devguide note: http://hg.python.org/devguide/rev/5ab42baba771 -- resolution: -> fixed stage: -> committed/rejected ___ Python tracker

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/6/19 Vinay Sajip : > > Vinay Sajip added the comment: > > The problem with calling fileno() and fdopen() is that you bypass the > buffering information held in BufferedIOReader. The first call works, but the > FILE * pointer is now positioned at 4K, r

[issue11637] Add cwd to sys.path for hooks

2011-06-19 Thread Vinay Sajip
Changes by Vinay Sajip : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11637] Add cwd to sys.path for hooks

2011-06-19 Thread Vinay Sajip
Changes by Vinay Sajip : -- hgrepos: +32 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue12362] General Windows stdout redirection not working

2011-06-19 Thread R. David Murray
R. David Murray added the comment: The file association for .py is pythonw, which does exactly as you say, intentionally, so as to avoid problems with windows when running a GUI application. My understanding is that this caters to the most common use case on Windows: double clicking a .py fi

[issue12278] Core mentorship mention in the devguide

2011-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 144b12d7bb28 by Nick Coghlan in branch 'default': ACKS update for devguide patch (closes #12278) http://hg.python.org/cpython/rev/144b12d7bb28 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open -> closed

[issue12358] validate server certificate when uploading packages to PyPI

2011-06-19 Thread Stefan Krah
Stefan Krah added the comment: I agree with Éric: This is a duplicate. -- nosy: +skrah resolution: -> duplicate status: open -> closed ___ Python tracker ___ __

[issue12361] Memory Leak in File Logging

2011-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: Thanks for the report, but more information from the failing system may be needed to find the problem. Although 2.6 does not contain full unit test coverage, the default branch does - and I tested there with resource leak checking turned on, with no leaks being

[issue12362] General Windows stdout redirection not working

2011-06-19 Thread CrouZ
Changes by CrouZ : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue12362] General Windows stdout redirection not working

2011-06-19 Thread CrouZ
New submission from CrouZ : Steps to repeat: * Create the script foo.py consisting of the line: print("foo") * Run: foo.py > bar Behavior: 2.7.2: The file bar is created but empty. Prints the following message on exit: close failed in file object destructor: sys.excepthook is missing lost sys.

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: The problem with calling fileno() and fdopen() is that you bypass the buffering information held in BufferedIOReader. The first call works, but the FILE * pointer is now positioned at 4K, rather than just past the end of the object just read. The next call fails

[issue12278] Core mentorship mention in the devguide

2011-06-19 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue12361] Memory Leak in File Logging

2011-06-19 Thread Vinay Sajip
Changes by Vinay Sajip : -- assignee: -> vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma