Charles-François Natali neolo...@free.fr added the comment:
Alright, the test is now skipped when the system doesn't support enough POSIX
semaphores.
I'm closing, we can still reopen in case another similar problem pops up (on
other OS of course).
--
resolution: - fixed
stage: -
Charles-François Natali neolo...@free.fr added the comment:
Oh, it looks like unsetenv() has no return value on Mac OS X Tiger
And neither does FreeBSD 7:
http://python.org/dev/buildbot/all/builders/x86%20FreeBSD%206.4%203.x/builds/2015/steps/compile/logs/stdio
Note that ignoring unsetenv()
Stanisław Jankowski stach.jankow...@gmail.com added the comment:
@stachjankowski: How did you find this issue? Are you porting from 2.x to 3.x
or have new 3.x code that uses this function?
No, it's just random finding.
--
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2c173769a957 by Vinay Sajip in branch '2.7':
Closes #13459: Clarified documentation on Logger.propagate. Thanks to Mike
Fogel for the patch.
http://hg.python.org/cpython/rev/2c173769a957
New changeset a9f5639e18a1
Petri Lehtinen pe...@digip.org added the comment:
No, it's just random finding.
This strengthens my impression that no-one is actually using the function.
Maybe we should just remove it from 3.3.
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
Note that ignoring unsetenv() return value is a bad idea:
http://xorl.wordpress.com/category/freebsd/page/2/
Oh yeah, I remember this critical (local) vulnerability!
We could maybe add a configure-time check.
Yes, it sounds
Senthil Kumaran sent...@uthcode.com added the comment:
Let's make it useful, that's much better instead of removing it. I am
+1 with Ezio's suggestion on this to return a list of tuples with
matching headers.
--
title: http.client.HTTPMessage.getallmatchingheaders() always returns [] -
Christopher Smith smi...@users.sourceforge.net added the comment:
Sorry for the misdirection:
The docstring example for onkeypress is written using onkey instead of
onkeypress. (There is no problem for onkey and onkeyrelease.)
--
resolution: wont fix -
status: closed - open
Petri Lehtinen pe...@digip.org added the comment:
Let's make it useful, that's much better instead of removing it. I am
+1 with Ezio's suggestion on this to return a list of tuples with
matching headers.
But there's already a function that does it:
sbt shibt...@gmail.com added the comment:
I have the feeling that if we have to call GetLastError() at the
Python level, then there's something wrong with the APIs we're
exposing from the C extension.
I see you check for ERROR_OPERATION_ABORTED. Is there any situation
where this can
Charalampos Nikolaou char.nikol...@gmail.com added the comment:
Hi, actually I must have found the real culprit. And this is that imaplib does
not include a function for the EXAMINE command. What it does is that when a
user selects a mailbox as readonly, it executes an EXAMINE command instead
Sébastien Sablé sa...@users.sourceforge.net added the comment:
I am trying to get Python working when compiled with Visual Studio 2010 (cf
issue 13210).
When running the tests with the python 2.7 branch compiled with VS2010, the
test_issue_1395_5 in test_io.py will cause Python to eat the
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1395
___
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
You should open a new issue for this new problem.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1395
___
New submission from Sébastien Sablé sa...@users.sourceforge.net:
I am trying to get Python working when compiled with Visual Studio 2010 (cf
issue 13210).
When running the tests with the python 2.7 branch compiled with VS2010, the
test_issue_1395_5 in test_io.py will cause Python to eat the
Sébastien Sablé sa...@users.sourceforge.net added the comment:
OK, sorry. Done in issue 13461.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1395
___
Sébastien Sablé sa...@users.sourceforge.net added the comment:
The problem is in CTextIOWrapperTest.test_issue1395_5
Here is the backtrace:
msvcr100d.dll!memset() Line 145Asm
msvcr100d.dll!_heap_alloc_dbg_impl(unsigned __int64 nSize, int
nBlockUse, const char *
Antoine Pitrou pit...@free.fr added the comment:
There are three expected error conditions:
ERROR_OPERATION_ABORTED: operation stopped by CancelIo(Ex)()
ERROR_MORE_DATA: operation complete, but only got part of the message
ERROR_IO_INCOMPLETE: operation still has not finished
In the
New submission from Éric Araujo mer...@netwok.org:
Currently distutils2 has two classes and one function to perform 2to3
conversion in the build_py and build_scripts commands. The code is a bit messy
and also lack tests, for example for the conversion of doctests in text files.
I’ve started
Éric Araujo mer...@netwok.org added the comment:
Meador, maybe you would like to commit the tests (except for the one that’s the
object of this report) yourself? I don’t mind doing it, but as you have push
rights now maybe you prefer to have your name directly associated with your
work.
Éric Araujo mer...@netwok.org added the comment:
It’s a bit hard for me to isolate the distutils problem from the CDBS-specific
parts (maybe because I’m tired :). For years, sub-second resolution was not
supported by distutils, and things were okay as long as the build* commands did
the file
Benjamin Peterson benja...@python.org added the comment:
Yes, last time I checked 2to3 doesn't work on 2.5 or 2.4. People will just have
to run build_py2to3 on 2.6+.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13462
Éric Araujo mer...@netwok.org added the comment:
Hmm, my initial reaction is that that specific wording is stronger than I had
in mind -
there's nothing really wrong with having a shebang line and execute bit set
on a top level
module and symlinking it from /usr/bin.
Okay. (On that
Éric Araujo mer...@netwok.org added the comment:
+1 on grouping existing info into one or two files in the devguide
+1 to removing the wiki pages
+1 on keeping some basic directions in the main docs
--
___
Python tracker rep...@bugs.python.org
New submission from Éric Araujo mer...@netwok.org:
In 288640098ea8, Jeremy fixed a bug in distutils2.config that prevented d2’s
own setup.py script from working. I had to revert that change because it
caused tests to fail. The bug needs to be identified exactly, then a test for
it is
Changes by Éric Araujo mer...@netwok.org:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13009
___
___
Éric Araujo mer...@netwok.org added the comment:
Due to the same reason, it’s also not possible to run “pysetup3.1 metadata” in
the distutils2 repo, or “pysetup2.4 metadata” in the distutils2-python3 repo.
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Making this a release blocker for d2 1.0a4.
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12779
___
Antoine Pitrou pit...@free.fr added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13125
___
___
Python-bugs-list mailing
Ronny Pfannschmidt ronny.pfannschm...@gmail.com added the comment:
i think checking for closed is the correct solution
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13444
___
New submission from R. David Murray rdmur...@bitdance.com:
HTTPResponse subclasses RawIOBase, but does not provide an implementation of
readinto, only read. This means that it is not conforming to the IO spec, and
so it cannot be wrapped in a BufferedIOBase when using the C version of io.
Changes by Charles-François Natali neolo...@free.fr:
--
resolution: - invalid
stage: test needed - committed/rejected
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12578
Changes by Charles-François Natali neolo...@free.fr:
--
keywords: +needs review
stage: - patch review
Added file: http://bugs.python.org/file23764/broken_unsetenv.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13415
New submission from Frank Wierzbicki fwierzbi...@gmail.com:
Nick suggested this as a comment on a blog post of mine -- I'll come up with
some content, but I wanted to log the bug straight away so I wouldn't forget.
--
components: Devguide
messages: 148200
nosy: brett.cannon,
Stanisław Jankowski stach.jankow...@gmail.com added the comment:
This issue has been reported previously, in issue5053. Unfortunately, I
overlooked. Sorry.
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5054
___
___
Python-bugs-list
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5053
___
___
Python-bugs-list
Changes by Petri Lehtinen pe...@digip.org:
--
superseder: - http.client.HTTPMessage.getallmatchingheaders() always returns
[]
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13425
___
Changes by Petri Lehtinen pe...@digip.org:
--
title: http.client.HTTPMessage.getallmatchingheaders() always returns -
http.client.HTTPMessage.getallmatchingheaders() always returns []
___
Python tracker rep...@bugs.python.org
Petri Lehtinen pe...@digip.org added the comment:
#13425 was marked as duplicate of this issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5053
___
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4773
___
___
Python-bugs-list
Petri Lehtinen pe...@digip.org added the comment:
There are actually many problems with docstrings of both onkey() and
onkeypress().
Both:
- Turtle instance named turtle isn't used in the example
- The repl/doctest syntax is weird
onkeypress only:
- key-press event vs. key-press-event
-
New submission from Aleksey shits...@gmail.com:
Hi Guys,
Since 31 august 2011 in Russian Federation always DST time.
http://worldtimezone.net/dst_news/dst_news_russia36.html
But
time.tzname
('MSK', 'MSK')
time.localtime().tm_isdst
0
time.timezone
-10800
time.altzone
-14400
i think tm_isdst
Petri Lehtinen pe...@digip.org added the comment:
The problems with onkey() are also there in 2.7. onkeypress() is new in 3.x.
--
keywords: +easy
stage: - needs patch
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Extension Modules
nosy: +belopolsky, lemburg
stage: - test needed
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13466
A.M. Kuchling li...@amk.ca added the comment:
Here's a patch against the 3.3 trunk.
--
Added file: http://bugs.python.org/file23765/functional-patch.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13443
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
On my Ubuntu machine, I get:
$ zdump -v Europe/Moscow | grep 201[0-9]
Europe/Moscow Sat Mar 27 22:59:59 2010 UTC = Sun Mar 28 01:59:59 2010 MSK
isdst=0 gmtoff=10800
Europe/Moscow Sat Mar 27 23:00:00 2010 UTC = Sun Mar 28 03:00:00
Marc-Andre Lemburg m...@egenix.com added the comment:
Amaury Forgeot d'Arc wrote:
The error comes from the way Python computes timezone and daylight: it
queries the tm_gmtoff of two timestamps, one close to the first of January,
the other close to the first of July. But last January the
Jesús Cea Avión j...@jcea.es added the comment:
This project continues in issue #13405.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4111
___
Nick Coghlan ncogh...@gmail.com added the comment:
Hmm, interesting mailing list post - I hadn't thought about how the
auto-initialisation of sys.path[0] aligns with the Windows vs Unix difference
in PATH handling (i.e. whether or not the current directory is considered to be
on PATH), with
Changes by anatoly techtonik techto...@gmail.com:
--
nosy: +techtonik
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
___
___
Python-bugs-list
Ezio Melotti ezio.melo...@gmail.com added the comment:
I think the reason these docs are scattered is that the devguide is a
guide, not a reference manual. I don't think this patch makes sense: if
the tracker really needed so much text to explain how it works, then
the tracker would have
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
A fairly correct way is to query the time zone database at time module
import time by using the DST and GMT offset of that time.
But that does not give the *other* timezone :-(
IMO time.timezone and time.daylight should be
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Another way to fix the issue is to wait 40 days. There won't be any release
in-between anyway!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13466
Changes by Antoine Pitrou pit...@free.fr:
Added file: http://bugs.python.org/file23766/942ba1e2f8c1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13448
___
Antoine Pitrou pit...@free.fr added the comment:
New patch addressing Benjamin's and Victor's comments.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13448
___
sbt shibt...@gmail.com added the comment:
It seems to me that ERROR_OPERATION_ABORTED is a true error, and so
should raise an exception.
I guess so, although we do expect it whenever poll() times out. What exception
would be appropriate? BlockingIOError? TimeoutError?
--
Antoine Pitrou pit...@free.fr added the comment:
This is true, however different people can figure out a different
amount of things just by using and experiment with something. While
most of the tasks should be obvious, some are a bit more advanced, and
even the obvious once might not be
STINNER Victor victor.stin...@haypocalc.com added the comment:
Ah, PyFunction_NewWithQualName is now public.
Why an upper P in PyFunction_NewWithQualName? If you use an upper P, it
should use an underscore in Python: __qual_name__ to be consistent. So I
suggest to change the C name :-)
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
title: del os.environ - del os.environ[key] ignores errors
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13415
___
Antoine Pitrou pit...@free.fr added the comment:
Why an upper P in PyFunction_NewWithQualName? If you use an upper P,
it should use an underscore in Python: __qual_name__ to be consistent.
__getattr__ / PyObject_GetAttr.
--
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
It seems to me that ERROR_OPERATION_ABORTED is a true error, and so
should raise an exception.
I guess so, although we do expect it whenever poll() times out. What
exception would be appropriate? BlockingIOError? TimeoutError?
I would
Antoine Pitrou pit...@free.fr added the comment:
Uh, rather -1 on this. I would suggest Jython gets its own devguide (which can
of course copy stuff from CPython's), since Jython and CPython are distinct
projects. No need to confuse readers by mixing instructions for two different
projects in
Ezio Melotti ezio.melo...@gmail.com added the comment:
Well, it does hurt, because the more sentences you write, the more the
devguide becomes bloated and difficult to follow
OTOH is easy to ignore an how to register to the tracker section if you are
already registered or if you don't need
Felix Steffenhagen fe...@sutus.com added the comment:
The problem I have with the solution that is currently implemented is that
subprocess is waiting for the spawned child although the child is not running
anymore.
In my case this issue occured when invoking samba or the small sample daemon
New submission from INADA Naoki songofaca...@gmail.com:
http://docs.python.org/library/sysconfig.html#sysconfig.get_path
If scheme is provided, it must be a value from the list returned by
get_path_names().
s/get_path_names/get_scheme_names/
--
assignee: docs@python
components:
Babak M babak...@gmail.com added the comment:
There's a working implementation of this in PloneMailList.
http://svn.plone.org/svn/collective/mxmImapClient/trunk/imapUTF7.py
--
nosy: +BabakM
___
Python tracker rep...@bugs.python.org
Nick Coghlan ncogh...@gmail.com added the comment:
Hosting docs.python.org/devguide/jython doesn't seem like an unreasonable
idea at all to me, and what's the benefit to CPython in making the Jython team
go to the effort of building out independent deployment and source control
infrastructure
New submission from Tom Dignan t...@adeptdev.com:
On my system, the magic number to make this segfault seems to be 26200:
tom@tralfamadore ~/Downloads $ python recur1.py 26199
160164968
tom@tralfamadore ~/Downloads $ python recur1.py 26200
Segmentation fault
Here's the source:
Nick Coghlan ncogh...@gmail.com added the comment:
Meador's suggested name change has grown on me, so I plan to switch the name of
the new API to get_instructions() and the new class to Instruction.
--
assignee: rhettinger - ncoghlan
___
Python
Eli Bendersky eli...@gmail.com added the comment:
Andrew, thanks, but I still think it's a bigger problem that the page discusses
a module which is not available on Python 3.x - this means that a user
following the page can't just type in the code and make it run.
The links can be fixed and
Benjamin Peterson benja...@python.org added the comment:
Of course; that's what the recursion limit protects against.
--
nosy: +benjamin.peterson
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Jussi Eronen e...@iki.fi:
When specifying a time period of several weeks, say when w0 and interval 4, the
rollover still happens weekly instead of every 4 weeks. The log file names are
as though the rollover happens every 4 weeks, which furthers the confusion.
In the file
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13469
___
___
Python-bugs-list
New submission from Florent Xicluna florent.xicl...@gmail.com:
http://docs.python.org/library/sys.html#sys.setrecursionlimit
http://docs.python.org/dev/library/sys.html#sys.setrecursionlimit
Doc for Python 2.7 says:
A user may need to set the limit higher when she has ...
Doc for Python 3.3
Petri Lehtinen pe...@digip.org added the comment:
Just a thought: Would this change be worthy for the What's new in 3.3 list?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12170
___
76 matches
Mail list logo