Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-defaults
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
python-defaults
Commits
6aa6a7e5
Commit
6aa6a7e5
authored
14 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
pycompile: do not hang if interpreters are not started in the same order as they're used
closes LP: #613675
parent
9142513d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+7
-0
7 additions, 0 deletions
debian/changelog
pycompile
+2
-1
2 additions, 1 deletion
pycompile
with
9 additions
and
1 deletion
debian/changelog
+
7
−
0
View file @
6aa6a7e5
python-defaults (2.6.5-12) unstable; urgency=low
* pycompile: do not hang if interpreters are not started in the same order
as they're used (LP: #613675)
-- Piotr Ożarowski <piotr@debian.org> Thu, 05 Aug 2010 19:15:52 -0400
python-defaults (2.6.5-11) unstable; urgency=medium
* Add README.PyDist to python-doc package
...
...
This diff is collapsed.
Click to expand it.
pycompile
+
2
−
1
View file @
6aa6a7e5
...
...
@@ -168,7 +168,8 @@ def py_compile(version, workers):
if
not
isinstance
(
version
,
basestring
):
version
=
vrepr
(
version
)
cmd
=
"
python%s -m py_compile -
"
%
version
process
=
Popen
(
cmd
,
bufsize
=
1
,
shell
=
True
,
stdin
=
PIPE
)
process
=
Popen
(
cmd
,
bufsize
=
1
,
shell
=
True
,
stdin
=
PIPE
,
close_fds
=
True
)
workers
[
version
]
=
process
# keep the reference for .communicate()
stdin
=
process
.
stdin
while
True
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment